HighQ 5.5
Files : API changes for 5.5 - Deduplication Add File API changes for duplicate files
OVERVIEW
Add File API changes:
Purpose : Allow user to add duplicate files with options for overrideduplicate parameter in Add file API
Endpoint: /{version}/files/content
Method: POST
Available from version: any
Type: Existing API
New Parameter need to add:
Query Parameters | Data type | Purpose | Mandatory |
---|---|---|---|
overrideduplicate | Boolean | true - Need to add new version on all duplicates except locked files false - Need to add new duplicate file |
NO |
Note: Even though overrideduplicate=true then if all duplicate file is either 1.sent for signature or 2. file is checkout then it will add new duplicate file.
RESPONSES:
Area | Response | Response Code |
---|---|---|
overrideduplicate=true |
|
202 |
overrideduplicate=false/None |
|
201 |
overrideduplicate=true then if all duplicate files are either 1.sent for signature or 2. file is checkout then it will add it as a new duplicate file. |
|
201 |
Code | Message |
---|---|
201 | Document uploaded successfully |
202 | File duplicates have been found |
401 | Unauthorised |
403 | Validation failed / Forbidden |
405 | Method not allowed (calling api with wrong method) |
500 | Internal error occurred while getting document content |
Last Updated: Nov 08,2024
Comments
0 Comments