Request Example

The following cURL Example illustrates the API usage to update both document content and properties:

API Usage

curl -X POST -H "Authorization: Basic U0FOREJPWFx0ZXN0MDE6TmV4dERvY3MxZjM6MTIz" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" -F "jsonMetadata={ "LookupFields": { "DocumentId": "bf7e482e-63fe-457a-8dbc-f070ddc4327a" }, "Properties": { "ProtocolNumber": "501", "InvestigationalProduct": "YYY" } }" -F "fileUpload=Document Content.docx" 'http://<SERVER>:<PORT>/ndapi/v1/integration/Items/items/update