POST api/Driver/DriverResponse

Request Information

URI Parameters

None.

Body Parameters

DriverResponse
NameDescriptionTypeAdditional information
BookingId

integer

None.

Response

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": 1,
  "Response": true
}

text/html

Sample:
{"BookingId":1,"Response":true}

application/xml, text/xml

Sample:
<DriverResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <BookingId>1</BookingId>
  <Response>true</Response>
</DriverResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MethodResult
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Id": 3
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","Id":3}

application/xml, text/xml

Sample:
<MethodResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <Id>3</Id>
  <Message>sample string 2</Message>
  <Status>true</Status>
</MethodResult>