Get the available appointments for a shipment.
post
/custom-actions/getAvailableAppointments/shipments/
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
appointmentEndTime: string
Appointment End Time at the stop in yyyy-MM-dd HH:mm:ss format
-
appointmentStartTime: string
Appointment Start Time at the stop in yyyy-MM-dd HH:mm:ss format
-
locationGid: string
Location ID - Shipment appointment location must be specified using either a Stop Number OR a Stop Location ID
-
numberOfOptions: integer
Number of appointment options requested - maximum is 50
-
shipmentGid: string
Shipment ID - Shipment must be identified using one of Shipment ID OR Shipment Reference Number
-
shipmentRefnumQualGid: string
Shipment Reference Number Qualifier ID - In the absence of a Shipment ID, a shipment can be identified using a combination of a Shipment Reference Qualifier ID AND Shipment Reference Number.
-
shipmentRefnumValue: string
Shipment Reference Number - In the absence of a Shipment ID, a shipment can be identified using a combination of a Shipment Reference Qualifier ID AND Shipment Reference Number.
-
showOptionsForFirstAvailSlotOnly: boolean
When set to true, the action will return appointment options for all resources from the next available slot. If set to false, the action will return appointment options for all resources from all time slots.
-
stopNumber: integer
Stop Number - Shipment appointment location must be specified using one of Stop Number OR Stop Location ID
Response
Supported Media Types
- application/json
200 Response
Default Response.
Root Schema : availableAppointmentOptionsResponse
Type:
object
Available Appointment Options
Show Source
-
appointmentOptions: array
appointmentOptions
List of available appointment options
-
numberOfOptions: integer
Number of appointment options in response
-
responseStatus: object
responseStatus
Nested Schema : appointmentOptions
Type:
array
List of available appointment options
Show Source
-
Array of:
object appointmentOption
Available Appointment Option Details
Nested Schema : responseStatus
Type:
Show Source
object
-
isSuccess: boolean
Specifies if the action was successful
-
statusMessage: string
Error message if action was unsuccessful
Nested Schema : appointmentOption
Type:
object
Available Appointment Option Details
Show Source
-
appointmentEndTime: string
Appointment End Time at the stop in yyyy-MM-dd HH:mm:ss format
-
appointmentStartTime: string
Appointment Start Time at the stop in yyyy-MM-dd HH:mm:ss format
-
infeasiblityCodes: array
infeasiblityCodes
List of Infeasiblity Codes when appointment is not feasible
-
isAppointmentFeasible: boolean
Is Appointment Feasible
-
locationResourceGroup: string
Location Resource Group
-
locationResourceName: string
Location Resource Name
-
preferenceLevel: integer
Preference Level
Nested Schema : infeasiblityCodes
Type:
array
List of Infeasiblity Codes when appointment is not feasible
Show Source
-
Array of:
string
Describes why appointment is infeasible
400 Response
Error Response.
Root Schema : errorResponse
Type:
Show Source
object
-
detail(required): string
Provides more information about the error.
-
status(required): number
HTTP status code.
-
title(required): string
Provides a short summary message.