Jump to content

API requests only return a subset of attribute on every endpoint


 Share

Recommended Posts

Hello, 

I'm trying to pick up data from Sage Accounting APIs for an integration with other systems.

I went through all the quick start process in the API References and was able to complete my first request, but as I try to query data different than the "countries" endpoint, I keep on getting responses with only "id", "displayed_as" and "path" attributes despite the endpoint supposedly having many more attributes.

Am i missing something?

image.png.0e95cf07b167a66046d92add84c65a8d.png

image.png.dad5280c3ee24a31500f296a4e95b02a.png

 

 

Thanks for any help.

Link to comment
Share on other sites

Hi Caludio,

Thank you for your post.

Alternatively to requesting attributes=all you can use the ID of the data record to obtain the full response. 

https://api.accounting.sage.com/3.1/ledger_accounts/e438573afaca11e7aa730a57719b2edb

Thanks

Mark

https://developer.sage.com/accounting/reference/accounting-setup/#tag/Ledger-Accounts/operation/getLedgerAccountsKey

Screenshot 2024-02-22 at 08.16.15.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...