Skip to content

Org Units

lsambridge edited this page Oct 3, 2024 · 6 revisions

Orginisation Units

Gets the Org Units and their levels that are configured

HTTP Response Values

    200 - Successful call of the api
    400 - Invalid query string parameters

[GET] /v2/meta/orgunitlevels

A successful response looks like:

HTTP/1.1 200 Ok

Location: https://api.myezrewards.com/v2/meta/orgunitlevels

[
    {
        "Name": "Locations",
        "Children": [
            {
                "Name": "Leamington",
                "Children": []
            },
            {
                "Name": "Leicester",
                "Children": []
            }
        ]
    }
]

Clone this wiki locally