This API method can be used to modify the Pricing Scheme Plan.
/update/schemes/plan
Provide an update object with the following structure:
[ {"from":ISO 8601,"to":ISO 8601,"scheme":"SCHEMECODE"}, // Date period update {"date":ISO 8601,"scheme":"SCHEMECODE"} // Single-day updates ]
This method is only accessible using a Hotelier API account.
This method is only accessible using a POST request.
Request body must be in valid JSON format.
Updates are made only if the entire request body is successfully parsed and validated.
[ {"from":"2013-05-10","to":"2013-05-20","scheme":"BAR1"}, {"date":"2013-05-22","scheme":"BAR2"}, {"date":"2013-05-23","scheme":"BAR3"}, {"from":"2013-05-24","to":"2013-05-28","scheme":"BAR1"} ]
curl -k -s -S https://rest.reserve-online.net/update/schemes/plan \ -H 'Accept:application/json' \ -u username:password \ -d '[{"date":"2013-05-06","scheme":"BAR1"}]'
We provide a method to retrieve available scheme codes set up by the property. Only scheme codes returned by this method are accepted in /update/schemes/plan.
To retrieve the list of scheme codes issue a GET request to the following endpoint:
/schemes/list