Document Management
The Document Management service provides a robust platform for managing documents, including version control, categorization, and status tracking. Through a comprehensive set of API endpoints, clients can efficiently handle all aspects of document management. This service includes APIs for adding, retrieving, updating, and deleting documents and their versions, as well as managing document categories and statuses. This Document Management service is designed to enhance document control and accessibility, making it an invaluable tool for organizations seeking efficient document management solutions. Through these APIs, clients can seamlessly integrate document management capabilities into their existing systems, ensuring organized and easily retrievable documentation across various domains.
Document Operations
Perform CRUD operations on documents and their versions, ensuring effective document management. Document Operations enable users to manage documents effectively by adding, updating, retrieving, and downloading documents, along with managing document versions and their availability.
Document Operations - Add Document GET /v1/api/dm/upload/
| Resource URL | /v1/api/dm/upload/ |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_name | string document name |
|---|---|
| uploaded_user | string uploaded user |
| document_status | integer document status |
| document_category | integer document category |
| expire_datetime | datetime formatted expire datetime |
| meta_data | string meta data |
| version | integer version |
| file | UploadFile File to upload |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Invalid page number or missing |
| 404 | Invalid page size or missing |
Document Operations - Get Document Versions GET /v1/api/dm/document_versions/
| Resource URL | /v1/api/dm/document_versions/ |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Download Document GET /v1/api/dm/download/{document_id}/{version}
| Resource URL | /v1/api/dm/download/{document_id}/{version} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| version | version must be added from referenced add private/public api calls |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
HTTP Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Get All Documents GET /v1/api/dm/get_all/
| Resource URL | /v1/api/dm/get_all/ |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Get Document By Id GET /v1/api/dm/get_by_id/{document_id}
| Resource URL | /v1/api/dm/get_by_id/{document_id} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Get Document Version GET /v1/api/dm/get_document_version/{document_id}/{version}
| Resource URL | /v1/api/dm/get_document_version/{document_id}/{version} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| version | version must be added from referenced add private/public api calls |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Update Document PUT /v1/api/dm/update/
| Resource URL | /v1/api/dm/update/ |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| document_name | string document name |
| uploaded_user | string uploaded user |
| document_status | integer document status |
| document_category | integer document category |
| expire_datetime | datetime formatted expire datetime |
| meta_data | string meta data |
| version | integer version |
| file | UploadFile File to upload |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Document Enable Disable PATCH /v1/api/dm/document/{document_id}/{is_disabled}
| Resource URL | /v1/api/dm/document/{document_id}/{is_disabled} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| is_disabled | bool Document is disabled or not |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Document Version Enable Disable PATCH /v1/api/dm/document/{document_id}/{version}/{is_disabled}
| Resource URL | /v1/api/dm/document/{document_id}/{version}/{is_disabled} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| version | string Document version |
| is_disabled | bool Document is disabled or not |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |
Document Operations - Delete Document Version DELETE /v1/api/dm/delete_document_version/{document_id}/{version}
| Resource URL | /v1/api/dm/delete_document_version/{document_id}/{version} |
|---|---|
| Response Format | Json |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| document_id | document_id must be added from referenced add private/public api calls |
|---|---|
| version | version must be added from referenced add private/public api calls |
Example Request
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 403 | Authentication Required |
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Succcess |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Invalid Input |
| 404 | invalid or not founc type |