PUT Booking/ModifyBookingConfiguration
Modifies an existing BookingConfiguration.
Request Information
URI Parameters
None.
Body Parameters
BookingConfigurationBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name |
For human identification purposes: e.g. delivery Booking Configuration, pickup Booking Configuration |
string |
None. |
| AdvancedTime |
The number of seconds in advance of the reservation start time that the booking needs to be made |
integer |
None. |
| SlotDuration |
The number of seconds of each slot. If 0, SlotDuration = whole BusinessHours TimePeriod |
integer |
None. |
| AutoSlotGeneration |
Automatically generate slots when needed. If false, slot generation must be triggered by an admin |
boolean |
None. |
| Capacity |
The maximum number of participants that can be accommodated during a time slot |
integer |
None. |
| ExpirationTime |
The number of seconds a reservation is kept till payment confirmation. If 0, no expiration. |
integer |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"AdvancedTime": 3,
"SlotDuration": 4,
"AutoSlotGeneration": true,
"Capacity": 6,
"ExpirationTime": 7,
"Lang": "sample string 8",
"StoreID": 9
}
application/xml, text/xml
Sample:
<BookingConfigurationBinding 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 8</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">9</StoreID> <AdvancedTime>3</AdvancedTime> <AutoSlotGeneration>true</AutoSlotGeneration> <Capacity>6</Capacity> <ExpirationTime>7</ExpirationTime> <Name>sample string 2</Name> <SlotDuration>4</SlotDuration> <ID>1</ID> </BookingConfigurationBinding>
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>