GET api/GetProfileDetails?UserID={UserID}&StaffID={StaffID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
|
| StaffID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Staff| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| StaffCode | string |
None. |
|
| Name | string |
None. |
|
| DesignationID | integer |
None. |
|
| DesignationName | string |
None. |
|
| Telephone | string |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| PhotoUrl | string |
None. |
|
| DefaultVehicle | string |
None. |
|
| DefaultVehicleID | integer |
None. |
|
| DisplayName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StaffID": 1,
"CompanyID": 2,
"StaffCode": "sample string 4",
"Name": "sample string 5",
"DesignationID": 7,
"DesignationName": "sample string 8",
"Telephone": "sample string 9",
"Mobile": "sample string 10",
"Email": "sample string 11",
"PhotoUrl": "sample string 27",
"DefaultVehicle": "sample string 33",
"DefaultVehicleID": 34,
"DisplayName": "sample string 35"
}
application/xml, text/xml
Sample:
<Staff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEXABIT.TMS.BO"> <CompanyID>2</CompanyID> <DefaultVehicle>sample string 33</DefaultVehicle> <DefaultVehicleID>34</DefaultVehicleID> <DesignationID>7</DesignationID> <DesignationName>sample string 8</DesignationName> <DisplayName>sample string 35</DisplayName> <Email>sample string 11</Email> <Mobile>sample string 10</Mobile> <Name>sample string 5</Name> <PhotoUrl>sample string 27</PhotoUrl> <StaffCode>sample string 4</StaffCode> <StaffID>1</StaffID> <Telephone>sample string 9</Telephone> </Staff>