GetDepartmentsAndDivisions

Returns the list of employer departments and divisions.

JavaScript library method

patientportal.users.getDepartmentsAndDivisions();

HTTP Method

Verb URL
GET /patientportalapi/users/departments-divisions

Returns

DepartmentData[] DivisionData[]

Returned JSON

{
    "Departments": [
        {
            "Key": "D123",
            "Name": "HR"
        }
    ],
    "Divisions": [
        {
            "Key": "Dv123",
            "Name": "Division 123"
        }
    ]
}