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

KeyDatatypeRequiredDescription
profileIdstring
hotelIdsstring
reportTypestring
stayFromstring
stayTostring
summaryboolean
stayRecordIdnumber
stayRecordIdContextstring
stayRecordIdTypestring
reservationIdstring
reservationIdContextstring
reservationIdTypestring

HEADERS

KeyDatatypeRequiredDescription
x-app-keystring
x-hotelidstring