POST api/Login
Request Information
URI Parameters
None.
Body Parameters
LoginInputBO| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverCode | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverCode": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginInputBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tbs.webapi.Courier.Controllers"> <DriverCode>sample string 1</DriverCode> <Password>sample string 2</Password> </LoginInputBO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LoginResultBO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserType | string |
None. |
|
| EmpCode | string |
None. |
|
| EmpName | string |
None. |
|
| SecurityCode | string |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserType": "sample string 1",
"EmpCode": "sample string 2",
"EmpName": "sample string 3",
"SecurityCode": "sample string 4",
"Status": 5,
"Message": "sample string 6"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.LoginResultBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <Message>sample string 6</Message> <Status>5</Status> <EmpCode>sample string 2</EmpCode> <EmpName>sample string 3</EmpName> <SecurityCode>sample string 4</SecurityCode> <UserType>sample string 1</UserType> </APITrackingLibrary.LoginResultBO>