View the Zip Request Details by Zip Request ID
get
/api/restapi/document/file/zip/status/zipRequest/{zipRequestId}
Send a request to this endpoint to view the current status of the zip request provided by the zipRequestId as a path parameter.
Request
Path Parameters
-
zipRequestId(required): integer(int64)
The system-generated identifier of a zip request created.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ApiEntityZipRequestDetails
Type:
object
Title:
Show Source
ApiEntityZipRequestDetails
-
errorDetails:
errorDetails
The field represents the error details in case of zip request in REQUEST_FAILED or REQUEST_FAILED_NO_FILES status.
-
expiresAt: string
(date-time)
The date and time the file will be available for downloading. Once this time has passed, the file is no longer available and will need to be downloaded again.
-
zipRequestId: integer
(int64)
The system-generated identifier of a zip request created.
-
zipRequestStatus: string
Allowed Values:
[ "IN_QUEUE", "ZIP_CREATION_IN_PROGRESS", "ZIP_CREATION_IN_PROGRESS_WITH_WARNING", "READY_FOR_DOWNLOAD", "REQUEST_FAILED", "REQUEST_FAILED_NO_FILES", "REQUEST_EXPIRED" ]
The status of the file zip request process.- IN_QUEUE: The zip requests is waiting to be processed.
- ZIP_CREATION_IN_PROGRESS: The creation of the zip folder is in progress.
- ZIP_CREATION_IN_PROGRESS_WITH_WARNING : The creation of the zip folder is in process, but some files could not be included.
- READY_FOR_DOWNLOAD: The creation of the zip folder has completed and is ready for download.
- REQUEST_FAILED: An error occured during the zip folder creation and couldn't complete the request
- REQUEST_FAILED_NO_FILES: The zip folder could not be created. There are no files to add to the .zip folder
- REQUEST_EXPIRED: The zip folder was created but is deleted after 24 hours.
Nested Schema : errorDetails
The field represents the error details in case of zip request in REQUEST_FAILED or REQUEST_FAILED_NO_FILES status.
Match All
Show Source
-
object
ApiEntityZipRequestErrorDetails
Title:
ApiEntityZipRequestErrorDetails
Nested Schema : ApiEntityZipRequestErrorDetails
Type:
object
Title:
Show Source
ApiEntityZipRequestErrorDetails
-
cause: string
Maximum Length:
4000
The cause for the error when the zip request is in REQUEST_FAILED or REQUEST_FAILED_NO_FILES status. -
message: string
This field represents the error message when the zip request is in REQUEST_FAILED or REQUEST_FAILED_NO_FILES status. The field is non-persistable and thus maximum length is not applicable.
-
resolution: string
The resolution for the error when the zip request is in REQUEST_FAILED or REQUEST_FAILED_NO_FILES status. The field is non-persistable and thus maximum length is not applicable.
404 Response
The requested zip request detail doesn't exist, or has been deleted, or you do not have access to it.