GetDepartmentsAndDivisions

Returns the list of employer departments and divisions.

JavaScript library method

patientportal.patient.getDepartmentsAndDivisions();

HTTP Method

Verb URL
GET /patientportalapi/patient/departments-divisions

Returns

DepartmentData[] DivisionData[]

Returned JSON

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