_getUsers

Gets the IDs of Users from a Department

Parameters

departmentId

The ID of the chosen Department

FM_api(
    'Department_getUsers',[
        'departmentId' => '337119'
    ]
);

Results

On Success

{"users":"92447,92731"}

On Failure

If there is no set value for 'departmentId'

{"error":"missing parameter: departmentId"}

Last updated