Updating User Accounts
Updating User Accounts
aa82test
2112878
You must use the updateUserAccount operation to update the existing accounts of the users. This section walks you through the following topics for updating the user accounts.
- Preparing the Request Message
- Invoking the Web Service
- Interpreting the Response Message
Preparing the Request Message
The updateUserAccountRequest message elements are same as those for addUserAccountRequest.
Invoking the Web Service
To update user accounts:
- (Optional) Include the authentication and authorization details in the header of the updateUserAccount operation. See the section, "Manage Web Services Security" for more information on the header elements.
- Use the updateUserAccountRequest elements to collect the user account details, as listed in Adding User Accounts.
- Use the updateUserAccountRequest message and construct the input message by using the details obtained in preceding step.
- Invoke the updateUserAccount operation of the ArcotUserRegistrySvc service to update accounts of the user.This operation returns the updateUserAccountResponse message that includes the transaction identifier, authentication token, and user account details. See the following section for more information on the response message.
Interpreting the Response Message
The response message, updateUserAccountResponse, returns the transaction identifier and the authentication token in the SOAP envelope header. These elements are explained in the following table. The SOAP body returns a success message if the operation was performed successfully. If there are any errors, then the Fault response is returned. See appendix, "Error Codes" for more information on the SOAP error messages.
Element | Description |
udsTransactionID | The unique identifier of the transaction that is performed using UDS. |
authToken | The authentication token that is returned if the credential verification to access Web services was successful. This token eliminates the need for you to present the authentication credential for successive access to the Web services. By default, the authentication token is valid for one day, after which you need to authenticate again. |