POST Boat/SaveDeliveryTime
Request Information
URI Parameters
None.
Body Parameters
Collection of DeliveryTimeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryType | string |
None. |
|
| AdvID | integer |
None. |
|
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"DeliveryType": "sample string 1",
"AdvID": 2,
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
},
{
"DeliveryType": "sample string 1",
"AdvID": 2,
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
}
]
application/xml, text/xml
Sample:
<ArrayOfBoatController.DeliveryTimeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
<BoatController.DeliveryTimeModel>
<AdvID>2</AdvID>
<DeliveryType>sample string 1</DeliveryType>
<EndTime>PT0.1234567S</EndTime>
<StartTime>PT0.1234567S</StartTime>
</BoatController.DeliveryTimeModel>
<BoatController.DeliveryTimeModel>
<AdvID>2</AdvID>
<DeliveryType>sample string 1</DeliveryType>
<EndTime>PT0.1234567S</EndTime>
<StartTime>PT0.1234567S</StartTime>
</BoatController.DeliveryTimeModel>
</ArrayOfBoatController.DeliveryTimeModel>
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>