Get National Insurance category details
const url = 'https://api2.recruso.co.uk/v1/reference/ni-categories/1';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api2.recruso.co.uk/v1/reference/ni-categories/1 \ --header 'Authorization: <Authorization>'Returns one National Insurance category by id. The HMRC National Insurance category letter a worker is paid under.
National Insurance categories are platform-wide, so an id means the same National Insurance category for every agency.
An id that does not match a National Insurance category returns 404.
Access. Requires an authenticated token. No further policy is applied.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The id path parameter
Responses
Section titled “Responses”OK
One National Insurance category.
object
The National Insurance category’s identifier. Stable and platform-wide — the same id means the same thing for every agency.
The National Insurance category name, as it appears in Recruso. Up to 10 characters. Unique across all National Insurance categories.
A longer description of the National Insurance category. May be null.
Example
{ "id": 1, "name": "A", "description": "Standard rate"}Unauthorized
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
