Skip to main content
Update document metadata
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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

documentId
string
required

Body

application/json
title
string
description
string
documentType
string
priority
string
tags
string[]
expirationDate
string<date-time>

Response

200 - application/json

Document updated successfully.

documentId
string
episodeId
string
documentType
string
title
string
fileName
string
fileSize
number
mimeType
string
status
string
uploadedAt
string<date-time>
patientId
string
agencyId
string
description
string
documentDate
string<date-time>
expirationDate
string<date-time>
source
string
priority
string
tags
string[]
extractedData
object
pageCount
integer
textContent
string
uploadedBy
object
metadata
object