GET api/Public/GetUnitSupervisorsForCompany/{CompanyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Dispatcher| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
None. |
|
| UserName | string |
None. |
|
| TruckCount | integer |
None. |
|
| Initials | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UserID": "sample string 1",
"UserName": "sample string 2",
"TruckCount": 3,
"Initials": "sample string 4"
},
{
"UserID": "sample string 1",
"UserName": "sample string 2",
"TruckCount": 3,
"Initials": "sample string 4"
}
]
text/html
Sample:
[{"UserID":"sample string 1","UserName":"sample string 2","TruckCount":3,"Initials":"sample string 4"},{"UserID":"sample string 1","UserName":"sample string 2","TruckCount":3,"Initials":"sample string 4"}]
application/xml, text/xml
Sample:
<ArrayOfDispatcher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIObjectClasses.PublicModels">
<Dispatcher>
<Initials>sample string 4</Initials>
<TruckCount>3</TruckCount>
<UserID>sample string 1</UserID>
<UserName>sample string 2</UserName>
</Dispatcher>
<Dispatcher>
<Initials>sample string 4</Initials>
<TruckCount>3</TruckCount>
<UserID>sample string 1</UserID>
<UserName>sample string 2</UserName>
</Dispatcher>
</ArrayOfDispatcher>