cURL
curl --request PUT \ --url https://{tenantId}.api.nestmed.com/api/v1/documents/{documentId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "description": "<string>", "documentType": "<string>", "priority": "<string>", "tags": [ "<string>" ], "expirationDate": "2023-11-07T05:31:56Z" } '
{ "documentId": "<string>", "episodeId": "<string>", "documentType": "<string>", "title": "<string>", "fileName": "<string>", "fileSize": 123, "mimeType": "<string>", "status": "<string>", "uploadedAt": "2023-11-07T05:31:56Z", "patientId": "<string>", "agencyId": "<string>", "description": "<string>", "documentDate": "2023-11-07T05:31:56Z", "expirationDate": "2023-11-07T05:31:56Z", "source": "<string>", "priority": "<string>", "tags": [ "<string>" ], "extractedData": {}, "pageCount": 123, "textContent": "<string>", "uploadedBy": {}, "metadata": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Document updated successfully.