GET api/Token/GetTokenFromDB?platform={platform}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
platform | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TokenStoreName | Description | Type | Additional information |
---|---|---|---|
HostAddress | string |
None. |
|
TokenHostAddress | string |
None. |
|
TokenEndPoint | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
TokenExpiration | date |
None. |
|
Token | string |
None. |
|
Platform | string |
None. |
|
TokenType | string |
None. |
|
RefreshToken | boolean |
None. |
|
ClientId | string |
None. |
|
ClientSecret | string |
None. |
|
WebApiVersion | string |
None. |
|
Audience | string |
None. |
|
PartitionKey | string |
None. |
|
RowKey | string |
None. |
|
Timestamp | date |
None. |
|
ETag | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "HostAddress": "sample string 1", "TokenHostAddress": "sample string 2", "TokenEndPoint": "sample string 3", "UserName": "sample string 4", "Password": "sample string 5", "TokenExpiration": "2025-04-04T00:25:29.3532247-05:00", "Token": "sample string 7", "Platform": "sample string 8", "TokenType": "sample string 9", "RefreshToken": true, "ClientId": "sample string 11", "ClientSecret": "sample string 12", "WebApiVersion": "sample string 13", "Audience": "sample string 14", "PartitionKey": "sample string 15", "RowKey": "sample string 16", "Timestamp": "2025-04-04T00:25:29.3532247-05:00", "ETag": "sample string 18" }
application/xml, text/xml
Sample:
<TokenStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NRT.MlsSystem.Domain.Model.Entities"> <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 18</ETag> <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 15</PartitionKey> <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</RowKey> <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table"> <d2p1:DateTime>2025-04-04T05:25:29.3532247Z</d2p1:DateTime> <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes> </Timestamp> <Audience>sample string 14</Audience> <ClientId>sample string 11</ClientId> <ClientSecret>sample string 12</ClientSecret> <HostAddress>sample string 1</HostAddress> <Password>sample string 5</Password> <Platform>sample string 8</Platform> <RefreshToken>true</RefreshToken> <Token>sample string 7</Token> <TokenEndPoint>sample string 3</TokenEndPoint> <TokenExpiration>2025-04-04T00:25:29.3532247-05:00</TokenExpiration> <TokenHostAddress>sample string 2</TokenHostAddress> <TokenType>sample string 9</TokenType> <UserName>sample string 4</UserName> <WebApiVersion>sample string 13</WebApiVersion> </TokenStore>