POST Caravan/CaravanDeliveryTimesEdit
Request Information
URI Parameters
None.
Body Parameters
Collection of CarDeliveryRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional 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>