POST api/Register
Request Information
URI Parameters
None.
Body Parameters
RestRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailOauth | string |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| Source | string |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailOauth": "sample string 1",
"UserName": "sample string 2",
"Password": "sample string 3",
"Source": "sample string 4",
"UserId": "sample string 5"
}
application/xml, text/xml
Sample:
<RestRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngageCL.Engage"> <EmailOauth>sample string 1</EmailOauth> <Password>sample string 3</Password> <Source>sample string 4</Source> <UserId>sample string 5</UserId> <UserName>sample string 2</UserName> </RestRegistration>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| refresh_token | string |
None. |
|
| expires_in | integer |
None. |
|
| refresh_expires_in | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"refresh_token": "sample string 2",
"expires_in": 3,
"refresh_expires_in": 4,
"message": "sample string 5"
}
application/xml, text/xml
Sample:
<RestTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngageCL.Engage"> <access_token>sample string 1</access_token> <expires_in>3</expires_in> <message>sample string 5</message> <refresh_expires_in>4</refresh_expires_in> <refresh_token>sample string 2</refresh_token> </RestTokenResponse>