# Upload document associated with an idCard Uploads a document file associated with an idCard for a staff member Endpoint: POST /api/external/staff/{reference}/id-cards/{userCardId}/documents Version: 1.8.0 Security: API_AUTHENTICATION ## Path parameters: - `reference` (string, required) External reference of the staff member Example: "staff_ext_12345" - `userCardId` (string, required) ID of the user card (idCard) Example: "idcard_001" ## Query parameters: - `file` (string, required) The document file to upload ## Response 200 fields (application/json): - `id` (integer) Document ID Example: 66325 - `uuid` (string) Document UUID Example: "2342343423423423423ASS32" - `originalName` (string) Original name of the document Example: "fil3.pdf" - `fileSize` (integer) File size Example: 652154 - `creationDate` (string) Date created Example: "2024-11-27T16:56:40Z" ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 500 fields