Skip to main content

DocumentsUploadResponseWrapper

Response wrapper for document upload result

statusstring

Status of the response

Possible values: [SUCCESS, ERROR]

Example: ERROR/SUCCESS
messagestring

Message describing the response

Example: Request failed/Request successful
codeMessagestring

Code message describing the response

Example: ERR-001/SUC-001
data object

Response containing document upload result

fileIdstring

Identifier of the uploaded file

Example: FILE123456
timestampstring<date-time>

Timestamp of when the response was generated

DocumentsUploadResponseWrapper
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"fileId": "FILE123456"
},
"timestamp": "2024-07-29T15:51:28.071Z"
}