| POST | /reservation/notice/{SubscriptionId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NoticeMessage | body | ReservationStatusNotice | No | |
| SubscriptionId | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CendynPropertyId | form | string | No | |
| ExternalResId1 | form | string | No | |
| ExternalResId2 | form | string | No | |
| ResStatus | form | string | No | |
| CancellationID | form | string | No | |
| CancellationDate | form | DateTime? | No | |
| DateResUpdated | form | DateTime? | No | |
| ResUpdatedBy | form | string | No | |
| RoomNumber | form | string | No | |
| RoomNumberStartDate | form | DateTime? | No | |
| RoomNumberEndDate | form | DateTime? | No | |
| StayHistoryRevenueCollection | form | List<StayHistoryRevenue> | No | |
| ResArriveDate | form | DateTime? | No | |
| ResDepartDate | form | DateTime? | No | |
| Currency | form | string | No | |
| RoomType | form | string | No | |
| ExternalProfileID | form | string | No | |
| UniqueIDs | form | List<UniqueIDType> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecordStatus | form | string | No | |
| RevenueGroup | form | string | No | |
| RevenueType | form | string | No | |
| Amount | form | decimal | No | |
| CurrencyCode | form | string | No | |
| FolioWindow | form | string | No | |
| TransactionDate | form | DateTime? | No | |
| InactiveDate | form | DateTime? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | string | No | |
| Type | form | string | No | |
| Context | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | form | string | No | |
| RecordCount | form | int | No | |
| ErrorCount | form | int | No |
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
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}