Modify an appointment for a shipment.
post
/custom-actions/modifyAppointment/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.
-
locationResourceGid: string
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.
-
shipmentGid: string
Shipment ID - Shipment must be identified using one of Shipment ID OR Shipment Reference Number.
-
shipmentRefnumQualGid: string
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.
-
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.
-
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 : modifyAppointmentResponse
Type:
object
Response when modify an appointment for a shipment.
Show Source
-
appointments: array
appointments
List of appointments modified.
-
responseStatus: object
responseStatus
Nested Schema : appointments
Type:
array
List of appointments modified.
Show Source
-
Array of:
object appointment
Appointment details.
Nested Schema : responseStatus
Type:
Show Source
object
-
isSuccess: boolean
Specifies if modification of an appointment for a shipment was successful.
-
statusMessage: string
Error message if modification of an appointment for a shipment was unsuccessful.
Nested Schema : appointment
Type:
object
Appointment details.
Show Source
-
appointmentDuration: integer
Appointment Duration in seconds.
-
appointmentEndTime: string
Appointment End Time at the stop in yyyy-MM-dd HH:mm:ss format.
-
appointmentGid: string
Appointment ID.
-
appointmentStartTime: string
Appointment Start Time at the stop in yyyy-MM-dd HH:mm:ss format.
-
confirmationNumber: string
Confirmation Number.
-
deliveryAppointment: string
Delivery Appointment time in yyyy-MM-dd HH:mm:ss format.
-
locationResourceGid: string
Location Resource ID
-
locationResourceName: string
Location Resource Name
-
pickupAppointment: string
Pickup Appointment time in yyyy-MM-dd HH:mm:ss format.
-
resourceTypeGid: string
Resource Type ID.
-
stopNumber: integer
Stop number where appointment was scheduled.
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.