Pre-Gate//
- CancelAppointment - Cancels appointment moves or an entire visit
About - Information about message about this API
GetAppointments - Get list of appointments based on the provided search criteria
TruckVisitDetails - Get detailed appointment information for a specific truck visit
GetCompanyInfo - Get all company information for the authenticated user based on their affiliations
GetAvailableTimeSlots - Get available appointment time slots based on the provided visit and move details
GetBookingDetails - Get booking details for the specified booking numbers and optional terminal operator
CreateUpdateAppointment - Creates or updates appointments with a lighter payload designed for external APIM consumers
CancelAppointment - Cance...
Cancels either individual moves or the entire appointment (visit) depending on the provided input. Supports two ways of identifying what should be canceled:
- gateApptIdList: Cancel specific moves by Gate Appointment ID.
- truckVisitIdList: Cancel the entire visit by Truck Visit ID. Each entry requires an Id and either MTO_Id or MTO_Cd to identify the terminal.
- Mock serverhttps://developer.cargosprint.com/_mock/pregate/openapi/api/appointment/cancelappointment
- UAThttps://api-uat.cargosprint.com/pregate/gateway/api/appointment/cancelappointment
curl -i -X POST \
https://developer.cargosprint.com/_mock/pregate/openapi/api/appointment/cancelappointment \
-H 'Content-Type: application/json' \
-H 'X-Cargosprint-Api-Key: string' \
-H 'X-Cargosprint-User-Key: string' \
-d '{
"gateApptIdList": [
{
"id": 0,
"mtO_Id": 0,
"mtO_Cd": "string"
}
],
"truckVisitIdList": [
{
"id": 0,
"mtO_Id": 0,
"mtO_Cd": "string"
}
]
}'Response
{ "today": [ { … } ], "tomorrow": [ { … } ] }