POST api/customer/trip/{id}/flag/approved

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TripApprovedInputModel
NameDescriptionTypeAdditional information
Approved

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Approved": true
}

application/xml, text/xml

Sample:
<TripController.TripApprovedInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers">
  <Approved>true</Approved>
</TripController.TripApprovedInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

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/" />