POST ShipmentTimeSlot/SetTimeSlotSchedule

Request Information

URI Parameters

None.

Body Parameters

TimeSlotSchedule
NameDescriptionTypeAdditional information
TimeSlotsContractorCapacityID

integer

None.

StartTime

date

None.

EndTime

date

None.

ConsignmentID

string

None.

ConsumerID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TimeSlotsContractorCapacityID": 1,
  "StartTime": "2025-04-08T05:00:27.5230885+03:00",
  "EndTime": "2025-04-08T05:00:27.5230885+03:00",
  "ConsignmentID": "sample string 4",
  "ConsumerID": 5
}

application/xml, text/xml

Sample:
<TimeSlotSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPIBL.Handlers.TimeSlots.Models">
  <ConsignmentID>sample string 4</ConsignmentID>
  <ConsumerID>5</ConsumerID>
  <EndTime>2025-04-08T05:00:27.5230885+03:00</EndTime>
  <StartTime>2025-04-08T05:00:27.5230885+03:00</StartTime>
  <TimeSlotsContractorCapacityID>1</TimeSlotsContractorCapacityID>
</TimeSlotSchedule>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>