POST Booking/ABusinessHours

BusinessHours where a BusinessHours

Request Information

URI Parameters

None.

Body Parameters

GetBusinessHoursRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Lang": "sample string 2",
  "StoreID": 3
}

application/xml, text/xml

Sample:
<GetBusinessHoursRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Booking">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID>
  <ID>1</ID>
</GetBusinessHoursRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BusinessHours
NameDescriptionTypeAdditional information
ID

integer

None.

Created

date

None.

Modified

date

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

integer

None.

Start

time interval

None.

End

time interval

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Created": "2025-12-06T05:41:50.0604366+01:00",
  "Modified": "2025-12-06T05:41:50.0604366+01:00",
  "Name": "sample string 4",
  "Description": "sample string 5",
  "OutOfOffice": true,
  "DayOfWeek": 1,
  "Start": "00:00:00.1234567",
  "End": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<BusinessHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Booking">
  <Created>2025-12-06T05:41:50.0604366+01:00</Created>
  <DayOfWeek>1</DayOfWeek>
  <Description>sample string 5</Description>
  <End>PT0.1234567S</End>
  <ID>1</ID>
  <Modified>2025-12-06T05:41:50.0604366+01:00</Modified>
  <Name>sample string 4</Name>
  <OutOfOffice>true</OutOfOffice>
  <Start>PT0.1234567S</Start>
</BusinessHours>