POST api/GetAccessToken
Request Information
URI Parameters
None.
Body Parameters
SubscriberLogin| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<SubscriberLogin xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserName>sample string 1</UserName> <Password>sample string 2</Password> </SubscriberLogin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"TokenType": "sample string 2"
}
application/xml, text/xml
Sample:
<TokenResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AccessToken>sample string 1</AccessToken> <TokenType>sample string 2</TokenType> </TokenResponse>