06/03/2023 04:07 AM
Hi
Since Saviynt is new for me. I started learning and I have lots of doubts and questions. this is one of them, can someone help me here to understand, what value should be mentioned in "listField". As there is no path of account objects while running a GET API call from Postman,
Here is below Response result
Here is Account Import JSON, which we are using to import the data but not getting user details
Solved! Go to Solution.
06/04/2023 05:35 AM
Please go through this doc, will help:
https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm
06/04/2023 08:07 PM
listfield will be blank
06/05/2023 03:37 AM
Hi Rishik,
thankyou for confirming, it working by making it blank. I have one more question related to entitlement mapping. i am able to extract the account and Entitlement, however,Entitlement is not mapped with the account
could you please confirm, how I can map the entitlement with an account? here is Postman's response. Also if you can let me know what is "idPath": in Role Call?
Here is AccountImportJSON
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"inactivateAccountsNotInFile": false,
"accountThresholdValue": 20
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<endpoint_url>config/authorization/users",
"httpHeaders": {
"x-api-key": "<API_key>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpParams": {},
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "email~#~char",
"name": "email~#~char",
"status": "status~#~char",
"customproperty1": "email~#~char",
"customproperty2": "status~#~char",
"customproperty3": "memberOf~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"Role": {
"listPath": "",
"idPath": "role",
"keyField": "entitlementID"
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Role": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<endpoint_url>config/authorization/roles",
"httpHeaders": {
"x-api-key": "<api_key>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpParams": {},
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "name~#~char",
"entitlement_value": "name~#~char",
"customproperty1": "name~#~char",
"customproperty2": "description~#~char"
},
"makeProcessingStatus": false,
"disableDeletedEntitlements": "true"
}
}
}
}
},
"acctEntParams": {
"entTypes": {
"Role": {
"call": {
"call1": {
"processingType": "acctToEntMapping"
}
}
}
}
}
}
06/05/2023 07:02 AM
HI Everyone ,
can someone advise? if I am doing wrong while importing accounts and access. i am getting an error in the job however all users' accounts have been extracted. Also please advise how to map the entitlement with the account. Here is accountImportJSON
Postman response
Here is AccountImportJSON
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"inactivateAccountsNotInFile": false,
"accountThresholdValue": 20
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<endpoint_url>config/authorization/users",
"httpHeaders": {
"x-api-key": "<API_key>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpParams": {},
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "email~#~char",
"name": "email~#~char",
"status": "status~#~char",
"customproperty1": "email~#~char",
"customproperty2": "status~#~char",
"customproperty3": "memberOf~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"Role": {
"listPath": "",
"idPath": "role",
"keyField": "entitlementID"
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Role": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<endpoint_url>config/authorization/roles",
"httpHeaders": {
"x-api-key": "<api_key>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpParams": {},
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "name~#~char",
"entitlement_value": "name~#~char",
"customproperty1": "name~#~char",
"customproperty2": "description~#~char"
},
"makeProcessingStatus": false,
"disableDeletedEntitlements": "true"
}
}
}
}
},
"acctEntParams": {
"entTypes": {
"Role": {
"call": {
"call1": {
"processingType": "acctToEntMapping"
}
}
}
}
}
}
Error message
06/06/2023 12:10 AM
Hi Everyone,
could you please advise, what thing needs to be changed in the Account import JSON so that account can be mapped with entitlement? I am able to extract the account and entitlement however the account is not mapped with the entitlement ( above is account IMPORT JSON and also postman response from end system
06/08/2023 07:14 AM
Try with below:
"acctEntMappings": {
"Role": {
"listPath": "memberOf",
"idPath": "",
"keyField": "entitlementID"
}
}