POST aep/APP_getAccessToken_SBO/v1

Request Information

URI Parameters

None.

Body Parameters

TokenRequestV2
NameDescriptionTypeAdditional information
id

string

None.

type

integer

None.

verCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "type": 2,
  "verCode": "sample string 3"
}

text/html

Sample:
{"id":"sample string 1","type":2,"verCode":"sample string 3"}

application/xml, text/xml

Sample:
<TokenRequestV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <id>sample string 1</id>
  <type>2</type>
  <verCode>sample string 3</verCode>
</TokenRequestV2>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TokenRequestV2'.

Response Information

Resource Description

TokenResponseV2
NameDescriptionTypeAdditional information
code

string

None.

description

string

None.

accessToken

string

None.

expireTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2",
  "accessToken": "sample string 3",
  "expireTime": "sample string 4"
}

text/html

Sample:
{"code":"sample string 1","description":"sample string 2","accessToken":"sample string 3","expireTime":"sample string 4"}

application/xml, text/xml

Sample:
<TokenResponseV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <accessToken>sample string 3</accessToken>
  <code>sample string 1</code>
  <description>sample string 2</description>
  <expireTime>sample string 4</expireTime>
</TokenResponseV2>