Get Variant for Terms

Get a variant for a terms

GEThttps://api.platform.softwareone.com/public/v1/products/{productId}/terms-and-conditions/{termsAndConditionsId}/variants
Path parameters
termsAndConditionsId*string
productId*string
Response

Success

Body
$metaobject
dataarray of TermsAndConditionsVariantEntity (object)
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/products/{productId}/terms-and-conditions/{termsAndConditionsId}/variants', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "data": [
    {
      "id": "text",
      "href": "text",
      "type": "text",
      "assetUrl": "text",
      "languageCode": "text",
      "name": "text",
      "description": "text",
      "status": "text",
      "filename": "text",
      "size": 0,
      "contentType": "text",
      "fileId": "text"
    }
  ]
}

#227:

Change request updated