GET api/Authorization/{uid}/{psw}/{appid}/{locdata}
Used to provide the unique security token GUID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| uid |
The users ID |
string |
Required |
| psw |
The users password |
string |
Required |
| appid |
Application ID user is requesting permission to access |
string |
Required |
| locdata |
The geolocation of the user |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorMessage |
Contains the authorization error message |
string |
None. |
| AuthorizationGUID |
The authorization GUID for this user session |
string |
None. |
| FirstName |
The first name of the user |
string |
None. |
| LastName |
The last name of the user |
string |
None. |
| TimezoneID |
The user timezone |
string |
None. |
| WeightUOM |
The users default weight unit of measure (LB,KG) |
string |
None. |
| SizeUOM |
The users default size unit of measure (IN,CM) |
string |
None. |
| CourierType |
If courier user, the type of courier |
string |
None. |
| RequireChangePassword |
Is user required to change password? |
string |
None. |
| Roles |
Comma separated list of roles valid for this user/applicatoin |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMessage": "sample string 1",
"AuthorizationGUID": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"TimezoneID": "sample string 5",
"WeightUOM": "sample string 6",
"SizeUOM": "sample string 7",
"CourierType": "sample string 8",
"RequireChangePassword": "sample string 9",
"Roles": "sample string 10"
}
application/xml, text/xml
Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models"> <AuthorizationGUID>sample string 2</AuthorizationGUID> <CourierType>sample string 8</CourierType> <ErrorMessage>sample string 1</ErrorMessage> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <RequireChangePassword>sample string 9</RequireChangePassword> <Roles>sample string 10</Roles> <SizeUOM>sample string 7</SizeUOM> <TimezoneID>sample string 5</TimezoneID> <WeightUOM>sample string 6</WeightUOM> </UserProfile>