Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add 412 response

...

Endpoint ID:2101
Method:

Status
colourGreen
titleGET

URL:

/permissions/terms/{termsID}


termsIDA GUID string identifier for the terms
Request body:None


Span
stylewhite-space:nowrap

Response body:



Code Block
titleExample 1 – Request for terms with ID 7a6776a3-9411-4d34-9866-99aa9ac7cc27
{
    "id": "7a6776a3-9411-4d34-9866-99aa9ac7cc27",
    "name": "Some terms",
    "description": "This explains everything",
    "text": "",
    "versions": [
        {
            "version": "1.0",
            "state": "draft",
            "text": "Please accept our terms and conditions"
        }
    ]
}


Status codes:200OK

404Terms not found

412The contract does not allow access to these terms