Property: Cancellation Policies
Through this call you can retrieve all the Policies set in the Octorate Platform.
When you're interacting with an Accommodation/Network you should use this access. Octorate default authentication model to access all the resources relative to an Accommodation. One token = 1 property or the network properties of the ones user has visibility. [More info] https://partner.octorate.com/integration/showcases/authentication.html
Processed
Cancellation Policy / Payment Policy
Id of the payment step
12Payment Step Type
CANCELLATIONPossible values: Indicates if the payment step is disabled
trueIndicates the code of accommodation
123456True if this step is ignored by rate plan
Id of the accommodation
123456Refundable 30 daysNumber of days for the condition
30True if the condition is before check-in
trueTrue if the condition is non-refundable
trueTrue if the rule applies only to new reservations
trueTrue if the credit card will be charged
trueFixed value to charge
100Percentage value to charge
50Number of nights to charge
2ID of the template used
101ID of the notification template
102Start date of valid check-in
End date of valid check-in
Start date when the rule is active
End date when the rule is active
True if Virtual Credit Card is supported
trueSpecific hour for applying the rule
16:00List of room IDs the rule applies to
List of portal names the rule applies to
The number of days after which the reservation will be refunded
30Invalid Request
There is something wrong with you api key
Access to the resource is forbidden
Internal Server Error, something bad occourend on Octorate side
GET /connect/rest/v1/policies/{accommodation} HTTP/1.1
Host: api.octorate.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"data": [
{
"id": 1932,
"stepType": "PAYMENT",
"title": "Bank cash"
},
{
"id": 8718,
"stepType": "PAYMENT",
"title": "test money"
},
{
"id": 11450,
"stepType": "PAYMENT",
"title": "30 Days Before, take money"
},
{
"id": 11451,
"stepType": "PAYMENT",
"title": "saldo"
},
{
"id": 4478,
"stepType": "CANCELLATION",
"title": "50% - 10 days prior to checkin"
}
]
}Last updated