POST Car/AddCarDeliveryTime
Request Information
URI Parameters
None.
Body Parameters
DeliveryTimeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| car_id | integer |
None. |
|
| delivery_type | string |
None. |
|
| start_time | string |
None. |
|
| end_time | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"car_id": 1,
"delivery_type": "sample string 2",
"start_time": "sample string 3",
"end_time": "sample string 4"
}
application/xml, text/xml
Sample:
<DeliveryTimeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <car_id>1</car_id> <delivery_type>sample string 2</delivery_type> <end_time>sample string 4</end_time> <start_time>sample string 3</start_time> </DeliveryTimeRequest>
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>