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
endpointstring
Example:
System1
entitlementtypestring
Example:
Access
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[]
actionStringstring
attributestring
Example:
Read
attribute_configstring
Example:
USER-BASED
attribute_typestring
Example:
Boolean
attribute_valuesstring
Example:
attributegroupstring
childactionstring
defaultvaluestring
Example:
true
descriptionascsvstring
editableboolean
Example:
true
entitlement_types
object
endpointkeystring
Example:
System1
entitlementnamestring
Example:
Access
entitlements_columnnumber
hideoncreateboolean
Example:
false
hideonupdboolean
Example:
false
labelstring
orderindexstring
Example:
0
parentattributestring
regexstring
requestablerequiredboolean
Example:
false
requiredboolean
Example:
true
sqlquerystring
updatedatestring
Example:
09/11/2018 02:18:49
updateuserstring
Example:
admin
errorCodestring
Example:
0
msgstring
Example:
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"
}
{
"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"
}