GET v{version}/{lang}/bookingCancellationPolicies
Returns cancellation cart item cancellation policies
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version |
The requested API version |
string |
Required Default value is 1.0 |
lang | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CartCancellationPolicyDtoName | Description | Type | Additional information |
---|---|---|---|
activityCancellationPolicies |
Gets or Sets ActivityCancellationPolicies |
Collection of ActivityCancellationPolicyDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "activityCancellationPolicies": [ { "activityTitle": "sample string 1", "rateTitle": "sample string 2", "cancellationPolicy": { "title": "sample string 1", "policyType": "NON_REFUNDABLE", "fullRefundCutoffHours": 1, "penaltyRules": [ { "cutoffHours": 1, "percentage": 1.0 }, { "cutoffHours": 1, "percentage": 1.0 } ] } }, { "activityTitle": "sample string 1", "rateTitle": "sample string 2", "cancellationPolicy": { "title": "sample string 1", "policyType": "NON_REFUNDABLE", "fullRefundCutoffHours": 1, "penaltyRules": [ { "cutoffHours": 1, "percentage": 1.0 }, { "cutoffHours": 1, "percentage": 1.0 } ] } } ] }
application/xml, text/xml
Sample:
<CartCancellationPolicyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Models"> <activityCancellationPolicies> <ActivityCancellationPolicyDto> <activityTitle>sample string 1</activityTitle> <cancellationPolicy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Widget"> <d4p1:fullRefundCutoffHours>1</d4p1:fullRefundCutoffHours> <d4p1:penaltyRules> <d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:cutoffHours>1</d4p1:cutoffHours> <d4p1:percentage>1</d4p1:percentage> </d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:cutoffHours>1</d4p1:cutoffHours> <d4p1:percentage>1</d4p1:percentage> </d4p1:WidgetCancellationPolicyPenaltyRule> </d4p1:penaltyRules> <d4p1:policyType>NONREFUNDABLE</d4p1:policyType> <d4p1:title>sample string 1</d4p1:title> </cancellationPolicy> <rateTitle>sample string 2</rateTitle> </ActivityCancellationPolicyDto> <ActivityCancellationPolicyDto> <activityTitle>sample string 1</activityTitle> <cancellationPolicy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Widget"> <d4p1:fullRefundCutoffHours>1</d4p1:fullRefundCutoffHours> <d4p1:penaltyRules> <d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:cutoffHours>1</d4p1:cutoffHours> <d4p1:percentage>1</d4p1:percentage> </d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:WidgetCancellationPolicyPenaltyRule> <d4p1:cutoffHours>1</d4p1:cutoffHours> <d4p1:percentage>1</d4p1:percentage> </d4p1:WidgetCancellationPolicyPenaltyRule> </d4p1:penaltyRules> <d4p1:policyType>NONREFUNDABLE</d4p1:policyType> <d4p1:title>sample string 1</d4p1:title> </cancellationPolicy> <rateTitle>sample string 2</rateTitle> </ActivityCancellationPolicyDto> </activityCancellationPolicies> </CartCancellationPolicyDto>