POST Booking/BusinessHours

BusinessHours where a BusinessHours

Request Information

URI Parameters

None.

Body Parameters

BaseRequest
NameDescriptionTypeAdditional information
Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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-06T09:15:27.252025+01:00",
    "Modified": "2025-12-06T09:15:27.252025+01:00",
    "Name": "sample string 4",
    "Description": "sample string 5",
    "OutOfOffice": true,
    "DayOfWeek": 1,
    "Start": "00:00:00.1234567",
    "End": "00:00:00.1234567"
  },
  {
    "ID": 1,
    "Created": "2025-12-06T09:15:27.252025+01:00",
    "Modified": "2025-12-06T09:15:27.252025+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:
<ArrayOfBusinessHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Booking">
  <BusinessHours>
    <Created>2025-12-06T09:15:27.252025+01:00</Created>
    <DayOfWeek>1</DayOfWeek>
    <Description>sample string 5</Description>
    <End>PT0.1234567S</End>
    <ID>1</ID>
    <Modified>2025-12-06T09:15:27.252025+01:00</Modified>
    <Name>sample string 4</Name>
    <OutOfOffice>true</OutOfOffice>
    <Start>PT0.1234567S</Start>
  </BusinessHours>
  <BusinessHours>
    <Created>2025-12-06T09:15:27.252025+01:00</Created>
    <DayOfWeek>1</DayOfWeek>
    <Description>sample string 5</Description>
    <End>PT0.1234567S</End>
    <ID>1</ID>
    <Modified>2025-12-06T09:15:27.252025+01:00</Modified>
    <Name>sample string 4</Name>
    <OutOfOffice>true</OutOfOffice>
    <Start>PT0.1234567S</Start>
  </BusinessHours>
</ArrayOfBusinessHours>