Get Users List by the Department

GET https://api.profit.co/app/dao/v6/employees?a=getAllEmployeesByFilterSearch&numRecords=<NUMBER_OF_RESULTS>&ls=["Y"]&filterData={"managerIds":[],"departmentIds":[XXXXX],"jobTitleIds":[]}&sortColumn=employeeNumber.sortable&sortDir=asc&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

To get the users list by the filter

Request Params

KeyDatatypeRequiredDescription
astring
numRecordsstringInteger, number of results to be returned. Max permissible value: 5000
lsstringY - It will give the enabled users list
N - It will give the disabled users list
filterDatastring
sortColumnstring
sortDirstring
apiKeystringRequired: API key of your Profit.co Account
accessKeystringRequired: Access key of your Profit.co Account