Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Endpoint ID:2107
Method:

Status
colourGreen
titleGET

URL:

/permissions/entity/id/{entityID}/permission

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


entityID

dialogportalâ„¢ master key that uniquely identifies the entity

ext-keyExternal key that uniquely identifies the entity

ext-typeType of external key
Request body:None


Span
stylewhite-space:nowrap

Response body:



Code Block
{
    "accepted": [
        {
            "isActive": true,
            "isWithdrawn": false,
            "permissionID": 993,
            "acceptance": {
                "timestamp": "utc timestamp",
                "sourceID": 123
            }
        },
        {
            "isActive": false,
            "isWithdrawn": true,
            "permissionID": 987,
            "acceptance": {
                "timestamp": "utc timestamp",
                "sourceID": 123
            },
            "withdrawal": {
                "timestamp": "utc timestamp",
                "sourceID": 234,
                "reason": "Abc"
            }
        }
    ]
}


Status codes:200OK

404

The entity or permission were not found.

The following sub codes may be returned:

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