API – PUT User

The PUT verb

PUT Request

You indicate this by setting the ContentType HTTP header as “application/json” or “application/xml”. If no ContentType is specified, XML format is assumed.

The required and optional parameters for a PUT to the Users API are outlined below.

Parameter Name

Data Type

Required

Description

SUser

SUser

Yes

The User that you wish to update. See the SUser type definition from the GET above.

PUT Response

The data returned from a SUser PUT is provided as follows:

SUser Response (<SUserResponse>)

Field Name

Data Type

Description

SUser

SUser

The User created.

ResponseStatus

ResponseStatus

Details of any errors that may have occurred

SUser (<SUser>) Response Fields

The SUser returned is only populated with the following fields:

Field Name

Data Type

Description

Id

GUID

Unique identifier of the new User

Status

String

Status of this User which will be set to Invited

API Usage Example

Given that the API is REST based, you can access the API directly via your web browser to test it. Obviously for actual integration works, you will need to make a web request to the given REST URL and then parse the response.

Below is a simple PUT example which updates an existing User, using XML format.