PUT Booking/ModifyBusinessHours
Modifies an existing BusinessHours.
Request Information
URI Parameters
None.
Body Parameters
BusinessHoursBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name |
For human identification purposes |
string |
None. |
| Description | string |
None. |
|
| OutOfOffice |
This is an exception. For instance, sundays or saturdays from 15:00 to 20:00 |
boolean |
None. |
| DayOfWeek |
Day of week this period refers to. If null, all days. For instance, each day from 15:00 to 20:00 0-indexed. Monday 0, Sunday 6 |
integer |
Range: inclusive between 0 and 6 |
| Start | time interval |
None. |
|
| End | time interval |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"OutOfOffice": true,
"DayOfWeek": 1,
"Start": "00:00:00.1234567",
"End": "00:00:00.1234567",
"Lang": "sample string 7",
"StoreID": 8
}
application/xml, text/xml
Sample:
<BusinessHoursBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Booking"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 7</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">8</StoreID> <DayOfWeek>1</DayOfWeek> <Description>sample string 3</Description> <End>PT0.1234567S</End> <Name>sample string 2</Name> <OutOfOffice>true</OutOfOffice> <Start>PT0.1234567S</Start> <ID>1</ID> </BusinessHoursBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>