POST User/Update

Request Information

URI Parameters

None.

Body Parameters

UserExternalApiList
NameDescriptionTypeAdditional information
user

UserExternalApi

None.

Request Formats

application/json, text/json

Sample:
{
  "user": {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "emailID": "sample string 3",
    "appRole": "sample string 4",
    "isActive": "sample string 5",
    "swaID": "sample string 6",
    "returnCode": 7,
    "returnMessage": "sample string 8",
    "xUserId": "sample string 9",
    "countryCodes": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<UserExternalApiList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RTS.Accelerate.Model.ExternalApi">
  <user>
    <countryCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </countryCodes>
    <returnCode>7</returnCode>
    <returnMessage>sample string 8</returnMessage>
    <swaID>sample string 6</swaID>
    <xUserId>sample string 9</xUserId>
    <appRole>sample string 4</appRole>
    <emailID>sample string 3</emailID>
    <firstName>sample string 1</firstName>
    <isActive>sample string 5</isActive>
    <lastName>sample string 2</lastName>
  </user>
</UserExternalApiList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserResponseModel
NameDescriptionTypeAdditional information
userResponse

UserExternalApiResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "userResponse": {
    "swaID": "sample string 1",
    "returnCode": 2,
    "returnMessage": "sample string 3",
    "xUserId": "sample string 4",
    "countryCodes": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<UserResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RTS.Accelerate.Model.ExternalApi">
  <userResponse>
    <countryCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </countryCodes>
    <returnCode>2</returnCode>
    <returnMessage>sample string 3</returnMessage>
    <swaID>sample string 1</swaID>
    <xUserId>sample string 4</xUserId>
  </userResponse>
</UserResponseModel>