JiwaAPI

<back to all web services

DeliveryHolidayPUTRequest

Requires Authentication
The following routes are available for this service:
PUT/Delivery/Depots/{IN_PhysicalID}/Holidays/{HolidayDate}Adds or renames a delivery holiday of a depot.
DeliveryHolidayPUTRequest Parameters:
NameParameterData TypeRequiredDescription
IN_PhysicalIDpathstringNo
HolidayDatepathstringNo
NamebodystringNo
DeliveryWriteResponse Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /Delivery/Depots/{IN_PhysicalID}/Holidays/{HolidayDate} HTTP/1.1 
Host: api.redpoint.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"IN_PhysicalID":"String","HolidayDate":"String","Name":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ID":"String"}