cURL
curl --request GET \ --url https://str.keroshospitality.com/api/v1/apartments/{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" }
Get reservations for a specific apartment.
admin, str-uploader
admin
str-uploader
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Apartment ID
Reservations retrieved successfully
Show child attributes
"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"