-
Notifications
You must be signed in to change notification settings - Fork 38
Members: New
michael-e edited this page May 6, 2011
·
6 revisions
Example Error XML:
<save-member result="error">
<filter name="permission" status="passed" />
<message>Entry encountered errors when saving.</message>
<username label="USERNAME" type="missing" message="USERNAME is a required field." />
<username label="USERNAME" type="invalid" message="USERNAME is already taken." />
<password label="PASSWORD" type="missing" message="PASSWORD is a required field." />
<password label="PASSWORD" type="invalid" message="PASSWORD is too short. It must be at least CONFIGURED characters." />
<password label="PASSWORD" type="invalid" message="PASSWORD is not strong enough." />
<email label="EMAIL" type="missing" message="EMAIL is a required field." />
<email label="EMAIL" type="invalid" message="EMAIL contains invalid characters." />
<post-values>
<username>Hello</username>
</post-values>
</save-member>
Example Success XML:
<save-member id="8169" result="success" type="created">
<filter name="permission" status="passed" />
<filter name="etm-members-register" status="passed">Email sent successfully</filter>
<message>Entry created successfully.</message>
<post-values>
<username>Hello</username>
<password>
<password>HelloPassword</password>
<confirm>HelloPassword</confirm>
</password>
<email>[email protected]</email>
</post-values>
</save-member>