TagGroup 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 are categorised containers for tag values. You can create tag groups in the Subjects screen of Setup. Tag groups are subject-specific.

The TagGroup API resource is used to list, retrieve, create, and update tag groups. For information on tag values, read TagValue API.

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

Import this API into your Postman Workspace

In This Article

Listing tag groups

get /api/v2/TagGroup

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

Listing tag groups in item lists

get /api/v2/TagGroup/ItemListTagGroups/{id}

Send a request to the endpoint to retrieve a list of tag groups from subjects whose items are on the specified item list. Refer to the available parameters to influence the response. No request body is required.

Retrieving tag group information

get /api/v2/TagGroup/{id}

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

Creating a tag group

post /api/v2/TagGroup

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

Updating a tag group

put /api/v2/TagGroup/{id}

Send a request to the endpoint to update a specific tag group.

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.