CenResService

<back to all web services

ResSummaryRequest

The following routes are available for this service:
GET/v2/reservation/summary/{Query}
GET/v2/reservation/summary/{Query}/{CendynPropertyId}
ResSummaryRequest Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIdpathstringNo
QuerypathReservationQueryTypeNo
IdquerystringNo
FirstNamequerystringNo
LastNamequerystringNo
StartDatequeryDateTime?No
EndDatequeryDateTime?No
PageSizequeryintNo
PageNumberqueryintNo
ReservationQueryType Enum:
ResId
ProfileId
Name
LastUpdated
ArrivalDate
DepartureDate
StayDate
DatePMSResUpdated
ResSummaryResponse Parameters:
NameParameterData TypeRequiredDescription
RecordsformList<ReservationSummary>No
CenResResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformRequestStatusNo
StatusMessageformstringNo
RecordsReturnedformintNo
RecordsAvailableformintNo
PageNumberformintNo
PageSizeformintNo
RequestStatus Enum:
Success
Warning
Error
NotAuthorized
Failure
ReservationSummary Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
ExternalProfileIdformstringNo
ExternalProfileId2formstringNo
ExternalResID1formstringNo
ExternalResID2formstringNo
CendynPropertyIdformstringNo
PropertyNameformstringNo
ResTypeCodeformstringNo
ResStatusCodeformstringNo
ConfirmationNumformstringNo
CentralResNumformstringNo
ResArriveDateformDateTime?No
ResDepartDateformDateTime?No
NumRoomsformint?No
RoomTypeCodeformstringNo
RoomNumberformstringNo
RateCodeformstringNo
MarketSegmentCodeformstringNo
MarketCodeCategoryformstringNo
MarketRegionCodeformstringNo
CompanyNameformstringNo
NumAdultsformint?No
NumYouthsformint?No
NumChildrenformint?No
TotalRoomNightsformint?No
CancellationIDformstringNo
CancellationDateformDateTime?No
TotalOtherRevenueformdecimal?No
TotalRoomRevenueformdecimal?No
TotalTaxformdecimal?No
TotalRevenueformdecimal?No
LastUpdatedformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v2/reservation/summary/{Query} HTTP/1.1 
Host: cert.cendyn.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"records":[{"firstName":"String","lastName":"String","externalProfileId":"String","externalProfileId2":"String","externalResID1":"String","externalResID2":"String","cendynPropertyId":"String","propertyName":"String","resTypeCode":"String","resStatusCode":"String","confirmationNum":"String","centralResNum":"String","resArriveDate":"0001-01-01T00:00:00.0000000","resDepartDate":"0001-01-01T00:00:00.0000000","numRooms":0,"roomTypeCode":"String","roomNumber":"String","rateCode":"String","marketSegmentCode":"String","marketCodeCategory":"String","marketRegionCode":"String","companyName":"String","numAdults":0,"numYouths":0,"numChildren":0,"totalRoomNights":0,"cancellationID":"String","cancellationDate":"0001-01-01T00:00:00.0000000","totalOtherRevenue":0,"totalRoomRevenue":0,"totalTax":0,"totalRevenue":0,"lastUpdated":"0001-01-01T00:00:00.0000000"}],"status":"Success","statusMessage":"String","recordsReturned":0,"recordsAvailable":0,"pageNumber":0,"pageSize":0}