Schedule an appointment for a shipment.

post

/custom-actions/scheduleAppointment/shipments/

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Appointment End Time at the stop in yyyy-MM-dd HH:mm:ss format.
  • Appointment Start Time at the stop in yyyy-MM-dd HH:mm:ss format.
  • Location ID - Shipment appointment location must be specified using either a Stop Number OR a Stop Location ID.
  • Location Resource Group ID. For example when multiple doors are associated with a location resource group, and a user wants to find the best door. To use this parameter, Appointment Start Time and Appointment End Time must be specified. The resourceGidFromPrimaryResourceType parameter must not be set when using the locationResourceGroupGid parameter.
  • Location Resource ID for the primary resource type. For example, the door at which a user wants to book an appointment. Appointment Start Time and Appointment End Time must be specified when using this parameter.
  • resourceGidsFromSecondaryResourceTypes
    List of Location Resource IDs for the secondary resource type. Appointment Start Time and Appointment End Time must be specified when using this parameter. The resourceGidFromPrimaryResourceType parameter must also be set when specifying secondary resources.
  • Shipment ID - Shipment must be identified using one of Shipment ID OR Shipment Reference Number.
  • Shipment Reference Number Qualified 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.
  • 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.
  • Stop Number - Shipment appointment location must be specified using one of Stop Number OR Stop Location ID.
Nested Schema : resourceGidsFromSecondaryResourceTypes
Type: array
List of Location Resource IDs for the secondary resource type. Appointment Start Time and Appointment End Time must be specified when using this parameter. The resourceGidFromPrimaryResourceType parameter must also be set when specifying secondary resources.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Default Response.
Body ()
Root Schema : scheduleAppointmentResponse
Type: object
Response when scheduling an appointment for a shipment.
Show Source
Nested Schema : appointments
Type: array
List of appointments scheduled.
Show Source
Nested Schema : responseStatus
Type: object
Show Source
Nested Schema : appointment
Type: object
Appointment details.
Show Source

400 Response

Error Response.
Body ()
Root Schema : errorResponse
Type: object
Show Source
Back to Top