LanguageVariant API

IMPORTANT: Item language variants are not available by default. For more information, read Creating and managing language variants.

Item language variants let you author variations of an item in different languages. Language variants can only be created for Multiple Choice, Multiple Response, Either/Or, and Essay item types, and only exist across the Item Authoring and Tasks screens.

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

Import this API into your Postman Workspace

In This Article

Retrieving language variant information

get /api/v2/Item/{id}/LanguageVariant/{languageCode}

Send a request to the endpoint to retrieve information for a specific language variant using its ISO language code. No request body is required.

Creating a language variant

post /api/v2/Item/{id}/LanguageVariant

Send a request to the endpoint to create a language variant.

Updating a language variant

put /api/v2/Item/{id}/LanguageVariant/{languageCode}

Send a request to the endpoint to update a specific language variant.

Deleting a language variant

delete /api/v2/Item/{id}/LanguageVariant/{languageCode}

Send a request to the endpoint to delete a specific language variant. No request body is required.

IMPORTANT: The first request archives the language variant and then the second request permanently deletes the language variant.

Error Codes

Refer to the following table for information on error codes that may be encountered when using this resource.

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.