index

setRoomDates JSON


Instructions

Post JSON data here to set room price and availability.

See here for information about using the JSON API.

The JSON data is similar to that returned by getRoomDates. See it for information about the data fields.

To delete a multiplier and set the date to auto, set the multiplier value to 0 (zero)

Example Data

{
    "authentication": {
        "apiKey": "apiKeyAsSetInAccountSettings",
        "propKey": "propKeyAsSetForTheProperty"
    },
    "roomId": "12345",
    "dates": {
        "20141015": {
            "p1": "45.00",
            "p2": "55.00",
            "p3": "65.00",
            "p4": "75.00",
            "i": "1"
        },
        "20141016": {
            "i": "0"
        },
        "20141019": {
            "p1": "49.99",
            "m": "2"
        }
    }
}