Skip to main content

List Cancellation Types - Pull_CancellationTypes

This method returns a list of supported cancellation types. A confirmed reservation can be cancelled either by a guest or refused by a property provider.

Request​

XML request​

<Pull_CancellationTypes_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_CancellationTypes_RQ>

Request fields​

XML PathData TypeTypeDescription
Pull_CancellationTypes_RQCRoot element
Pull_CancellationTypes_RQ/AuthenticationC, MAuthentication details
Pull_CancellationTypes_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_CancellationTypes_RQ/Authentication/SecretKeyString(100)MSecret key

Response​

XML response​

<Pull_CancellationTypes_RS>
<Status ID="0">Success</Status>
<ResponseID>367bec28bb3c4bc78ad63189079fd796</ResponseID>
<CancellationTypes>
<CancellationType Id="1">Owner</CancellationType>
<CancellationType Id="2">Guest</CancellationType>
</CancellationTypes>
</Pull_CancellationTypes_RS>

Response fields​

XML PathData TypeTypeDescription
Pull_CancellationTypes_RSCRoot element
Pull_CancellationTypes_RS/StatusString(100)MSee ListStatuses
Pull_CancellationTypes_RS/Status@IDIntegerMSee ListStatuses
Pull_CancellationTypes_RS/ResponseIDString(32)MUnique response ID
Pull_CancellationTypes_RS/CancellationTypesC, MA collection of cancellation types
Pull_CancellationTypes_RS/CancellationTypes/CancellationTypeCDescription of a cancellation type
Pull_CancellationTypes_RS/CancellationTypes/PCancellationType/@IDIntegerUnique cancellation type ID