Previous Topic: Adding User AccountsNext Topic: Fetching All Accounts of a User


Updating User Accounts

You must use the updateUserAccount operation to update the existing accounts of users. This section walks you through the steps for updating the user accounts.

Preparing the Request Message

The updateUserAccountRequest message elements are the same as those for addUserAccountRequest. See the first table in Adding User Accounts for more information.

Invoking the Web Service

To update user accounts:

  1. (Optional) Include the authentication and authorization details in the header of the updateUserAccount operation. See "Managing Web Services Security" for more information on the header elements.
  2. Use the updateUserAccountRequest elements to collect the user account details, as listed in Adding User Accounts.
  3. Use the updateUserAccountRequest message and construct the input message by using the details specified in the preceding step.
  4. Invoke the updateUserAccount operation of the ArcorUserRegistrySvc 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, "Exceptions and Error Codes" for more information on the SOAP error messages.

Element

Description

udsTransactionID

The unique identifier of the transaction performed by using UDS.

authToken

The authentication token that is returned if the credential verification to access the Web service was successful. This token eliminates the need for you to present the authentication credential for successive access to the Web service.

By default, the authentication token is valid for one day, after which you need to authenticate again.