Skip to main content
GET
/
str
/
tasks
/
{id}
/
reservations
List reservations for STR task
curl --request GET \
  --url https://str.keroshospitality.com/api/v1/str/tasks/{id}/reservations \
  --header 'Authorization: Bearer <token>'
{
  "reservations": [
    {
      "reservationId": "HMXDBC4N22",
      "apartmentId": 42,
      "startDate": "01/02/2025",
      "endDate": "05/02/2025",
      "amountReceived": 309.83,
      "platform": "Airbnb",
      "paymentMethod": "Λογαριασμός Πληρωμών Αλλοδαπής",
      "guestName": "John Doe",
      "guestId": "AT1237212",
      "guestTaxId": "137269544",
      "isForeigner": true,
      "isDraft": false,
      "cancellationDate": "<string>",
      "cancellationAmount": 123,
      "dateUploaded": "2022-01-01T00:00:00Z",
      "declarationServerId": "<string>",
      "uploadStatus": "PENDING",
      "details": "",
      "errorValue": "duplicate_declaration"
    }
  ],
  "requestId": "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

id
string
required

Task ID

Response

200 - application/json

Reservations retrieved successfully

reservations
object[]
requestId
string
Example:

"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"