POST api/customer/trip/{tripid}/driver
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tripid | integer |
Required |
Body Parameters
DriverInput| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverId": 1
}
application/xml, text/xml
Sample:
<TripController.DriverInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers"> <DriverId>1</DriverId> </TripController.DriverInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />