Logo
Profit.co's Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 
a
string
numRecords
string Integer, number of results to be returned. Max permissible value: 5000
ls
string Y - It will give the enabled users list N - It will give the disabled users list
filterData
string
sortColumn
string
sortDir
string
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Acce
Curl
curl -X 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>?a=getAllEmployeesByFilterSearch&numRecords=<NUMBER_OF_RESULTS>&ls=["Y"]&filterData={"managerIds":[],"departmentIds":[XXXXX],"jobTitleIds":[]}&sortColumn=employeeNumber.sortable&sortDir=asc&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>'

ENDPOINTS