POST api/InteropExt/token

Request Information

URI Parameters

None.

Body Parameters

InteropTokenRequest
NameDescriptionTypeAdditional information
DeviceId

string

None.

ClientSecret

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "ClientSecret": "sample string 2"
}

application/xml, text/xml

Sample:
<InteropTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Models.Interop">
  <ClientSecret>sample string 2</ClientSecret>
  <DeviceId>sample string 1</DeviceId>
</InteropTokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
userName

string

None.

access_token

string

None.

refresh_token

string

None.

token_type

string

None.

expires_in

integer

None.

.issued

date

None.

.expires

date

None.

as:client_id

string

None.

Response Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "access_token": "sample string 2",
  "refresh_token": "sample string 3",
  "token_type": "sample string 4",
  "expires_in": 5,
  ".issued": "2026-05-24T18:04:08.4456828+02:00",
  ".expires": "2026-05-24T18:04:08.4456828+02:00",
  "as:client_id": "sample string 8"
}

application/xml, text/xml

Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Models.Interop">
  <AccessToken>sample string 2</AccessToken>
  <AsClient>sample string 8</AsClient>
  <ExpiresIn>5</ExpiresIn>
  <ExpiresUtc>2026-05-24T18:04:08.4456828+02:00</ExpiresUtc>
  <IssuedUtc>2026-05-24T18:04:08.4456828+02:00</IssuedUtc>
  <RefreshToken>sample string 3</RefreshToken>
  <TokenType>sample string 4</TokenType>
  <Username>sample string 1</Username>
</TokenResponse>