CenResService

<back to all web services

ReservationStatusNoticePost

The following routes are available for this service:
POST/reservation/notice/{SubscriptionId}
ReservationStatusNoticePost Parameters:
NameParameterData TypeRequiredDescription
NoticeMessagebodyReservationStatusNoticeNo
SubscriptionIdpathstringNo
ReservationStatusNotice Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIdformstringNo
ExternalResId1formstringNo
ExternalResId2formstringNo
ResStatusformstringNo
CancellationIDformstringNo
CancellationDateformDateTime?No
DateResUpdatedformDateTime?No
ResUpdatedByformstringNo
RoomNumberformstringNo
RoomNumberStartDateformDateTime?No
RoomNumberEndDateformDateTime?No
StayHistoryRevenueCollectionformList<StayHistoryRevenue>No
ResArriveDateformDateTime?No
ResDepartDateformDateTime?No
CurrencyformstringNo
RoomTypeformstringNo
ExternalProfileIDformstringNo
UniqueIDsformList<UniqueIDType>No
StayHistoryRevenue Parameters:
NameParameterData TypeRequiredDescription
RecordStatusformstringNo
RevenueGroupformstringNo
RevenueTypeformstringNo
AmountformdecimalNo
CurrencyCodeformstringNo
FolioWindowformstringNo
TransactionDateformDateTime?No
InactiveDateformDateTime?No
UniqueIDType Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
TypeformstringNo
ContextformstringNo
Response Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformstringNo
RecordCountformintNo
ErrorCountformintNo

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.

POST /reservation/notice/{SubscriptionId} HTTP/1.1 
Host: cert.cendyn.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"noticeMessage":{"cendynPropertyId":"String","externalResId1":"String","externalResId2":"String","resStatus":"String","cancellationID":"String","cancellationDate":"0001-01-01T00:00:00.0000000","dateResUpdated":"0001-01-01T00:00:00.0000000","resUpdatedBy":"String","roomNumber":"String","roomNumberStartDate":"0001-01-01T00:00:00.0000000","roomNumberEndDate":"0001-01-01T00:00:00.0000000","stayHistoryRevenueCollection":[{"recordStatus":"String","revenueGroup":"String","revenueType":"String","amount":0,"currencyCode":"String","folioWindow":"String","transactionDate":"0001-01-01T00:00:00.0000000","inactiveDate":"0001-01-01T00:00:00.0000000"}],"resArriveDate":"0001-01-01T00:00:00.0000000","resDepartDate":"0001-01-01T00:00:00.0000000","currency":"String","roomType":"String","externalProfileID":"String","uniqueIDs":[{"id":"String","type":"String","context":"String"}]},"subscriptionId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"statusCode":"String","recordCount":0,"errorCount":0}