POST api/UserAuth

Request Information

URI Parameters

None.

Body Parameters

RestUserAuth
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "Source": "sample string 3"
}

application/xml, text/xml

Sample:
<RestUserAuth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngageCL.Engage">
  <Password>sample string 2</Password>
  <Source>sample string 3</Source>
  <UserName>sample string 1</UserName>
</RestUserAuth>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestUserAuthResponse
NameDescriptionTypeAdditional information
UserName

string

None.

access_token

string

None.

status

string

None.

PortalUsersId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "access_token": "sample string 2",
  "status": "sample string 3",
  "PortalUsersId": "sample string 4"
}

application/xml, text/xml

Sample:
<RestUserAuthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngageCL.Engage">
  <PortalUsersId>sample string 4</PortalUsersId>
  <UserName>sample string 1</UserName>
  <access_token>sample string 2</access_token>
  <status>sample string 3</status>
</RestUserAuthResponse>