DocumentListResponseWrapper
Response wrapper for credit simulator configuration
statusstring
Status of the response
Possible values: [SUCCESS, ERROR]
Example:
ERROR/SUCCESSmessagestring
Message describing the response
Example:
Request failed/Request successfulcodeMessagestring
Code message describing the response
Example:
ERR-001/SUC-001data object
Represents paginated results.
content object[]
The list of items in the current page.
Array [
idinteger<int64>
Unique identifier of the file
Example:
123namestring
Name of the file
Example:
document.pdfsizestring
Size of the file (human-readable)
Example:
15MBtypestring
MIME type of the file
Example:
application/pdftypeIdinteger<int32>
Type identifier
Example:
1base64Datastring
Base64 encoded file content
]
totalElementsinteger<int64>
The total number of elements across all pages.
Example:
100totalPagesinteger<int32>
The total number of pages available.
Example:
10numberinteger<int32>
The current page number (zero-based).
Example:
0sizeinteger<int32>
The number of items per page.
Example:
10timestampstring<date-time>
Timestamp of when the response was generated
DocumentListResponseWrapper
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"content": [
{
"id": 123,
"name": "document.pdf",
"size": "15MB",
"type": "application/pdf",
"typeId": 1,
"base64Data": "string"
}
],
"totalElements": 100,
"totalPages": 10,
"number": 0,
"size": 10
},
"timestamp": "2024-07-29T15:51:28.071Z"
}