GET api/Taxi/GetTaxiDrivers?companyID={companyID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TaxiDriverName | Description | Type | Additional information |
---|---|---|---|
TaxiDriverID | integer |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
Unit | string |
None. |
|
Phone | string |
None. |
|
MobileAppUserID | string |
None. |
|
string |
None. |
||
CompanyID | integer |
None. |
|
Status | byte |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TaxiDriverID": 1, "FirstName": "sample string 2", "MiddleName": "sample string 3", "LastName": "sample string 4", "Unit": "sample string 5", "Phone": "sample string 6", "MobileAppUserID": "sample string 7", "Email": "sample string 8", "CompanyID": 9, "Status": 64 }, { "TaxiDriverID": 1, "FirstName": "sample string 2", "MiddleName": "sample string 3", "LastName": "sample string 4", "Unit": "sample string 5", "Phone": "sample string 6", "MobileAppUserID": "sample string 7", "Email": "sample string 8", "CompanyID": 9, "Status": 64 } ]
application/xml, text/xml
Sample:
<ArrayOfTaxiController.TaxiDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <TaxiController.TaxiDriver> <CompanyID>9</CompanyID> <Email>sample string 8</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 4</LastName> <MiddleName>sample string 3</MiddleName> <MobileAppUserID>sample string 7</MobileAppUserID> <Phone>sample string 6</Phone> <Status>64</Status> <TaxiDriverID>1</TaxiDriverID> <Unit>sample string 5</Unit> </TaxiController.TaxiDriver> <TaxiController.TaxiDriver> <CompanyID>9</CompanyID> <Email>sample string 8</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 4</LastName> <MiddleName>sample string 3</MiddleName> <MobileAppUserID>sample string 7</MobileAppUserID> <Phone>sample string 6</Phone> <Status>64</Status> <TaxiDriverID>1</TaxiDriverID> <Unit>sample string 5</Unit> </TaxiController.TaxiDriver> </ArrayOfTaxiController.TaxiDriver>