get Profile Statistics -> Detail Stay Records Revenue
GET {{HostName}}/crm/v1/profileStatistics?profileId={{ProfileId}}&hotelIds={{HotelId}}&reportType=DetailStayRecordsRevenue&stayFrom=2023-01-01&stayTo=2023-12-31&summary=true&stayRecordId=559608&stayRecordIdContext=OPERA&stayRecordIdType=StayRecordId&reservationId={{ReservationId}}&reservationIdContext=OPERA&reservationIdType=Reservation
You will be able to get the StayRecordId from first calling ProfileStayRecords
report in getProfileStatistics.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
profileId | string | ||
hotelIds | string | ||
reportType | string | ||
stayFrom | string | ||
stayTo | string | ||
summary | boolean | ||
stayRecordId | number | ||
stayRecordIdContext | string | ||
stayRecordIdType | string | ||
reservationId | string | ||
reservationIdContext | string | ||
reservationIdType | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-app-key | string | ||
x-hotelid | string |