We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

SAV4SAV REST - Account Import Through Analytics -*Pagination issues*

IAM_99
Regular Contributor II
Regular Contributor II

Hi Team,

We are using Sav4SAv connector for Account Import ( calling Analytics). below is our JSON

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty3",
"activeStatus": [
"ACTIVE"
],
"deleteLinks": false,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true,
"includeExistingInActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://client.com/ECM/api/v5/fetchRuntimeControlsData",
"httpParams": "{\"analyticsname\": \"Dashboard - AccountImport\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpMethod": "POST",
"httpContentType": "application/json"
},
"listField": "result",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "CERTIFIER_ID~#~char",
"name": "CERTIFIER_ID~#~char",
"customproperty1": "CERTIFIER_EMAIL~#~char",
"customproperty2": "CERTIFIER_USERNAME~#~char",
"customproperty3": "CERTIFIER_STATUS~#~char",
"displayname": "CERTIFIER_DISPLAYNAME~#~char",
"customproperty31": "PENDING_CERTIFICATIONS~#~char"
},
"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "displaycount",
"batchSize": 500,
"totalCountPath": "completeResponseMap.total"
}
}
}
}
},
"entitlementParams": {},
"acctEntParams": {}
}

 

We have 2000 records as results but it will only brings 250 , whats wrong with above pagination logic ?

thanks,

2 REPLIES 2

sk
All-Star
All-Star

@IAM_99 : Try below

"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "max",
"batchSize": 500,
"totalCountPath": "completeResponseMap.total"
}


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

rushikeshvartak
All-Star
All-Star
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty3",
"activeStatus": [
"ACTIVE"
],
"deleteLinks": false,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true,
"includeExistingInActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://client.com/ECM/api/v5/fetchRuntimeControlsData",
"httpParams": "{\"analyticsname\": \"Dashboard - AccountImport\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpMethod": "POST",
"httpContentType": "application/json"
},
"listField": "result",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "CERTIFIER_ID~#~char",
"name": "CERTIFIER_ID~#~char",
"customproperty1": "CERTIFIER_EMAIL~#~char",
"customproperty2": "CERTIFIER_USERNAME~#~char",
"customproperty3": "CERTIFIER_STATUS~#~char",
"displayname": "CERTIFIER_DISPLAYNAME~#~char",
"customproperty31": "PENDING_CERTIFICATIONS~#~char"
},
"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "max",
"batchSize": 500,
"totalCountPath": "completeResponseMap.total"
}
}
}
}
},
"entitlementParams": {},
"acctEntParams": {}
}

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