Update Entitlement Type
PUThttps://example.saviyntcloud.com/ECM/api/v5/updateEntitlementType
This API updates Entitlement Type in SSM.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
entitlementname
,
endpointname
,
Optional params:
entitlementdescription
,
workflow
,
customproperty<N>
,
availableQueryServiceAccount
,
selectedQueryServiceAccount
,
arsRequestableEntitlementQuery
,
arsSelectedEntitlementQuery
,
createTaskAction
- it can be one value or list of values. The values can be ["noAction","removeTaskForExistingEntitlements", "enableRollback"],
requestDatesConfJson
,
startDateInRevokeRequest
,
startEndDateInRequest
,
allowRemoveAllEntitlementInRequest
,
orderindex
,
requiredinrequest
,
hiearchyrequired
,
requestoption
requestoption
param values can be -
SHOW_BUT_NOTREUESTABLESINGLE/
SHOW_BUT_NOTREUESTABLEMULTIPLE/
NONE/
SINGLE/
MULTIPLE/
TABLE/
FREEFORMTEXT/
TABLENOREMOVE/
RADIOBUTN/
CHECKBOXN/
READONLYTABLE/
NONE_BUT_CREATETASK
Request
- application/json
Body
false
ev.status=1 and ev.customproperty1='TRUE'
testsel
test qry
["noAction","removeTaskForExistingEntitlements","bhav","enableRollback"]
removeTaskForExistingEntitlements
cp1
cp9
AD Test
entitlementdescription
testEnt81
false
2
test date
TABLENOREMOVE
false
service acc qry
false
false
SampleManagerApproval
Responses
- 200
Update Entitlement Type
Response Headers
- application/json
- Schema
- Example (from schema)
- Update Entitlement Type
Schema
0
Success
{
"errorCode": "0",
"msg": "Success"
}
{
"errorCode": "0",
"msg": "Success"
}
Authorization: http
name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://developers.saviynt.com/updateEntitlementType' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'