Upload Document
Request Header | ||
---|---|---|
Name | Value | |
|
| |
Request Payload | ||
Field | Type | Description |
|
Mime types:
Max size: 40MB |
|
Response Header | ||
---|---|---|
|
| |
Response Body | ||
Field | Type | Description |
|
| File unique identifier |
Return file Id |
Request
Status | ||||
---|---|---|---|---|
|
/public/v2/documents/grouped-devices
Request with cURL
Code Block | ||
---|---|---|
| ||
curl --location '{url}/public/v2/documents/devices' \
--header 'Authorization: Bearer {access_token}' \
--form 'File=@"/C:/Users/Document.docx"' |
Response
Info |
---|
200 Success |
Code Block |
---|
{ "Data": { "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "Errors": [], "Meta": null, "StatusCode": 200, "Message": "Success" } |
Warning |
---|
404 Not Found |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "Errors": [], "Meta": null, "StatusCode": 404, "Message": "Not Found" } |
Warning |
---|
422 Unprocessable Entity |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "StatusCode": 422, "Errors": [], "Meta": null, "Message": "Unprocessable Entity" } |
Warning |
---|
401 Unauthorized |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "StatusCode": 401, "Errors": [], "Meta": null, "Message": "Unauthorized" } |