POST api/Milton/SaveAlexaAuthTokens
Request Information
URI Parameters
None.
Body Parameters
AlexaSaveTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| alexa_auth_token | string |
None. |
|
| auth_token | string |
None. |
|
| refresh_token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"alexa_auth_token": "sample string 1",
"auth_token": "sample string 2",
"refresh_token": "sample string 3"
}
application/xml, text/xml
Sample:
<AlexaSaveTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hamilton.AlexaController.Controllers"> <AlexaAuthToken>sample string 1</AlexaAuthToken> <EventGatewayAuthToken>sample string 2</EventGatewayAuthToken> <EventGatewayRefreshToken>sample string 3</EventGatewayRefreshToken> </AlexaSaveTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AlexaSaveTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<AlexaSaveTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hamilton.AlexaController.Controllers"> <Message>sample string 2</Message> <Status>sample string 1</Status> </AlexaSaveTokenResponse>