Upload Appointment Document

Attach one document to an appointment. Send one request per file.

SecurityAPIKeyHeader
Request
path Parameters
appointment_id
required
string (Appointment Id)
Request Body schema: multipart/form-data
required
file
required
string <binary> (File)
document_type
required
string (AppointmentDocumentTypeEnum)

Caller-declared type of a document attached to an appointment. Spelled like backend-core's ShipmentDocumentTypes and corrogo's DocumentType where a literal match exists, so the facility required-documents check can compare across services without a mapping for these.

Enum: "BOL" "PACKING_SLIPS" "DELIVERY_RECEIPT" "PURCHASE_ORDER" "OTHER"
description
string (Description)
Responses
201

Successful Response

Response Schema: application/json
id
required
string (Id)
appointment_id
required
string (Appointment Id)
document_type
required
string (AppointmentDocumentTypeEnum)

Caller-declared type of a document attached to an appointment. Spelled like backend-core's ShipmentDocumentTypes and corrogo's DocumentType where a literal match exists, so the facility required-documents check can compare across services without a mapping for these.

Enum: "BOL" "PACKING_SLIPS" "DELIVERY_RECEIPT" "PURCHASE_ORDER" "OTHER"
filename
required
string (Filename)
description
string (Description)
uploaded_by_user_id
string (Uploaded By User Id)
created_at
required
string <date-time> (Created At)
updated_at
required
string <date-time> (Updated At)
400

Validation Error

post/facilities/appointments/{appointment_id}/documents
Request samples
Response samples
application/json
{
  • "id": "string",
  • "appointment_id": "string",
  • "document_type": "BOL",
  • "filename": "string",
  • "description": "string",
  • "uploaded_by_user_id": "string",
  • "created_at": "2019-08-24T14:15:22Z",
  • "updated_at": "2019-08-24T14:15:22Z"
}
Copyright © Shipwell 2025. All right reserved.