GET /employee_groups

This version of the API is deprecated and will stop working from February 1, 2015, please see API v2

Get all employee groups

Example

Request

GET /employee_groups

Response

Status: 200 OK
{
  "employee_groups": [
    {
      "id": 82,
      "name": "Salg",
      "speed_dial": 3,
      "employees": [
        {
          "id": 213,
          "name": "John Mogens",
          "email": "john@example.com",
          "admin": false,
          "mobile_phone_number": {
            "id": 800,
            "number": "4571999951"
          },
          "foreign_phone_number": {
            "id": 273,
            "number": "4577344540"
          },
          "cloak_reception": {
            "id": 12,
            "name": "Hovednummer",
            "phone_number": {
              "id": 900,
              "number": "4571999999"
            }
          },
          "subscription_types": [
            "mobile",
            "switch"
          ],
          "speed_dial": 10,
          "do_not_disturb": true,
          "dnd_timeout_at": "2012-09-02T22:00:00+01:00"
        }
      ]
    }
  ]
}