Get's all of the eligibilities associated with the supplied candidate_id for a specific test code.

API Authentication

HTTPS requests to PSI REST APIs are protected with oAuth2 based authentication. To learn more about how PSI handles authentication, please refer to our authentication section

Request

GET https:///accounts/{account_code}/candidates/{candidate_id}/tests/{test_code}

Path parameters

Parameter name Value Description Additional
account_code string

Provided client specific account code. This is the unique, randomly generated alphanumeric identifier for the client Account.

Required
candidate_id string

The candidate id.

Required
test_code string

The test code is the code provided by the client for an exam.

Required

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

All of the eligibilities assocated with the specified candidate id.

Existing Eligiblity Model[]
400 Bad Request


Below is the list of possible error descriptions in case of bad request or error.

scenario : Invalid account code.
error_description : Unable to get the account details for the given accountCode.

scenario : Invalid test code.
error_description : No mapping found for the given test code.

scenario : Invalid candidate id.
error_description : No data found for the given candidate id.

Error Model
401 Unauthorized

You are not authorized to access this resource.

Error Model
403 Forbidden

Forbidden operation.

Error Model
404 Not Found

The specified candidate id was not found.

Error Model
500 Internal Server Error

Error in case of server errors.

Error Model

Explore this API

account_code

Provided client specific account code. This is the unique, randomly generated alphanumeric identifier for the client Account.

candidate_id

The candidate id.

test_code

The test code is the code provided by the client for an exam.

Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!