API Documentation

The REST API allows developers to hook into Clientexec and connect it to third-party applications.

Get Departments

Example JSON Response

{
    "timestamp": 1391206187,
    "totalcount": "2",
    "groups": [
        {
            "id": 1,
            "name": "General",
            "isGeneral": "1",
            "lead": "Jack Reaper",
            "groupMembers": "Developer, Support Lead, Billing Manager, Support Staff, Super Admin",
            "staffMembers": "Jack Reaper, John McKnight, Dallas Smith , Robert Smith, Travis Holmes",
            "applicableRoutingRules": 1,
            "canEditDepartments": true
        },
        {
            "id": 3,
            "name": "Sales",
            "isGeneral": "0",
            "lead": "Jonathan Quimby",
            "groupMembers": "",
            "staffMembers": "Ralph Lauren, Kevin Smith, Jonathan Quimby",
            "applicableRoutingRules": "None",
            "canEditDepartments": true
        }
    ],
    "elapsed": "0.472",
    "message": ""
}