Report API

Item performance, test performance, and centre statistics can be extracted in the form of an XML report. This is done by retrieving and then adding the required query parameters to the endpoint, which can then be called to return the defined report.

View the available parameters in ‘Generating a report’ for a comprehensive list of the available reports and their mandatory and optional parameters.

The Report API resource is used to list reports, retrieve report parameters, and generate reports.

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

Import this API into your Postman Workspace

In This Article

Listing reports

get /api/v2/Report

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

Retrieving report parameters

get /api/v2/Report/{id}

Send a request to the endpoint to retrieve the parameters for a specific report using its ID. No request body is required.

Generating a report

get /api/v2/Report/{id}?generate=true

Send a request to the endpoint to retrieve the information for a specific report using its ID. No request body is required.

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.