Skip to main content
PUT
/
api
/
Documents
/
{documentId}
Edit existing document.
curl --request PUT \
  --url https://api.example.com/api/Documents/{documentId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "documentName": "<string>",
  "documentType": 123,
  "documentTypeName": "<string>",
  "documentExtension": "<string>",
  "size": 123,
  "createdByName": "<string>",
  "createdDate": "2023-11-07T05:31:56Z",
  "expirationDate": "2023-11-07T05:31:56Z",
  "deleted": true,
  "notes": "<string>"
}
'

Path Parameters

documentId
integer<int32>
required

Body

application/json
id
integer<int32>
documentName
string | null
documentType
integer<int32>
documentTypeName
string | null
documentExtension
string | null
size
integer<int32>
createdByName
string | null
createdDate
string<date-time>
expirationDate
string<date-time>
deleted
boolean
notes
string | null

Response

200

OK