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

Rest Connector : Syntax for Account Import

gwagh
Regular Contributor
Regular Contributor

Hi Team,

We have to import account using Rest connector, in Postman we triggered api's 1st api will give id's and in the next api call we have to pass that id to fetch meta data. Now I am getting 1st api response in below format:

{
"meta": {
"query_time": 0.014011505,
"pagination": {
"offset": 0,
"limit": 100,
"total": 6
}
},
"resources": [
"1112-2223-14542",
"1112-2223-12123",
"1112-2223-12321",
"1112-2223-19872",
"1112-2223-18978",
"1112-2223-12987"
]
}

We have to import these ID 1st then in the 2nd call we have to pass it in URL then api will return meta data of account.

 

In this what syntax should I use or any syntax available ??

Sample JSON:

{
"accountParams": {
"connection": "accAuth",
"processingType": "SequentialAndIterative",
"call":
{
"call1":
{
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://api.crowdstrike.com/user-management/queries/users/v1",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept":"*/*"
},
"httpMethod": "GET"
},
"listField": "resources",
"keyField": "accountID",
"colsToPropsMap":
{
"accountID": "  ~#~char",
"name": "  ~#~char"
}
}
}
}
}

How I can map it in accountid??

Thanks,

Gaurav

5 REPLIES 5

adarshk
Saviynt Employee
Saviynt Employee

what to do with saviynt APIs here ? @adarshk 


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

AmitM
Valued Contributor
Valued Contributor

Hi @gwagh ,

Hope I have not misunderstood your ask but Saviynt integration for Thycotic has use case where they get IDs in first call and more metadata in second. See if it helps:

https://docs.saviyntcloud.com/bundle/Thycotic-v24x/page/Content/Understanding-the-Integration-betwee...

|First API call : "url": "https://abctest.secretservercloud.com/api/v1/users?filter.includeInactive=true",

Second for metadata : "url": "https://abctest.secretservercloud.com/api/v1/users/${accountName}",

 

Best Regards,

Amit 

This is crowdstrick


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

rushikeshvartak
All-Star
All-Star

This is not supported confirmed with forum team.

Please upvote idea https://ideas.saviynt.com/ideas/EIC-I-5499


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