POST api/SlotSchedule/CancelYardReservations
Request Information
URI Parameters
None.
Body Parameters
CancelReservationsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| terminal_uid | integer |
None. |
|
| schedule_date | string |
None. |
|
| move_type | string |
None. |
|
| yard_name | string |
None. |
|
| to_time | string |
None. |
|
| from_time | string |
None. |
|
| apptslotschedule | Collection of ApptSlotScheduleViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"terminal_uid": 1,
"schedule_date": "sample string 2",
"move_type": "sample string 3",
"yard_name": "sample string 4",
"to_time": "sample string 5",
"from_time": "sample string 6",
"apptslotschedule": [
{
"apptslotschedule_id": 1,
"timeslot": "sample string 2",
"apptslotscheduledetails_ids": [
1,
2
]
},
{
"apptslotschedule_id": 1,
"timeslot": "sample string 2",
"apptslotscheduledetails_ids": [
1,
2
]
}
]
}
application/xml, text/xml
Sample:
<CancelReservationsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TerminalInterfaceAPI.ViewModels">
<ApptSlotScheduleInfo>
<ApptSlotScheduleViewModel>
<ApptSlotScheduleDetails_Id xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ApptSlotScheduleDetails_Id>
<ApptSlotSchedule_Id>1</ApptSlotSchedule_Id>
<Time_Slot>sample string 2</Time_Slot>
</ApptSlotScheduleViewModel>
<ApptSlotScheduleViewModel>
<ApptSlotScheduleDetails_Id xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ApptSlotScheduleDetails_Id>
<ApptSlotSchedule_Id>1</ApptSlotSchedule_Id>
<Time_Slot>sample string 2</Time_Slot>
</ApptSlotScheduleViewModel>
</ApptSlotScheduleInfo>
<From_Time>sample string 6</From_Time>
<MTO_Id>1</MTO_Id>
<Move_Type>sample string 3</Move_Type>
<Schedule_Date>sample string 2</Schedule_Date>
<TO_Time>sample string 5</TO_Time>
<Yard_Name>sample string 4</Yard_Name>
</CancelReservationsViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.