Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: sourceID should be a string

...

Endpoint ID:2103
Method:

Status
colourGreen
titleGET

URL:

/permissions/entity/id/{entityID}/terms

/permissions/entity/ext-key/{ext-key}/{ext-type}/terms

Request body:None


Span
stylewhite-space:nowrap

Response body:



Code Block
{
    "accepted": [
        {
            "isActive": true,
            "isWithdrawn": false,
            "terms": {
                "id": "1f788c79-7dde-407f-a976-6b08ffb4c75a",
                "version": "1.3",
                "isMostRecentVersion": true
            },
            "acceptance": {
                "timestamp": "utc timestamp",
                "sourceID": 123"26f2da92-c9ca-4a82-90f0-8a8a43534239"
            }
        },
        {
            "isActive": false,
            "isWithdrawn": true,
            "terms": {
                "id": "1f788c79-7dde-407f-a976-6b58b39aa79d",
                "version": "1.2",
                "isMostRecentVersion": false
            },
            "acceptance": {
                "timestamp": "utc timestamp",
                "sourceID": 123"26f2da92-c9ca-4a82-90f0-8a8a43534239"
            },
            "withdrawal": {
                "timestamp": "utc timestamp",
                "sourceID": 234"26f2da92-c9ca-4a82-90f0-8a8a43534239",
                "reason": "Abc"
            }
        }
    ]
}


Code Block
titleNo terms have been accepted by the entity
{
    "accepted": []
}



Status codes:200OK

404

The entity was not found.

The following sub codes may be returned:


404.1Entity not found
404.2External entity reference could not be found


...