POST Caravan/CaravanDeliveryTimesEdit

Request Information

URI Parameters

None.

Body Parameters

Collection of CarDeliveryRequest
NameDescriptionTypeAdditional information
carID

integer

None.

deliveryTime

string

None.

start

string

None.

end

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "carID": 1,
    "deliveryTime": "sample string 2",
    "start": "sample string 3",
    "end": "sample string 4"
  },
  {
    "carID": 1,
    "deliveryTime": "sample string 2",
    "start": "sample string 3",
    "end": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCarDeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <CarDeliveryRequest>
    <carID>1</carID>
    <deliveryTime>sample string 2</deliveryTime>
    <end>sample string 4</end>
    <start>sample string 3</start>
  </CarDeliveryRequest>
  <CarDeliveryRequest>
    <carID>1</carID>
    <deliveryTime>sample string 2</deliveryTime>
    <end>sample string 4</end>
    <start>sample string 3</start>
  </CarDeliveryRequest>
</ArrayOfCarDeliveryRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject">
  <message>sample string 2</message>
  <success>true</success>
</AppSettings.GeneralResponse>