HRMS
APIs
curl --location 'http://localhost:8080/egov-hrms/employees/v1/_count?tenantId=pb.baruwal&_=1697534837504&roles=SYSTEM%2C%20GP_ADMIN%2C%20COLLECTION_OPERATOR%2C%20PROFILE_UPDATE%2C%20DASHBOAD_VIEWER&isStateLevelSearch=true' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Origin: http://localhost:3000' \
--header 'Referer: http://localhost:3000/mgramseva-web/employee' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: same-origin' \
--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \
--header 'sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--data '{
"RequestInfo": {
"apiId": "Rainmaker",
"authToken": "28ee5e63-8150-48cf-a0b2-26212a450d18",
"userInfo": {
"id": 878469,
"uuid": "b5bcbe8d-5410-4548-8b94-ee638d409f63",
"userName": "9502410535",
"name": "Rakesh",
"mobileNumber": "9502410535",
"emailId": null,
"locale": null,
"type": "EMPLOYEE",
"roles": [
{
"name": "HRMS_ADMIN",
"code": "HRMS_ADMIN",
"tenantId": "pb.baruwal"
},
{
"name": "DIVISION ADMIN",
"code": "DIV_ADMIN",
"tenantId": "pb.baruwal"
},
{
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pb.baruwal"
}
],
"active": true,
"tenantId": "pb.baruwal",
"permanentCity": null
},
"msgId": "1697534837504|en_IN",
"plainAccessRequest": {}
}
}'
Last updated
Was this helpful?