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

acctEntParams JSON

sunrashinkar
New Contributor
New Contributor

Hello, 

We want to create a JSON for acctEntParams from the following output which we get from our postman call

Postman Call Body

{
"BaseWebServerUrl": "{{baseWebURL}}",
"ApplicationName": "{{appName}}",
"XFCommandMethodType": "GroupsForUsers",
"MethodQuery": "{}{}",
"ResultDataTableName": "Groups",
"CustomSubstVarsAsCommaSeparatedPairs": ""
}

Postman Call Output

{
"Groups": [
{
"UserID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"UserName": "Administrator",
"UserDescription": "",
"UserIsEnabled": true,
"Text1": "",
"Text2": "",
"Text3": "",
"Text4": "",
"GroupID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"GroupName": "Administrators",
"GroupDescription": "",
"IsExclusionGroup": false
},
{
"UserID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"UserName": "Administrator",
"UserDescription": "",
"UserIsEnabled": true,
"Text1": "",
"Text2": "",
"Text3": "",
"Text4": "",
"GroupID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"GroupName": "Everyone",
"GroupDescription": "",
"IsExclusionGroup": false
},

The above output is only part of the output.

Sample acctEntParams JSON

"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://{{serverName}}/api/DataProvider/GetAdoDataSetForMethodCommand?api-version={{APIversion}}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "username",
"entKeyField": "GroupID",
"acctIdPath": "GroupName",
"acctKeyField": "UserID"
}
}
}
}
}

Could you please help us understand what we need to change in our JSON so that it works perfectly based on the output we get for our Postman call?

1 REPLY 1

rushikeshvartak
All-Star
All-Star

"listField": "Groups",
"entKeyField": "entitlementID",

"entIdField": "GroupID",
"acctIdPath": "userID",
"acctKeyField": "accountID"


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