We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Map postman Api call in JSON

AbdulGaffar
New Contributor III
New Contributor III

Hi ,

we are mapping target attributes from the postman call as specified below.

we want to parse to attributes from the below API call as an entitlement value.

please specify the mapping functionality for the below API call , the entitlement value should be  scope + roledefinition ID.

"value": [

        {

            "properties": {

                "roleDefinitionId": "/",

                "principalId": "",

                "principalType": "ForeignGroup",

                "scope": "",

                "condition": null,

                "conditionVersion": null,

                "createdOn": "2022-11-09T07:27:40.7463799Z",

                "updatedOn": "2022-11-09T07:27:40.7463799Z",

                "createdBy": "",

                "updatedBy": "",

                "delegatedManagedIdentityResourceId": null,

                "description": null

            },

 "id": "",

            "type": "",

            "name": ""

}

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

share current json from saviynt eic


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AbdulGaffar
New Contributor III
New Contributor III

Hi @rushikeshvartak ,

The ImportAcctEntJSON is as specified below:

{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<URL>"
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "appDisplayName~#~char",
"displayName": "displayName~#~char",
"status": "accountEnabled~#~char",
"customproperty1": "appId~#~char",
"customproperty2": "servicePrincipalType~#~char"
}
}
}
},
"entitlementParams": {
"connection": "entAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Scope": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 1,
"http": {
"url": "<URL>",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "properties.roleDefinitionId~#~char",
"customproperty1": "properties.principalType~#~char",
"customproperty2": "properties.scope~#~char",
"customproperty3": "name~#~char"
}
}
}
}
}
},
"acctEntParams": {
"connection": "entAuth",
"entTypes": {
"Scope": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 2,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "<URL>",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "properties.principalId",
"acctKeyField": "accountID"
}
}
}
}
}
}

Refer 

https://forums.saviynt.com/t5/identity-governance/rest-string-functions/m-p/9161#M1562


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.