Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST : entitlement owner mapping

shreyascn
New Contributor III
New Contributor III

We have a use case where we are receiving the entitlement owners as part of an API.

 

We tried configuring the same using a rest connection to pull entitlement owners but it does not seem to work.

 

We tried checking Freshdesk for more information, there were such issues raised by few people but there was no solution attached.

Reference - REST Connector : Entitlement owners mapping - Saviynt Forums - 2896

Response is as below:

{
    "Data": {
        "OCApprovers": [
            {
                "Country": "Ghana",
                "OCApprover": "NinaTest@abc.com"
            },
            {
                "Country": "Ghana",
                "OCApprover": "nina@abc.com"
            },
            {
                "Country": "Kenya",
                "OCApprover": "nina@abc.com"
            },
            {
                "Country": "Kenya",
                "OCApprover": "prudhvi@abc.com"
            },
            {
                "Country": "Demo Country",
                "OCApprover": "Prudhvi@abc.com"
            },
            },
            {
                "Country": "Demo Country",
                "OCApprover": "gowtham.veldi@abc.com"
            }
        ]
    }
}

JSON:

 "entOwnerParams": {
		"connection": "acctAuth",
		"successResponses": {
			"statusCode": [
				200
			]
		},
		"unsuccessResponses": null,
		"doNotChangeIfFailed": true,
		"entTypes": {
			"OC": {
				"call": {
					"call1": {
						"processingType": "httpOwner",
						"connection": "acctAuth",
						"showJobHistory": true,
						"callOrder": 0,
						"stageNumber": 0,
						"http": {
							"url": "XXXX",
							"httpContentType": "application/json",
							"httpMethod": "GET",
							"httpHeaders": {
							 "Authorization": "${access_token}",
								"Accept": "application/json"
							}
						},
						"listField": "Data.OCApprovers",
						"entIdPath": "Country",
						"ownerIdPath": "OCApprover",
						"ownerKeyField": "email",
						"entKeyField": "entitlementID",
						"pagination": {
						}
					}
				}
			}
		}
	}

 

0 REPLIES 0