Get Enumeration


This request returns a list of values that can be selected in a enumeration.
The XelionObjectType value should be the internal metaclassname of the object.
The member value should be the membername of the object.
Check out the model reference documentation for the class and member names.
To get the exact model internal class name, checkout the URL of the model documentation.

Resource

GET /meta/enum/<XelionObjectType>/<member>

Parameters

None

Payload

None

Response

Context

Authorization

Guest

Errors

Example

Request
GET https://xelion.nl/api/v1/master/meta/enum/XCCPhoneLine/lineHuntingPolicy
Response
{
    "data": [
        {
            "object": "linear"
        },
        {
            "object": "circular"
        },
        {
            "object": "mostIdle"
        },
        {
            "object": "leastIdle"
        },
        {
            "object": "all"
        }
    ],
    "meta": {
        "links": [
            {
                "rel": "refresh",
                "href": "http://localhost:8080/api/v1/master/meta/enum/XCCPhoneLine/lineHuntingPolicy",
                "method": "GET"
            }
        ]
    }
}