cURL
curl --request POST \ --url https://str.keroshospitality.com/api/v1/str/submitted-declarations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "apartmentId": 42, "fromDate": "01/01/2023", "toDate": "01/01/2024" } '
{ "taskId": 123, "requestId": "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890", "createdAt": "2022-01-01T00:00:00Z" }
Search for submitted declarations for a specific apartment.
admin, str-uploader
admin
str-uploader
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
42
"01/01/2023"
"01/01/2024"
Search task created successfully
123
"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"
"2022-01-01T00:00:00Z"