POST Booking/ShippingSlots

Get all the Slots for a period range

Request Information

URI Parameters

None.

Body Parameters

SlotsRequest
NameDescriptionTypeAdditional information
OrderShippingID

integer

None.

Start

date

None.

End

date

None.

OrderID

integer

None.

Token

globally unique identifier

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderShippingID": 1,
  "Start": "2024-11-12T18:50:25.2382814+01:00",
  "End": "2024-11-12T18:50:25.2382814+01:00",
  "OrderID": 4,
  "Token": "0bb9abbc-bb8c-4b02-bf86-21c6cfef3e8c",
  "Lang": "sample string 6",
  "StoreID": 7
}

application/xml, text/xml

Sample:
<SlotsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Booking">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 6</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">7</StoreID>
  <OrderID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">4</OrderID>
  <Token xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">0bb9abbc-bb8c-4b02-bf86-21c6cfef3e8c</Token>
  <End>2024-11-12T18:50:25.2382814+01:00</End>
  <OrderShippingID>1</OrderShippingID>
  <Start>2024-11-12T18:50:25.2382814+01:00</Start>
</SlotsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Slot
NameDescriptionTypeAdditional information
ID

integer

None.

Start

date

None.

End

date

None.

Capacity

integer

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Start": "2024-11-12T18:50:25.2539043+01:00",
    "End": "2024-11-12T18:50:25.2539043+01:00",
    "Capacity": 4,
    "Count": 5
  },
  {
    "ID": 1,
    "Start": "2024-11-12T18:50:25.2539043+01:00",
    "End": "2024-11-12T18:50:25.2539043+01:00",
    "Capacity": 4,
    "Count": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfSlot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Booking">
  <Slot>
    <Capacity>4</Capacity>
    <Count>5</Count>
    <End>2024-11-12T18:50:25.2539043+01:00</End>
    <ID>1</ID>
    <Start>2024-11-12T18:50:25.2539043+01:00</Start>
  </Slot>
  <Slot>
    <Capacity>4</Capacity>
    <Count>5</Count>
    <End>2024-11-12T18:50:25.2539043+01:00</End>
    <ID>1</ID>
    <Start>2024-11-12T18:50:25.2539043+01:00</Start>
  </Slot>
</ArrayOfSlot>