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
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"
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Apartment ID
Reservations retrieved successfully
Show child attributes
"HMXDBC4N22"
42
"01/02/2025"
"05/02/2025"
309.83
"Airbnb"
"Λογαριασμός Πληρωμών Αλλοδαπής"
"John Doe"
"AT1237212"
"137269544"
true
false
"2022-01-01T00:00:00Z"
Upload status
PENDING, SUCCESS, FAILED Additional details about the upload status
""
Error classification for failed uploads
duplicate_declaration, tax_id_not_found, timed_out, failed_to_authenticate, failed_to_navigate, internal_error, unknown "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"