Centre API

In Surpass, a “centre” is a virtual space in which tests are created by users and delivered to candidates. All items, users, candidates, subjects, tests, and test forms are associated with a particular parent centre. A Surpass centre may be linked to a physical location like a school or workplace or it can be a purely digital environment.

The Centre API resource is used to list, retrieve, create, and update centres.

This article explains what calls can be made to the Surpass API using the Centre resource.

Import this API into your Postman Workspace

In This Article

Listing centres

get /api/v2/Centre

Send a request to the endpoint to retrieve a list of centres. Refer to the available parameters to influence the response. No request body is required.

Retrieving centre information

get /api/v2/Centre/{id}

Send a request to the endpoint to retrieve information for a specific centre using either its ID or reference. No request body is required.

Creating a centre

post /api/v2/Centre

Send a request to the endpoint to create a centre.

Updating a centre

put /api/v2/Centre/{id}

Send a request to the endpoint to update a specific centre.

Deleting a centre

delete /api/v2/Centre/{id}

Send a request to the endpoint to delete a specific centre. No request body is required.

IMPORTANT: Centres cannot be deleted if they are associated with any subjects or candidates. Remove these associations before trying to delete a centre.

Error Codes

Refer to the following table for information on error codes that may be encountered when using this resource.

Further reading

Read the following articles to learn more about similar APIs, how to get started with the Surpass API v2, and how to get the best out of this reference documentation:

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.