POST api/mobile/gettoken
Get Token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AuthTokenModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| LastClientBusinessUnitId | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| LastClientBusinessUnitName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "655518a0-fd43-4a9c-9261-cbb11024caa5",
"LastClientBusinessUnitId": "707a0642-426f-4167-a21f-42481ad39727",
"UserName": "sample string 2",
"LastClientBusinessUnitName": "sample string 3"
}
application/xml, text/xml
Sample:
<AuthTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.CPCNL.BLL.Models.ApiModels"> <Id>655518a0-fd43-4a9c-9261-cbb11024caa5</Id> <LastClientBusinessUnitId>707a0642-426f-4167-a21f-42481ad39727</LastClientBusinessUnitId> <LastClientBusinessUnitName>sample string 3</LastClientBusinessUnitName> <UserName>sample string 2</UserName> </AuthTokenModel>