GuideLab Docs

Record a person's upload to a patient (and an order)

Records the item, its patient, order and filer chosen; the computer then registers the same manifest bytes and sends the files, and the item files onto them (onto the patient alone, `order_closed`, if the order stopped taking files meanwhile). 409 UPLOADER_COMPUTER_REVOKED, UPLOADER_ITEM_CHANGED or UPLOADER_ITEM_PATIENT_CHANGED; 422 UPLOADER_ORDER_CLOSED or UPLOADER_MANIFEST_INVALID.

POST
/uploader/manual-items

Records the item, its patient, order and filer chosen; the computer then registers the same manifest bytes and sends the files, and the item files onto them (onto the patient alone, order_closed, if the order stopped taking files meanwhile). 409 UPLOADER_COMPUTER_REVOKED, UPLOADER_ITEM_CHANGED or UPLOADER_ITEM_PATIENT_CHANGED; 422 UPLOADER_ORDER_CLOSED or UPLOADER_MANIFEST_INVALID.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/uploader/manual-items" \  -H "Content-Type: application/json" \  -d '{    "computerId": "string",    "patientId": "string",    "orderId": "string",    "manifest": "string"  }'
{  "ref": "string",  "state": "importing",  "parkReason": "too_large",  "files": [    {      "ref": "string",      "id": "string",      "generation": 0,      "uploaded": true    }  ],  "erased": true}
Empty
Empty
Empty
Empty
Empty
Empty
Empty
Empty