CreateClientUsernamePasswordRequest
Permission:CreateClientUsernamePasswordRequest
Exception |
Severity |
Code |
Condition |
ArgumentMissing |
Critical |
10010001 |
A required request input has not been specified. |
IdentifierDoesNotExist |
Critical |
10010002 |
Specified identifier does not exist. |
PasswordRequirementsNotMet |
Critical |
10020004 |
New password did not meet the password requirements. |
UserAlreadyExists |
Critical |
10020006 |
Username already exists in the records. |
UserExistsInClient |
Critical |
10020010 |
User already exists within that client. |
The following is an XML example of the CreateClientUsernamePasswordRequest sent to the
Authentication.Create method.
<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns:Create xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:CreateClientUsernamePasswordRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Authentication">
<a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:PersonId>1</b:PersonId>
</a:Person>
<a:Client i:type="b:ClientIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:ClientId>1234</b:ClientId>
</a:Client>
<a:NewUsername>MyUsername</a:NewUsername>
<a:NewPassword>MyPassword</a:NewPassword>
</ns:request>
</ns:Create>
</soapenv:Body>
</soapenv:Envelope>