Get ethnic origin details
GET
/v1/reference/ethnic-origins/{id}
const url = 'https://api2.recruso.co.uk/v1/reference/ethnic-origins/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/ethnic-origins/1 \ --header 'Authorization: <Authorization>'Returns one ethnic origin by id. A worker’s ethnic origin — African, Asian, European and the rest.
Ethnic origins are platform-wide, so an id means the same ethnic origin for every agency.
An id that does not match a ethnic origin 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”id
required
integer format: int32
The id path parameter
Responses
Section titled “Responses”OK
Media typeapplication/json
One ethnic origin.
object
id
The ethnic origin’s identifier. Stable and platform-wide — the same id means the same thing for every agency.
integer format: int16
name
The ethnic origin name, as it appears in Recruso. Up to 50 characters. Unique across all ethnic origins.
string
Example
{ "id": 1, "name": "White"}Unauthorized
Media typeapplication/problem+json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
Media typeapplication/problem+json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
