getItemSummariesWithoutItemData returns every account several times - yodlee

Using getItemSummariesWithoutItemData API endpoint + FastLink.
If I open frame and log in once - getItemSummariesWithoutItemData returns proper result.
But when I open FastLink frame again (for another activity) and user logs into the same bank getItemSummariesWithoutItemData returns the same record twice.
How can I remove duplicates from getItemSummariesWithoutItemData response?

Ideally we do not return duplicates.
You can distinguish between the accounts which you have added, by checking thememSiteAccId (in the API response) as this is unique for a site account.
Hope this helps.
Regards,
Krithik

Related

Instagram: Limit results on User Search

I am trying to search for a user using the APIs provided by Instagram and I want to limit number of users returned in the API call. Currently, I am getting a list of all the users who match the query string.
I tried passing the count parameter but that is not working and I am still getting a list of all users.
Is there a way to limit the number of users returned in the response and to provide pagination? If not, what is the maximum number of users that can be returned?
API Used: https://api.instagram.com/v1/users/search?q=searchQuery&access_token=ACCESS-TOKEN
Reference: https://www.instagram.com/developer/endpoints/users/
use &count= it works:
https://api.instagram.com/v1/users/search?q=kevin&count=3&access_token=ACCESS-TOKEN
this API call will return 3 results.

Linkedin REST API - likes and comments

We are using Linkedin REST API and we need to get the number of likes and comments from owned companies updates. The method get-updates always returns the last 3 likes/comments and also the total is 3, even if you have more than 3. So in order to get all the likes/comments of the updates we have to make a query to each update because that way we get all the likes/comments. But this is not a good method because if I have 100 updates then I have to do 101 api calls and a user has a limit of 700 per day, so they are very easily get depleted. We really find it hard to believe there is no way your API doesn't solve the n+1 problem. So how can it be done?
Thank you!
if you hit this URL -> "https://api.linkedin.com/v1/companies/{id}/company-statistics", provided if you have the id of the company page.
you can get the likes,clicks,impressions,engagement,shares,comments in month break up wise.
For more info
LinkedIn API Company statistics data

Yodlee - How I can identifying the itemAccountId for a specific account number

As per the api description the call : getItemSummaryForItem1 should be used to fetch the itemAccountIds for a site account. The response of this call has only last four digits of the account number. I need to identify which item summary corresponds to which account in the list of bank accounts under this site account. Is comparing the last 4 digits alone is sufficient?
Thanks.
You need not call getItemSummaryForItem1 to get itemAccountIds for a site account as Yodlee has enhanced the response of getItemSummariesForSite which now returns both itemID and itemAccountId hence you need not worry about any mapping.
Just to answer the last part - Yes the last 4 digits of the account number is enough.

Get transaction by item account id

Hi I am using rest api to access yodlee aggregation services. i am not able to search transaction by item account id. My rest query is as follows
parameters = {
'transactionSearchRequest.searchFilter.itemAcctId'=>itemId,
'cobSessionToken'=>cobSessionToken,
'userSessionToken'=>userSessionToken,
'transactionSearchRequest.containerType'=>con_name,
'transactionSearchRequest.lowerFetchLimit'=>0,
'transactionSearchRequest.resultRange.endNumber'=>500,
'transactionSearchRequest.higherFetchLimit'=>500,
'transactionSearchRequest.resultRange.startNumber'=>1,
'transactionSearchRequest.ignoreUserInput'=>'true',
'transactionSearchRequest.searchFilter.transactionSplitType.splitType'=>"A"
}
The response is always all the transactions for the user instead of transactions for a particular item account id.
Any help is appreciated
You are passing ItemId but the parameter passed should be ItemAccoutnId.
Difference between ItemId and ItemAccountId -
when you link a site say "Citibank" then an itemId is created and then say you have a saving and a checking account under Citibank then both these accounts will have an unique identifier called itemAccountId.
Hence the transaction search takes itemAccountId as the parameter and will return transaction only for that account.
Please use below API to get ItemAccountId and pass it to the transaction Search.
https://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/Aggregation_REST_API_Reference/getItemSummaryForItem1

LinkedIn connection search by first name and last name

Is there way to search first name and last name for linkedin connection filter using LinkedIn API?
Suppose I am authenticated by linkedIn and show connection in popup.LinkedIn connection response only 500 connection one time request. So I do paging 500 connection. But I want to send invitations to two persons, so I want to give search widget by first name and last name from my LinkedIn connections.
You could use the People Search API to search on first and last name, restricting the search to just your connections:
http://api.linkedin.com/v1/people-search?first-name=Clair&last-name=Smith&facet=network,F
Update:
In terms of 'filtering' the returned values to remove the current user making the call from the result set, you should check for the returned user's relationship to the viewer:
http://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,relation-to-viewer:(distance)))?first-name=Clair&last-name=Smith&facet=network,F
Then check the results, and remove the users that have a relation-to-user of 0.