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 - entMappingParams

rushikeshvartak
All-Star
All-Star

Saviynt Version : 5.5 SP 4.X

Rest Connector to pull entitlement to child entitlement mapping from target 

Currently tried ImportEntJson is below

https://jsonformatter.org/f78801 

Please let me know if any issue.

 

Response from API

rushikeshvartak_0-1657643669213.png

 

 

 

 


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

sagars
Saviynt Employee
Saviynt Employee

@rushikeshvartak ,

Can you please share more context on parent and child entitlements on above API response? Also share the response in editor if possible.

Is Job title is an entitlement type with AC as a value then Role_ID also have same default value?

Regards,

Sagar Srikantaiah

Parent Role Name is (Entitlement Type) : Job Title - In API - CODE1 is Parent Entitlement Value

Child Role Name(Entitlement Type) : User Group - In API - CODE2 is Child Entitlement Value

 

PFA API Response


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

sagars
Saviynt Employee
Saviynt Employee

Hello @rushikeshvartak ,

Is your Parent and Child Entitlement mapping coming in same URL or different.? Please find sample JSON both the type attached for your reference.

Sagar Srikantaiah 

 

Does sequence matters in ImportAccountEntJson? like below


 
Updating Media

Current JSON :

"entMappingParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Job_Title": {
"ent1KeyField": "entitlementID",
"call": {
"call1": {
"connection": "authenticationTokenFromConnectionJSON",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "https:///rest/v1/domain/data/Z_SAM_EC_CODE_DEPENDENCY?accept=application/json&stripmeta=true&qc=CODE_TYPE1,=,JOB_TITLE",
"httpMethod": "GET",
"httpContentType": "application/json"
},
"listField": "objects.Z_SAM_EC_CODE_DEPENDENCY.attributes",
"ent1IdPath": "CODE1.datavalue",
"ent2IdPath": "CODE2.datavalue",
"ent2KeyField": "entitlementID",
"targetEntType": "Additional_Role",
"mappingTypes": [
"ENT2"
]
}
}
}
}
}

 

 

 

rushikeshvartak_0-1657892459956.png

 


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

Issue identified :

if entitlement type having underscore in name it does not work & sequence should be as follow

rushikeshvartak_3-1657893931888.png

if entitlement type having space then it will map twice

rushikeshvartak_0-1657894674718.png

 


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