FAQ | This is a LIVE service | Changelog

Skip to content

Oncosts: Create periods API endpoint

Description

The frontend for the salary scales page will need a list of periods to populate the dropdown list on the page. The list of periods will eventually be provided by HR and uploaded to a database, but for now, we can use the pre-existing Oncosts Calculator library for the data.

Further details

["GRADE_1", "GRADE_2"]

[
  {
    "name": "GRADE_1"
  },
  {
    "name": "GRADE_2"
  }
]

Task list

  • Create the periods endpoint

Acceptance criteria

  • We have an endpoint in production that returns a list of periods for the purpose of calculating salary data with oncosts

Links/references

Edited by Jack Harrison