Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Rest: Account import brings only 50 accounts

Olesia
Regular Contributor
Regular Contributor

Hi,

I created a new REST connection but account import brings only 50 accounts.

From Postman it returns all accounts at once and it is also possible to skip some number of accounts (?skip=50) and set how many to return (take=50).

In the ImportAccountEntJSON we don't have any pagination set. Our other REST connections also do not have any pagination set but no issues with them.

Could you please help, what should be configured to get all the accounts from a target app?

ImportAccountEntJSON

 

 

 

{
    "globalSettings": {
        "dateFormat": "yyyy-MM-dd'T'HH:mm:ss"
    },
    "accountParams": {
        "connection": "userAuth",
        "processingType": "SequentialAndIterative",
        "statusAndThresholdConfig": {
        },
        "call": {
            "call1": {
                "callOrder": 0,
                "stageNumber": 0,
                "http": {
                    "url": "https://***/tables/users",
                    "httpHeaders": {
                        "Authorization": "${access_token}",
                        "Accept": "application/json"
                    },
                    "httpContentType": "application/json",
                    "httpMethod": "GET"
                },
                "listField": "data",
                "keyField": "accountID",
                "colsToPropsMap": {
                    "accountID": "id~#~char",
                    "name": "email~#~char",
                    "lastlogondate": "last_seen~#~date",
                    "customproperty2": "name~#~char",
                    "customproperty3": "foreign_id~#~char",
                    "customproperty4": "is_admin~#~bool",
                    "customproperty5": "place_tags~#~char",
                    "customproperty6": "places~#~char",
                    "customproperty7": "Admin~#~char",
                    "customproperty8": "last_seen~#~char",
                    "customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
                }
            }
        },
        "acctEntMappings": {
            "Role": {
                "listPath": "",
                "idPath": "role",
                "keyField": "entitlement_value"
            }
        }
    },
    "entitlementParams": {
        "connection": "userAuth",
        "processingType": "SequentialAndIterative",
        "entTypes": {
            "Role": {
                "entTypeOrder": 1,
                "call": {
                    "call1": {
                        "callOrder": 0,
                        "stageNumber": 0,
                        "http": {
                            "url": "https://***/tables/roles",
                            "httpHeaders": {
                                "Authorization": "${access_token}",
                                "Accept": "application/json"
                            },
                            "httpContentType": "application/json",
                            "httpMethod": "GET"
                        },
                        "listField": "data",
                        "keyField": "entitlement_value",
                        "colsToPropsMap": {
                            "entitlementID": "id~#~char",
                            "entitlement_value": "name~#~char",
                            "displayname": "name~#~char",
                            "description": "description~#~char",
                            "customproperty3": "can_be_managed_by_integration~#~bool"
                        },
                        "disableDeletedEntitlements": true
                    }
                }
            }
        }
    },
    "acctEntParams": {
        "processingType": "acctToEntMapping"
    }
}

 

 

 

 Example response from Postman:

Olesia_0-1728893672252.png

We also trying with pagination, but still no success.

Tried this:

 

 

                "pagination": {
                    "page": {
                        "pageSizeParam": "take",
                        "pageSize": 50,
                        "pageRecordCount": "completeResponseMap.data.length",
                        "pageNumberParam": "skip",
                        "totalCountPath": "completeResponseMap.totalCount",
                        "firstPageNumber": 1
                    }
                }

 

[This message has been edited by moderator to merge reply comment]

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Please share logs in text format
Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .



‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️ ‼️‼️Refer https://forums.saviynt.com/t5/help/faqpage/title/WhenNotifyAboutPII



Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.