POST api/v1/locations/{locationId}/token

This Api returns the TMS Snapshot token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

locationId

integer

Required

Body Parameters

tokenRequestInfo

TokenInfo
NameDescriptionTypeAdditional information
system

string

None.

scope

string

None.

type

string

None.

CustomInfo

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "system": "sample string 1",
  "scope": "sample string 2",
  "type": "sample string 3",
  "CustomInfo": {}
}

application/xml, text/xml

Sample:
<TokenInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2WebAPIController.Models.V1">
  <CustomInfo />
  <scope>sample string 2</scope>
  <system>sample string 1</system>
  <type>sample string 3</type>
</TokenInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.