Skip to main content

Update Entitlement Type

PUT 

https://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

Body

    allowRemoveAllEntitlementInRequeststring
    Example: false
    arsRequestableEntitlementQuerystring
    Example: ev.status=1 and ev.customproperty1='TRUE'
    arsSelectedEntitlementQuerystring
    Example: testsel
    availableQueryServiceAccountstring
    Example: test qry
    createTaskActionstring[]
    Example: ["noAction","removeTaskForExistingEntitlements","bhav","enableRollback"]
    createTaskAction1string
    Example: removeTaskForExistingEntitlements
    customproperty1string
    Example: cp1
    customproperty9string
    Example: cp9
    endpointnamestring
    Example: AD Test
    entitlementdescriptionstring
    Example: entitlementdescription
    entitlementnamestring
    Example: testEnt81
    hiearchyrequiredstring
    Example: false
    orderindexstring
    Example: 2
    requestDatesConfJsonstring
    Example: test date
    requestoptionstring
    Example: TABLENOREMOVE
    requiredinrequeststring
    Example: false
    selectedQueryServiceAccountstring
    Example: service acc qry
    startDateInRevokeRequeststring
    Example: false
    startEndDateInRequeststring
    Example: false
    workflowstring
    Example: SampleManagerApproval

Responses

Update Entitlement Type

Response Headers

  • Date

    string

  • Server

    string

  • Set-Cookie

    string

  • X-Content-Type-Options

    string

Schema

    errorCodestring
    Example: 0
    msgstring
    Example: Success

Authorization: http

name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
curl -L -X PUT 'https://developers.saviynt.com/updateEntitlementType' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Base URL
https://example.saviyntcloud.com/ECM/api/v5
Auth
Body
{
  "allowRemoveAllEntitlementInRequest": "false",
  "arsRequestableEntitlementQuery": "ev.status=1 and ev.customproperty1='TRUE'",
  "arsSelectedEntitlementQuery": "testsel",
  "availableQueryServiceAccount": "test qry",
  "createTaskAction": [
    "noAction",
    "removeTaskForExistingEntitlements",
    "bhav",
    "enableRollback"
  ],
  "createTaskAction1": "removeTaskForExistingEntitlements",
  "customproperty1": "cp1",
  "customproperty9": "cp9",
  "endpointname": "AD Test",
  "entitlementdescription": "entitlementdescription",
  "entitlementname": "testEnt81",
  "hiearchyrequired": "false",
  "orderindex": "2",
  "requestDatesConfJson": "test date",
  "requestoption": "TABLENOREMOVE",
  "requiredinrequest": "false",
  "selectedQueryServiceAccount": "service acc qry",
  "startDateInRevokeRequest": "false",
  "startEndDateInRequest": "false",
  "workflow": "SampleManagerApproval"
}
ResponseClear

Click the Send API Request button above and see the response here!