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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<ReservationStatusNoticePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenResSS.ServiceModel">
  <NoticeMessage>
    <CancellationDate>0001-01-01T00:00:00</CancellationDate>
    <CancellationID>String</CancellationID>
    <CendynPropertyId>String</CendynPropertyId>
    <Currency>String</Currency>
    <DateResUpdated>0001-01-01T00:00:00</DateResUpdated>
    <ExternalProfileID>String</ExternalProfileID>
    <ExternalResId1>String</ExternalResId1>
    <ExternalResId2>String</ExternalResId2>
    <ResArriveDate>0001-01-01T00:00:00</ResArriveDate>
    <ResDepartDate>0001-01-01T00:00:00</ResDepartDate>
    <ResStatus>String</ResStatus>
    <ResUpdatedBy>String</ResUpdatedBy>
    <RoomNumber>String</RoomNumber>
    <RoomNumberEndDate>0001-01-01T00:00:00</RoomNumberEndDate>
    <RoomNumberStartDate>0001-01-01T00:00:00</RoomNumberStartDate>
    <RoomType>String</RoomType>
    <StayHistoryRevenueCollection>
      <StayHistoryRevenue>
        <Amount>0</Amount>
        <CurrencyCode>String</CurrencyCode>
        <FolioWindow>String</FolioWindow>
        <InactiveDate>0001-01-01T00:00:00</InactiveDate>
        <RecordStatus>String</RecordStatus>
        <RevenueGroup>String</RevenueGroup>
        <RevenueType>String</RevenueType>
        <TransactionDate>0001-01-01T00:00:00</TransactionDate>
      </StayHistoryRevenue>
    </StayHistoryRevenueCollection>
    <UniqueIDs>
      <UniqueIDType>
        <Context>String</Context>
        <ID>String</ID>
        <Type>String</Type>
      </UniqueIDType>
    </UniqueIDs>
  </NoticeMessage>
  <SubscriptionId>String</SubscriptionId>
</ReservationStatusNoticePost>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenResSS.ServiceModel">
  <ErrorCount>0</ErrorCount>
  <RecordCount>0</RecordCount>
  <StatusCode>String</StatusCode>
</Response>