cURL
curl --request GET \ --url https://str.keroshospitality.com/api/v1/str/task/{taskId} \ --header 'Authorization: Bearer <token>'
{ "requestId": "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890", "strUploadStatus": { "taskId": 123, "reservationUploadStatus": [ { "reservationId": "HMXDBC4N22", "status": "PENDING", "details": "", "serialNumberDeclaration": "1234567890", "lastUpdated": "2022-01-01T00:00:00Z", "isDraft": false, "errorValue": "duplicate_declaration" } ] }, "createdAt": "2022-01-01T00:00:00Z" }
Get the status of an STR upload task.
admin, str-uploader
admin
str-uploader
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
The task ID
Task status retrieved successfully
"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"
Show child attributes
123
"HMXDBC4N22"
Upload status
PENDING
SUCCESS
FAILED
""
"1234567890"
"2022-01-01T00:00:00Z"
false
Error classification for failed uploads
duplicate_declaration
tax_id_not_found
timed_out
failed_to_authenticate
failed_to_navigate
internal_error
unknown