Doctavian
ClickwrapTerm definitions

Term Definition List

This endpoint retrieves a list of all available term definitions that the user has previously created.

GET
/termDefinitions/list

Header Parameters

Authorizationstring

JWT token to authenticate the request on behalf of a specific Microsoft user or a backend service principal.

Default"Bearer {{authToken}}"
Value in"Bearer {{authToken}}"
X-Subscription-Keystring

Unique API key used to identify and authorize access to a specific environment

Default"{{apiKey}}"
Value in"{{apiKey}}"

Response Body

curl -X GET "https://demo.headless.mavenmule.com/clickwrap/termDefinitions/list" \  -H "Authorization: Bearer {{authToken}}" \  -H "X-Subscription-Key: {{apiKey}}"

{
  "result": {
    "statusCode": 200,
    "message": "OK",
    "data": [
      {
        "termDefinition": {
          "termDefinitionId": "{{guid}}",
          "name": "{{termTitle}}",
          "code": "{{termVersionCode}}",
          "text": "{{termText}}"
        }
      }
    ]
  },
  "origin": "{{originEnvironment}}",
  "dateTime": "{{responseTimestamp}}",
  "userId": "{{userId}}"
}