There is a requirement to show the members and advanced count in existing recruitment analytics. We have created a new analytics API to show these details.
API endpoint - /v2/applications/analyze.json?&advancement[office_id]=630&start_date=2021-01-01&end_date=2022-12-30&access_token=XXXX
Response:
{
"analytics": {
"advanced_count": {
"meta": {},
"doc_count": 1,
"members": {
"value": 1
}
},
"positions_count": {
"meta": {},
"doc_count": 2,
"members": {
"value": 1
}
}
}
}
Use value key inside members object from positions_count hash for Member and use value key inside members object from advanced_count hash for ADV count. The ADV percentage should be calculated in FE.