Create/Update Entitlement
POST/createUpdateEntitlement
This method creates a new "entitlementvalue" for an "endpoint" in SSM. All the input parameters it requires are attributes with which the new account record would get created.
Ensure: The Authorization
header variable must be set to Bearer
followed by Token
.
Mandatory params:
endpoint
,
entitlementtype
,
entitlement_value
Optional params:
attributes
for Entitlement_values,
entitlementowner<N>
- N is the rank, entitlementowner
modifies entitlementowner with rank 1, entitlementowner3
- modifies entitlementowner with rank 3,
entitlementID
,newentitlement_value
- used to update the entitlement if multiple entitlements with same entitlement_value are present under the same entitlementtype and endpoint
entitlementcasecheck
(can be true or false, default : false) - If true, entitlement value search will be case sensitive during create or update.
entitlement_valuekey
updatedentitlement_value
- new value for entitlement_value
entitlementmap
-
entitlementvalue
entitlementtype
endpoint
requestfilter
excludeentitlement
adddependenttask
removedependententtask
updateType
(ADD/REMOVE, default : ADD)
Request
- application/json
Body
Responses
- 200
Create/Update Entitlement
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Create/Update Entitlement
Schema
entitlementObj
object
{
"entitlementObj": {
"description": "",
"displayname": "",
"endpoint": "Workday",
"entitlementID": "3f9fc9e54e42458daa84ad725dcae8ff",
"entitlementOwner": "",
"entitlementType": "Security-Groups",
"entitlement_glossary": "",
"entitlement_value": "Accounts Receivable Specialist (Unconstrained) Test",
"entitlement_valuekey": "296",
"requestForm": "Request Form Table",
"soxcritical": "0",
"status": "1",
"syscritical": "0"
},
"errorCode": "0",
"msg": "Successful in saving entitlement"
}
{
"entitlementObj": {
"description": "",
"displayname": "",
"endpoint": "Workday",
"entitlementID": "3f9fc9e54e42458daa84ad725dcae8ff",
"entitlementOwner": "",
"entitlementType": "Security-Groups",
"entitlement_glossary": "",
"entitlement_value": "Accounts Receivable Specialist (Unconstrained) Test",
"entitlement_valuekey": "296",
"requestForm": "Request Form Table",
"soxcritical": "0",
"status": "1",
"syscritical": "0"
},
"errorCode": "0",
"msg": "Successful in saving entitlement"
}