-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i get raw data (returned from API) for each models? #332
Comments
PETOSS-349 |
Thanks for raising an issue, a ticket has been created to track your request |
Every transaction created in Xero that effects the general ledger creates an accounting journal in the background. Typically you can only see these journals in the Journal report found in the Report Centre, however they are also available via the API. If you pull all the journals from your organisation you'll be able to build your own reports as required. To do this you would need to perform an initial process to retrieve the complete set of journals. If these were then stored locally it would only need to be a one-time process. Subsequent updates would only need to retrieve any new journals. Each journal that is related to a transaction will have a source id and source type. You can make calls to the relevant endpoints to get more details eg the contact, the account codes used in the line items etc You can then store the data in a relational database. If you need more information on this, please use this form to raise a case for Xero Support. Xero Developer Centre: |
SDK you're using (please complete the following information):
Describe the solution you'd like
I need to keep copy of data which were returned from you API in my own database. Thats why i want to get raw data from each model (contact, invoice, etc.)
The text was updated successfully, but these errors were encountered: