GET api/Device/GetLongLivedTokens

Documentation for 'GetLongLivedTokens'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "long_lived_tokends": [
    {
      "origin": "sample string 1",
      "access_token": "sample string 2",
      "token_type": "sample string 3",
      "expires_in": 4
    },
    {
      "origin": "sample string 1",
      "access_token": "sample string 2",
      "token_type": "sample string 3",
      "expires_in": 4
    },
    {
      "origin": "sample string 1",
      "access_token": "sample string 2",
      "token_type": "sample string 3",
      "expires_in": 4
    }
  ],
  "is_success": true,
  "error_message": "sample string 2",
  "exception_name": "sample string 3",
  "error_code": 4
}

application/xml, text/xml

Sample:
<GetLongLivedTokensResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContentApi.Client.Rest.Device.Entities">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">4</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 2</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 3</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <long_lived_tokends>
    <LongLivedToken>
      <access_token>sample string 2</access_token>
      <expires_in>4</expires_in>
      <origin>sample string 1</origin>
      <token_type>sample string 3</token_type>
    </LongLivedToken>
    <LongLivedToken>
      <access_token>sample string 2</access_token>
      <expires_in>4</expires_in>
      <origin>sample string 1</origin>
      <token_type>sample string 3</token_type>
    </LongLivedToken>
    <LongLivedToken>
      <access_token>sample string 2</access_token>
      <expires_in>4</expires_in>
      <origin>sample string 1</origin>
      <token_type>sample string 3</token_type>
    </LongLivedToken>
  </long_lived_tokends>
</GetLongLivedTokensResponse>