CenResService

<back to all web services

MessageAcknowledgement

The following routes are available for this service:
POST/acknowlegement/{SubscriptionId}/{CendynPropertyId}
MessageAcknowledgement Parameters:
NameParameterData TypeRequiredDescription
AcknowledgementbodyAcknowledgementNo
SubscriptionIdpathstringNo
CendynPropertyIdpathstringNo
Acknowledgement Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIDformstringNo
HotelCodeformstringNo
SuccessformboolNo
EchoTokenformstringNo
UniqueIDsformList<UniqueIDType>No
MessagesformList<StatusMessage>No
UniqueIDType Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
TypeformstringNo
ContextformstringNo
StatusMessage Parameters:
NameParameterData TypeRequiredDescription
MessageTypeformStatusMessageTypeNo
CodeformstringNo
MessageformstringNo
TargetformstringNo
StatusMessageType Enum:
Info
Warning
Error
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 /acknowlegement/{SubscriptionId}/{CendynPropertyId} HTTP/1.1 
Host: cert.cendyn.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"acknowledgement":{"cendynPropertyID":"String","hotelCode":"String","success":false,"echoToken":"String","uniqueIDs":[{"id":"String","type":"String","context":"String"}],"messages":[{"messageType":"Info","code":"String","message":"String","target":"String"}]},"subscriptionId":"String","cendynPropertyId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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