Get List of Privileges for Entitlement Type
POST/getListofPrivileges
This API gives the list of privileges for an entitlement type.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
endpoint
Optional params:
max
, offset
, entitlementType
Request
- multipart/form-data
Body
endpoint string
entitlementtype string
Responses
- 200
Get List of Privileges for Entitlement Type / Get List of Privileges for Entitlement Type Copy
Response Headers
Date
string
Server
string
Set-Cookie
string
- application/json
- Schema
- Example (from schema)
- Get List of Privileges for Entitlement Type
- Get List of Privileges for Entitlement Type Copy
Schema
Array [
]
PrivilegeDetails
object[]
actionString string
attribute string
attribute_config string
attribute_type string
attribute_values string
attributegroup string
childaction string
defaultvalue string
descriptionascsv string
editable boolean
entitlement_types
object
endpointkey string
entitlementname string
entitlements_column number
hideoncreate boolean
hideonupd boolean
label string
orderindex string
parentattribute string
regex string
requestablerequired boolean
required boolean
sqlquery string
updatedate string
updateuser string
errorCode string
msg string
{
"PrivilegeDetails": [
{
"actionString": null,
"attribute": "Read",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "true",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Read",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:49",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Write",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "false",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": null,
"orderindex": "1",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:56",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Privilege1",
"attribute_config": "USER-BASED",
"attribute_type": "String",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Privilege1",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:19:35",
"updateuser": "admin"
}
],
"errorCode": "0",
"msg": "Successful"
}
{
"PrivilegeDetails": [
{
"actionString": null,
"attribute": "Read",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "true",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Read",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:49",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Write",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "false",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": null,
"orderindex": "1",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:56",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Privilege1",
"attribute_config": "USER-BASED",
"attribute_type": "String",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Privilege1",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:19:35",
"updateuser": "admin"
}
],
"errorCode": "0",
"msg": "Successful"
}
{
"PrivilegeDetails": [
{
"actionString": null,
"attribute": "Read",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "true",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Read",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:49",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Write",
"attribute_config": "USER-BASED",
"attribute_type": "Boolean",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "false",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": null,
"orderindex": "1",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:18:56",
"updateuser": "admin"
},
{
"actionString": null,
"attribute": "Privilege1",
"attribute_config": "USER-BASED",
"attribute_type": "String",
"attribute_values": "",
"attributegroup": null,
"childaction": null,
"defaultvalue": "",
"descriptionascsv": null,
"editable": true,
"entitlement_types": {
"endpointkey": "System1",
"entitlementname": "Access"
},
"entitlements_column": null,
"hideoncreate": false,
"hideonupd": false,
"label": "Privilege1",
"orderindex": "0",
"parentattribute": null,
"regex": null,
"requestablerequired": false,
"required": true,
"sqlquery": null,
"updatedate": "09/11/2018 02:19:35",
"updateuser": "admin"
}
],
"errorCode": "0",
"msg": "Successful"
}
Loading...