TagHierarchy API

In Surpass, you can attach metadata (known as “tags”) to items and then use these tags to organise items when authoring content, creating tests, and viewing results. Tags are made up of “tag groups” and “tag values”.

Tag groups can be further categorised into tag hierarchies. Item authors can select and assign tag values to items from a pre-defined tag hierarchy. You can create tag hierarchies in the Subjects screen of Setup. Tag hierarchies are subject-specific.

The TagHierarchy API resource is used to list, retrieve, and create tag hierarchies.

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

Import this API into your Postman Workspace

In This Article

Listing tag hierarchies

get /api/v2/TagHierarchy

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

Retrieving tag hierarchy information

get /api/v2/TagHierarchy/{id}

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

Creating a tag hierarchy

post /api/v2/TagHierarchy

Send a request to the endpoint to create a tag hierarchy.

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.