Jump to content

When I call the general Ledger (Get an account group), I received an API error message each time saying that there is a status 500 internal Server Error.


 Share

Recommended Posts

When I call the general Ledger (Get an account group), I received an API error message each time saying that there is a status 500 internal Server Error. The API Link is - https://api.intacct.com/ia/api/v1-beta2/objects/general-ledger/account-group/1966. You need to fix it. It is a bug.generalLedger(Getanaccountgroup).thumb.gif.cc210138532023de60d9a3f89e3d78f1.gif  Attached below is a snapshot of the error message.

Link to comment
Share on other sites

@Shlomi Dvir We're aware of that bug and account-group will be fully functional in 24R3 (August timeframe). As a work around you can use the query service. Use this as a baseline query body and add additional fields and filters as needed. The filter that is there must stay there however.

{

    "object": "general-ledger/account-group",

    "fields": [

        "key",

        "id",

        "groupType"

    ],

    "filters": [

        {

            "$in": {

                "groupType": [

                    null,

                    "accounts",

                    "groups",

                    "statisticalAccounts",

                    "computation",

                    "category",

                    "statisticalCategory"

                ]

            }

        }

    ],

    "start": 1,

    "size": 100

}

Link to comment
Share on other sites

 Share

×
×
  • Create New...