GET api/token
Gets token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TokenModelName | Description | Type | Additional information |
---|---|---|---|
Token |
Given token |
globally unique identifier |
None. |
PersistenceInSeconds |
Token will be invalid after the given number of seconds |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Token": "033bc790-e855-43b9-9709-2768048da499", "PersistenceInSeconds": 2 }
application/xml, text/xml
Sample:
<TokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bosman.Connect10.Models"> <PersistenceInSeconds>2</PersistenceInSeconds> <Token>033bc790-e855-43b9-9709-2768048da499</Token> </TokenModel>