ItemTagValue 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”.

Tags are made up of categorised containers called “tag groups” that contain individual tags called “tag values”. For example, a tag group called “difficulty” might have the following tag values: “Easy”, “Medium”, and “Hard”.

The ItemTagValue API is used to retrieve, assign, and delete item and tag value associations. For information on tag groups and tag values, read TagGroup API and TagValue API.

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

Import this API into your Postman Workspace

In This Article

Retrieving item and tag value association information

get /api/v2/ItemTagValue/{id}

Send a request to the endpoint to retrieve information for a specific item and tag value association using its ID. No request body is required.

Assigning a tag value to an item

post /api/v2/ItemTagValue

Send a request to the endpoint to assign a tag value to an item.

Deleting an item and tag value association

delete /api/v2/ItemTagValue

Send a request to the endpoint to delete a specific item and tag value association.

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.