Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/19/2024 02:15 AM
We are using a multi-call approach and do not want to update the same entitlement type from Call 1
Solved! Go to Solution.
10/19/2024 05:36 AM
@pinky_chauhan in the input param of entitlement name give a different Entitlement name.
10/19/2024 07:59 AM
10/19/2024 11:02 AM
hi @NM Thanks, yes it worked, we don't need to give multiple calls we can directly use the other entiltlementtype using input params.
"SharePoint Site": {
"entTypeOrder": 3,
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://graph.microsoft.com/v1.0/sites?search=%22%2fsites%2f%22",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "#CONST#${String site = response.'webUrl'; site = site.substring(site.indexOf('.com') + 4); return site}~#~char",
"customproperty1": "name~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}
}
}
},
"SharePoint List": {
"entTypeOrder": 5,
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 1,
"stageNumber": 3,
"http": {
"url": "https://graph.microsoft.com/v1.0/sites/${entitlementID}/lists",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"inputParams": {
"entitlementname": "SharePoint Site"
},
"listField": "value",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "#CONST#${String site = response.'webUrl'; site = site.substring(site.indexOf('.com') + 4); return site}~#~char",
"displayName": "displayName~#~char",
"description": "description~#~char",
"customproperty1": "name~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}
}
}
}
@rushikeshvartakWe are already updating call1 in another entitlement type (SharePoint Site) and want to categorize SharePoint site collections, lists, sites, permissions, and groups into separate entitlement types. It’s now clear that we don’t need a separate call1 for each.
Thankyou.