POST Booking/ShippingSlots
Get all the Slots for a period range
Request Information
URI Parameters
None.
Body Parameters
SlotsRequestName | Description | Type | Additional 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-04-01T06:26:00.8149572+02:00", "End": "2024-04-01T06:26:00.8149572+02:00", "OrderID": 4, "Token": "f534ecbe-4f9b-4540-8de7-fa18ad7846d0", "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">f534ecbe-4f9b-4540-8de7-fa18ad7846d0</Token> <End>2024-04-01T06:26:00.8149572+02:00</End> <OrderShippingID>1</OrderShippingID> <Start>2024-04-01T06:26:00.8149572+02:00</Start> </SlotsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SlotName | Description | Type | Additional 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-04-01T06:26:00.8149572+02:00", "End": "2024-04-01T06:26:00.8149572+02:00", "Capacity": 4, "Count": 5 }, { "ID": 1, "Start": "2024-04-01T06:26:00.8149572+02:00", "End": "2024-04-01T06:26:00.8149572+02: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-04-01T06:26:00.8149572+02:00</End> <ID>1</ID> <Start>2024-04-01T06:26:00.8149572+02:00</Start> </Slot> <Slot> <Capacity>4</Capacity> <Count>5</Count> <End>2024-04-01T06:26:00.8149572+02:00</End> <ID>1</ID> <Start>2024-04-01T06:26:00.8149572+02:00</Start> </Slot> </ArrayOfSlot>