GET api/token/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Token| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SiteId | integer |
None. |
|
| Key | string |
Data type: Text |
|
| Value | string |
Data type: Text |
|
| Active | boolean |
None. |
|
| Modified | date |
Data type: DateTime |
|
| StartDt | date |
Data type: DateTime |
|
| EndDt | date |
Data type: DateTime |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"SiteId": 2,
"Key": "sample string 3",
"Value": "sample string 4",
"Active": true,
"Modified": "2026-09-09T23:05:51.4066547+00:00",
"StartDt": "2026-09-09T23:05:51.4066547+00:00",
"EndDt": "2026-09-09T23:05:51.4066547+00:00"
}
application/xml, text/xml
Sample:
<Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIM.Model.Entities">
<Active>true</Active>
<EndDt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-09-09T23:05:51.4066547Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</EndDt>
<Id>1</Id>
<Key>sample string 3</Key>
<Modified>2026-09-09T23:05:51.4066547+00:00</Modified>
<SiteId>2</SiteId>
<StartDt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-09-09T23:05:51.4066547Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</StartDt>
<Value>sample string 4</Value>
</Token>