Resource

{
    "data": [
        {
            "access_groups": [
                {
                    "id": "integer",
                    "name": "string"
                }
            ],
            "code": "string",
            "id": "integer",
            "leaders": [
                "int64"
            ],
            "name": "string",
            "parent_id": "integer",
            "users": [
                "int64"
            ]
        }
    ],
    "extended_message": "string",
    "message": "string",
    "status": "string",
    "status_code": "integer"
}

Properties

Name Example Description
data[]
data[].access_groups[]

IDs of the access groups that will be inherited by department members

data[].access_groups[].id 24

ID of access group

data[].access_groups[].name "No special access"

Name of access group

data[].code "MAR02"

Your companys id for the department

data[].id 80085

eloomis internal id for the department

data[].leaders[]

IDs of the leaders of the department

data[].name "Inbound Marketing"

Department name is it should appear in eloomi

data[].parent_id 1337

eloomis internal id of the parent department

data[].users[]

IDs of the users in the department

extended_message

Text to help with debugging

message

Text to help with debugging

status "OK"

HTTP Status text

status_code 200

HTTP Status code