Skip to main content

Job Portal Metrics

Get Metrics for companies#

Method: GET

  • Requires authentication: YES

Endpoint

/api/companies/h0P9zvV0DD9Yh/metrics
  • Where h0P9zvV0DD9Yh is the company ID

Response on Success

{
"message": "Metrics for Blah",
"metrics": {
"applicants": 1,
"jobs": 1,
"interviews": 1
}
}

Get Admin Metrics#

Method: GET

  • Requires authentication: YES

Endpoint

/api/metrics

Response on Success

{
"message": "Job POrtal Admin Metrics",
"metrics": {
"users": 2,
"companies": 1,
"applications": 1,
"jobs": 1
}
}

Get metrics with date ranges#

Method: GET

  • Requires authentication: YES

Endpoint

/api/metrics?startDate=2020-10-28&endDate=2020-11-28

Response on Success

{
"message": "Job Portal Admin Metrics from 2020-10-28 to 2020-11-28",
"metrics": {
"users": 2,
"companies": 1,
"applications": 1,
"jobs": 1
}
}