Account/Summary/All

Sub URL: /account/summary/all

Type: GET

Description: The REST API gets a list that provides summary information for all accounts added by the user. The API output includes information that can be used in making further calls to retrieve additional account information. Please note that account information is not returned for (a) Deleted accounts and (b) Deactivated accounts

Note: To force JSON response pass: {"Content-Type" : "application/json","Accept":"application/json"} in the header.

Input Parameters

Name Description Required Example
cobSessionToken This is the cobrand session token received from the coblogin call. Yes  
userSessionToken This is the user session token received from the login call. Yes  

Returns

This returns a list of all itemSummary object for each one of the accounts added by the user.  Itemsummary contains the account level information such as account number, account balance, account type etc., 

Exceptions

Name Description
InvalidUserContextException If the user context specified is null or invalid.
InvalidConversationCredentialsException If the provided conversation credentials are invalid.

Sample JSON Response

{
    "schemaVersion": 1,
    "ItemContainer": [
        {
            "ContainerName": "BANK",
            "BankingItemAccountSummary": [
                {
                    "href": "https://rest.developer.yodlee.com/services/srest/restserver/v1.0/accountdetail/view?ItemId=10002880&ItemAccountId=10003926",
                    "itemId": "10002880",
                    "itemAccountId": "10003926",
                    "AccountName": "DagBank - TESTDATA",
                    "Balance": {
                        "amount": 44.78,
                        "currencyCode": "USD"
                    },
                    "ContentServiceInfo": {
                        "contentServiceId": 11195,
                        "favicon": {
                            "href": "https://rest.developer.yodlee.com/services/imagecache.restserver.do?icon=favicon&sum_info_id=11195"
                        }
                    },
                    "LastUpdate": {
                        "TimeSinceLastUpdate": {
                            "days": "10",
                            "hours": "15",
                            "minutes": "44"
                        },
                        "date": {
                            "date": "2014-01-25T15:44:12.000-08:00"
                        },
                        "formattedLastUpdateTime": "1 week ago"
                    },
                    "MaskedAccountNumber": "xxxx3xxx",
                    "AccountType": "Checking",
                    "ItemAccountDetails": {
                        "includeInNetworth": true,
                        "isBusinessExpense": false,
                        "isTaxDeductible": false,
                        "isMedicalExpense": false,
                        "isReimbursable": false,
                        "isUpdatePastTransaction": false
                    }
                },
                {
                    "href": "https://rest.developer.yodlee.com/services/srest/restserver/v1.0/accountdetail/view?ItemId=10002880&ItemAccountId=10003927",
                    "itemId": "10002880",
                    "itemAccountId": "10003927",
                    "AccountName": "DagBank - TESTDATA1",
                    "Balance": {
                        "amount": 9044.78,
                        "currencyCode": "USD"
                    },
                    "ContentServiceInfo": {
                        "contentServiceId": 11195,
                        "favicon": {
                            "href": "https://rest.developer.yodlee.com/services/imagecache.restserver.do?icon=favicon&sum_info_id=11195"
                        }
                    },
                    "LastUpdate": {
                        "TimeSinceLastUpdate": {
                            "days": "10",
                            "hours": "15",
                            "minutes": "44"
                        },
                        "date": {
                            "date": "2014-01-25T15:44:12.000-08:00"
                        },
                        "formattedLastUpdateTime": "1 week ago"
                    },
                    "MaskedAccountNumber": "xxxx3xxx",
                    "AccountType": "Checking",
                    "ItemAccountDetails": {
                        "includeInNetworth": true,
                        "isBusinessExpense": false,
                        "isTaxDeductible": false,
                        "isMedicalExpense": false,
                        "isReimbursable": false,
                        "isUpdatePastTransaction": false
                    }
                }
            ],
            "ItemContainerTotal": [
                {
                    "amount": 9089.560000000001,
                    "currencyCode": "USD"
                }
            ]
        }
    ]
}