Returns appointment attachments (e.g. referrals, worksheets) for the specified appointment when it is in the PENDING REPORTING status.
Returns 404 when the appointment is not found or is not in the PENDING REPORTING status.
Response body is a JSON array. Fields below apply to each array item.
Security
Bearer
- Mock serverhttps://partnerdocs.qubs.io/_mock/openapi/integrations/v1/{domain}/reporting/appointments/{appointmentId}/attachments
- Production APIhttps://partners.qubs.io/integrations/v1/{domain}/reporting/appointments/{appointmentId}/attachments
- Relative to the current hosthttps://partnerdocs.qubs.io/integrations/v1/{domain}/reporting/appointments/{appointmentId}/attachments
curl -i -X GET \
'https://partnerdocs.qubs.io/_mock/openapi/integrations/v1/acme/reporting/appointments/200006/attachments?urlTtlSeconds=900&disposition=inline' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-Correlation-Id: 4b7f0a91b4f54f2a'Array of attachments for the requested pending reporting appointment.
Array []
When the attachment was added (UTC).
Example:"2020-01-01T00:00:00Z"
When the attachment was last modified (UTC).
Example:"2020-01-01T00:00:00Z"
Short-lived presigned URL for retrieving the attachment content when available.
Example:"https://example.com"
Response
[ { "guid": "989dd0c7-13bb-4bba-b7a0-53a28bdf5155", "category": "Referral", "fileName": "referral.pdf", "addedDateTime": "2025-01-10T01:02:03Z", "addedBy": { … }, "lastModifiedDateTime": "2025-01-10T01:02:03Z", "url": "https://example.com/attachments/referral.pdf", "urlExpiresAtUtc": "2025-01-10T01:17:03Z" } ]