TestForm API

Test forms are the digital equivalent of examination papers that are delivered to candidates. Test forms can contain items, sections, timers, grade boundaries, and dynamic content rules. A single test can have many associated test forms with different items and content rules.

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

Import this API into your Postman Workspace

In This Article

Test Forms

The TestForm API resource can be used to retrieve, create, and update test forms.

To learn more about test forms, see the About test forms article in the Test Creation section of the Surpass documentation.

Retrieving test form information

get /api/v2/TestForm/{id}

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

Creating a test form

post /api/v2/TestForm

Send a request to the endpoint to create a test form.

Updating a test form

put /api/v2/TestForm

Send a request to the endpoint to update a specific test form.

NOTE: The test form must be checked out to the user making the request to update a test form. For more information, read Checking test forms in and out.

Test Form Sections

The TestForm API resource can be used to retrieve and update test form sections.

To learn more about test form sections, see the About test form content article in the Test Creation section of the Surpass documentation.

Retrieving test form section information

get /api/v2/TestForm/{id}/Section/{id}

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

Updating a test form section

put /api/v2/TestForm/{id}/Section/{id}

Send a request to the endpoint to update a specific test form section.

NOTE: The test form must be checked out to the user making the request to update a test form. For more information, read Checking test forms in and out.

Test Form Metadata

The TestForm API resource can be used to retrieve metadata.

Retrieving test form metadata information

get /api/v2/TestForm/{id}/Metadata/{id}

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

NOTE: This endpoint is retired and should therefore not be used.

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.