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": "3ed585e6-3d02-4308-bca2-3b15a1d3a1be",
"LastClientBusinessUnitId": "a261c28b-7dda-49b1-9b88-8eb0a1289483",
"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>3ed585e6-3d02-4308-bca2-3b15a1d3a1be</Id> <LastClientBusinessUnitId>a261c28b-7dda-49b1-9b88-8eb0a1289483</LastClientBusinessUnitId> <LastClientBusinessUnitName>sample string 3</LastClientBusinessUnitName> <UserName>sample string 2</UserName> </AuthTokenModel>