GET token4Peertime?peertimeUserToken={peertimeUserToken}
Get a P1 token by a Peertime token
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
peertimeUserToken | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Get a P1 token by a Peertime token
TokenModelName | Description | Type | Additional information |
---|---|---|---|
access_token | string |
None. |
|
userId | integer |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
DTTSessionId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "access_token": "sample string 1", "userId": 2, "firstName": "sample string 3", "lastName": "sample string 4", "DTTSessionId": 5 }
application/xml, text/xml
Sample:
<TokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DevTrackApi.Controllers"> <DTTSessionId>5</DTTSessionId> <access_token>sample string 1</access_token> <firstName>sample string 3</firstName> <lastName>sample string 4</lastName> <userId>2</userId> </TokenModel>