Skip to content

PmaxService/getLocationsList

Name

PmaxService/getLocationsList

Description

This method returns a full list of locations on the panel

Parameters

This method does not take any parameters.

Example Request

{
    "params": [],
    "jsonrpc": "2.0",
    "method": "PmaxService/getLocationsList",
    "id": 1
}

Example Response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [
        {
            "id": 1,
            "value": "Loft"
        },
        {
            "id": 2,
            "value": "Back door"
        },
        {
            "id": 3,
            "value": "Cellar"
        },
        {
            "id": 4,
            "value": "Bathroom"
        },
        {
            "id": 5,
            "value": "Bedroom"
        },
        {
            "id": 6,
            "value": "Child room"
        },
        {
            "id": 7,
            "value": "Conservatory"
        },
        {
            "id": 8,
            "value": "Play room"
        },
        {
            "id": 9,
            "value": "Dining room"
        },
        {
            "id": 10,
            "value": "Downstairs"
        },
        {
            "id": 11,
            "value": "Emergency"
        },
        {
            "id": 12,
            "value": "Fire"
        },
        {
            "id": 13,
            "value": "Front door"
        },
        {
            "id": 14,
            "value": "Garage"
        },
        {
            "id": 15,
            "value": "Garage door"
        },
        {
            "id": 16,
            "value": "Office"
        },
        {
            "id": 17,
            "value": "Hall"
        },
        {
            "id": 18,
            "value": "Kitchen"
        },
        {
            "id": 19,
            "value": "Laundry room"
        },
        {
            "id": 20,
            "value": "Living room"
        },
        {
            "id": 21,
            "value": "Master bath"
        },
        {
            "id": 22,
            "value": "Master Bdrm"
        },
        {
            "id": 23,
            "value": "Study"
        },
        {
            "id": 24,
            "value": "Upstairs"
        },
        {
            "id": 25,
            "value": "Utility room"
        },
        {
            "id": 26,
            "value": "Garden"
        },
        {
            "id": 27,
            "value": "Custom 1"
        },
        {
            "id": 28,
            "value": "Custom 2"
        },
        {
            "id": 29,
            "value": "Custom 3"
        },
        {
            "id": 30,
            "value": "Custom 4"
        },
        {
            "id": 31,
            "value": "Custom 5"
        }
    ]
}