GET ShipmentTimeSlot/GetTimeslots?cityName={cityName}&streetName={streetName}&streetNo={streetNo}&supplierId={supplierId}&earliestDelivery={earliestDelivery}&dueDateDays={dueDateDays}&consumerID={consumerID}&numOfButtles={numOfButtles}&isIFrame={isIFrame}
Get timeslots for address
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cityName |
must be valid city name |
string |
Required |
| streetName |
must be valid street name |
string |
Required |
| streetNo |
the no on the street AKA House No. |
string |
Required |
| supplierId |
Optional parameter. by default it is empty. Pass it only if you must. |
string |
Default value is |
| earliestDelivery | date |
None. |
|
| dueDateDays | integer |
Default value is 10 |
|
| consumerID | integer |
Default value is 0 |
|
| numOfButtles | integer |
Default value is 10 |
|
| isIFrame | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of TimeSlotObject| Name | Description | Type | Additional information |
|---|---|---|---|
| TimeSlotsContractorCapacityID | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| DayNo | integer |
None. |
|
| ExternalContractorID | integer |
None. |
|
| DistrictID | string |
None. |
|
| CityID | string |
None. |
|
| TimeSlotID | integer |
None. |
|
| SetTimeSlotSuccess | boolean |
None. |
|
| CollectionDate | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TimeSlotsContractorCapacityID": 1,
"StartTime": "2025-12-20T01:17:32.2734818+02:00",
"EndTime": "2025-12-20T01:17:32.2734818+02:00",
"DayNo": 4,
"ExternalContractorID": 1,
"DistrictID": "sample string 5",
"CityID": "sample string 6",
"TimeSlotID": 1,
"SetTimeSlotSuccess": true,
"CollectionDate": "sample string 8"
},
{
"TimeSlotsContractorCapacityID": 1,
"StartTime": "2025-12-20T01:17:32.2734818+02:00",
"EndTime": "2025-12-20T01:17:32.2734818+02:00",
"DayNo": 4,
"ExternalContractorID": 1,
"DistrictID": "sample string 5",
"CityID": "sample string 6",
"TimeSlotID": 1,
"SetTimeSlotSuccess": true,
"CollectionDate": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfTimeSlotObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPIBL.Handlers.TimeSlots.Models">
<TimeSlotObject>
<CityID>sample string 6</CityID>
<CollectionDate>sample string 8</CollectionDate>
<DayNo>4</DayNo>
<DistrictID>sample string 5</DistrictID>
<EndTime>2025-12-20T01:17:32.2734818+02:00</EndTime>
<ExternalContractorID>1</ExternalContractorID>
<SetTimeSlotSuccess>true</SetTimeSlotSuccess>
<StartTime>2025-12-20T01:17:32.2734818+02:00</StartTime>
<TimeSlotID>1</TimeSlotID>
<TimeSlotsContractorCapacityID>1</TimeSlotsContractorCapacityID>
</TimeSlotObject>
<TimeSlotObject>
<CityID>sample string 6</CityID>
<CollectionDate>sample string 8</CollectionDate>
<DayNo>4</DayNo>
<DistrictID>sample string 5</DistrictID>
<EndTime>2025-12-20T01:17:32.2734818+02:00</EndTime>
<ExternalContractorID>1</ExternalContractorID>
<SetTimeSlotSuccess>true</SetTimeSlotSuccess>
<StartTime>2025-12-20T01:17:32.2734818+02:00</StartTime>
<TimeSlotID>1</TimeSlotID>
<TimeSlotsContractorCapacityID>1</TimeSlotsContractorCapacityID>
</TimeSlotObject>
</ArrayOfTimeSlotObject>