Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Fetch all permissions the entity has given

Endpoint ID:2107
Method:

GET

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

Response body:

{
    "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
  • No labels