GET api/Driver/GetChefDeliveryDrivers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_DelivaryDriver
NameDescriptionTypeAdditional information
FirstName

string

Required

String length: inclusive between 2 and 45

LastName

string

Required

String length: inclusive between 2 and 60

Email

string

Required

PhoneNumber

string

Required

DriverID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "driverID": 1,
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "phoneNumber": "sample string 4"
  },
  {
    "driverID": 1,
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "phoneNumber": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_DelivaryDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_DelivaryDriver>
    <Email>sample string 3</Email>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneNumber>sample string 4</PhoneNumber>
    <DriverID>1</DriverID>
  </R_DelivaryDriver>
  <R_DelivaryDriver>
    <Email>sample string 3</Email>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneNumber>sample string 4</PhoneNumber>
    <DriverID>1</DriverID>
  </R_DelivaryDriver>
</ArrayOfR_DelivaryDriver>

multipart/form-data

Sample:
<ArrayOfR_DelivaryDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_DelivaryDriver><Email>sample string 3</Email><FirstName>sample string 1</FirstName><LastName>sample string 2</LastName><PhoneNumber>sample string 4</PhoneNumber><DriverID>1</DriverID></R_DelivaryDriver><R_DelivaryDriver><Email>sample string 3</Email><FirstName>sample string 1</FirstName><LastName>sample string 2</LastName><PhoneNumber>sample string 4</PhoneNumber><DriverID>1</DriverID></R_DelivaryDriver></ArrayOfR_DelivaryDriver>