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

Issue importing and associating entitlements to accounts using REST Connector

ChinmayMatkar
New Contributor
New Contributor
Hi team,
 
We are facing an issue while importing and associating entitlements to accounts using REST connector for below user payload:
{

{
"userPartitionID": "ARBillingGroups",
"name": "fs2pro_1",
"location": "cn=fs2pro_1,ou=Root,ou=ARBillingGroups,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"id": "fs2pro_1@ARBillingGroups",
"values": [
{
"name": "schemaType",
"values": [
"3"
]
},
{
"name": "cn",
"values": [
"fs2pro_1"
]
},
{
"name": "oTObjectIDInResource",
"values": [
"9345bebc-43a1-42eb-8caf-95c5be7b96ae:USER~705ac9a7-ee44-4538-a265-641696dfb3c4",
"6c23bb06-a231-48dc-aa3e-87028fc46db5:34673803"
]
},
{
"name": "oTExternalID1",
"values": [
"fs2pro_1"
]
},
{
"name": "modifyTimestamp",
"values": [
"2023-10-12T09:34:16Z"
]
},
{
"name": "oTLastLoginTimestamp",
"values": [
"2023-10-12T09:34:16Z"
]
},
{
"name": "givenName",
"values": [
"fs2pro_1"
]
},
{
"name": "oTExternalID4",
"values": [
"ARBillingGroups\\fs2pro_1"
]
},
{
"name": "oTExternalID2",
"values": [
"fs2pro_1@ARBillingGroups"
]
},
{
"name": "displayName",
"values": [
"fs2pro_1"
]
},
{
"name": "oTExternalID3",
"values": [
"fs2pro_1@ARBillingGroups"
]
},
{
"name": "createTimestamp",
"values": [
"2020-06-08T05:01:15Z"
]
},
{
"name": "oTUserID4",
"values": [
"ARBillingGroups\\fs2pro_1"
]
},
{
"name": "oTUserID3",
"values": [
"fs2pro_1@ARBillingGroups"
]
},
{
"name": "oTUserID2",
"values": [
"fs2pro_1@ARBillingGroups"
]
},
{
"name": "oTUserID1",
"values": [
"fs2pro_1"
]
},
{
"name": "entryDN",
"values": [
"cn=fs2pro_1,ou=Root,ou=ARBillingGroups,ou=IdentityProviders,dc=identity,dc=opentext,dc=net"
]
},
{
"name": "oTObjectGUID",
"values": [
"9ziKhW+eQs+rW/9tpr1JkQ=="
]
},
{
"name": "oTMemberOf",
"values": [
"cn=Petronas ARBilling#ACL_AR_BILLING_ROLE,ou=Root,ou=ARBillingGroups,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"cn=Cordys@Work#Administrator,ou=Root,ou=ARBillingGroups,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"cn=Group Tax CATS Normal Users,ou=Root,ou=NonSyncUsers,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"cn=Acc_T30_FI_All,ou=Root,ou=NonSyncUsers,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"cn=Acc_T50_FI_All,ou=Root,ou=NonSyncUsers,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"cn=Acc_T64_FI_All,ou=Root,ou=NonSyncUsers,ou=IdentityProviders,dc=identity,dc=opentext,dc=net"
]
},
{
"name": "entryUUID",
"values": [
"f7388a85-6f9e-42cf-ab5b-ff6da6bd4991"
]
}
],
"description": null,
"objectClass": "oTPerson",
"originUUID": null,
"urlLocation": "cn=fs2pro_1,ou=Root,ou=ARBillingGroups,ou=IdentityProviders,dc=identity,dc=opentext,dc=net",
"urlId": "fs2pro_1@ARBillingGroups",
"uuid": "f7388a85-6f9e-42cf-ab5b-ff6da6bd4991",
"customAttributes": null
}

We have to fetch user roles from this payload, under values we have "name": "oTMemberOf", in which entitlements are defined, pfb screenshot, highlighted one's are the entitlement names

attachment.jpg

1 REPLY 1

SB
Saviynt Employee
Saviynt Employee

You need to define the processing type which will be based on the url which brings this info. You can refer the below REST documentation for examples and information on acc to Ent map.

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm


Regards,
Sahil