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 Connector - How to import EntOwners

ejeong
Valued Contributor
Valued Contributor

when read a doc, I need three element to get update ent owner 

"acctEntMappingInfoColumnFromEnt": "STORE#ACC#ENT#MAPPINGINFO~#~char" in entitlementParams

And configuring entOwnerMappings and acctEntParams (ProcessType : entToAcctMapping) 

Question

1) How can I set Rank ? 

2)In JSON below, does customproperty21 means Users.Customproperty21?

 

ejeong_0-1656576255082.png

 

Our Saviynt Useranme is "EmpID" 

so we need to map with employeeID from response. Here is sample response

securityGroupName is ent_value

ejeong_1-1656576320858.png

 

 

6 REPLIES 6

ejeong
Valued Contributor
Valued Contributor

I tried like below but ent Onwer are not being updated. Please note I removed Token for seucrity reason

 

{
"globalSettings": {
"dateFormat": "yyyy-MM-dd' 'HH:mm:ss"
},
"accountParams": {
"connection": "acctAuth",
"createUsers": false,
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"disableDeletedAccounts": true,
"http": {
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/account/user?pageN...",
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "account~#~char",
"name": "account~#~char",
"accounttype": "accountType~#~date",
"displayname": "userName~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
},
"acctEntMappings": {
"SecurityGroups": {
"listPath": "permissions",
"idPath": "securityGroupName",
"keyField": "entitlementID"
}
}
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"SecurityGroups": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/entitlement/securi...",
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "securityGroupName~#~char",
"acctEntMappingInfoColumnFromEnt": "STORE#ACC#ENT#MAPPINGINFO~#~char",
"entitlement_value": "securityGroupName~#~char",
"displayname": "securityGroupName~#~char",
"customproperty1": "workflow.manager~#~char",
"customproperty2": "workflow.owner~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
},
"disableDeletedEntitlements": true
}
},
"entOwnerMappings": {
"listField": "data",
"idPath": "owners.employeeNumber",
"keyField": "username"
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"SecurityGroups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
},
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/account/user?pageN...}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"entKeyField": "entitlementID",
"acctIdPath": "account",
"acctKeyField": "accountID",
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
}
},
"call2": {
"connection": "acctAuth",
"callOrder": 1,
"stageNumber": 1,
"showJobHistory": true,
"processingType": "entToAcctMapping",
"ownerKeyField": "username"
}
}
}
}
}
}

GauravJain
Regular Contributor
Regular Contributor

is it resolved?

ejeong
Valued Contributor
Valued Contributor

Yes. Its working now

GauravJain
Regular Contributor
Regular Contributor

Cool. Are you able to set Owner Rank as well? If yes, can you please share that piece of code with me? tried with "ownerRank":"Rank 2" but no luck

ejeong
Valued Contributor
Valued Contributor

Not sure if we can specify the rank as well. In our use case, we are importing all owners as rank 1

GauravJain
Regular Contributor
Regular Contributor

Ok, thats default. thanks - please post if you get any leads on it.