API Documentation >> API 2.0 Main >> Entities >> StockExport
{
stockRequest: {
idRequest: // Request ID
idUser: // User ID
status: // Request Status
startedAt: // Date and Time of the request
finishedAt: // Date and Time of the file being finished
type: // "Stock Export"
resourceId: // file name
url: // presigned URL to download the export
}
}
Possible statuses are:
pending - The requested export file is currently being created (finishedAt and url will be empty)finished - The requested export file available for downloadfailed - The creation of the requested export file failed{
stockRequest: {
idRequest: 2910
idUser: 9999
status: "finished"
startedAt: "2023-06-21 11:35:34"
finishedAt: "2023-06-21 11:38:45"
type: "Stock Export"
resourceId: "" // No example
URL: "" // No example
}
}