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": "2c235f7a-9d34-4fb5-bfc9-6827a47df9a5",
"LastClientBusinessUnitId": "eebf0620-2c0a-452b-8f14-f3b521e9d4e3",
"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>2c235f7a-9d34-4fb5-bfc9-6827a47df9a5</Id> <LastClientBusinessUnitId>eebf0620-2c0a-452b-8f14-f3b521e9d4e3</LastClientBusinessUnitId> <LastClientBusinessUnitName>sample string 3</LastClientBusinessUnitName> <UserName>sample string 2</UserName> </AuthTokenModel>