get journals from xero using REST API

i want to get journals from xero by calling the REST API.

I have the credentials.. I just want to know what are the input parameters should be passed in the GET API.


Hi Nanishq

Is this what you are looking for?

https://developer.xero.com/documentation/api/journals

Eduardo Jauch wrote:

Hi Nanishq

Is this what you are looking for?

https://developer.xero.com/documentation/api/journals

but i'm not getting the jounals.. i'm getting 401 unauthorized error..

i'm passing 1.authorization 2.tenant id 3.contenttype as input parameters for the api

kindly tell me what are the correct paramters should i pass

Hanishq PM wrote:

Eduardo Jauch wrote:

Hi Nanishq

Is this what you are looking for?

https://developer.xero.com/documentation/api/journals

but i'm not getting the jounals.. i'm getting 401 unauthorized error..

i'm passing 1.authorization 2.tenant id 3.contenttype as input parameters for the api

kindly tell me what are the correct paramters should i pass

i'm getting invoices.. no issues in getting invoices..

but i cant able to get journals


Hi, 

I can't tell, because I don't know this API.
The Get Journal method I saw does not use any parameter... 

But I would recommend you to read about it, starting from here: https://developer.xero.com/documentation/getting-started/getting-started-guide

This will guide you with examples, as you probably need to authenticate first, before being able to use the API.

Cheers.

Eduardo Jauch wrote:

Hi, 

I can't tell, because I don't know this API.
The Get Journal method I saw does not use any parameter... 

But I would recommend you to read about it, starting from here: https://developer.xero.com/documentation/getting-started/getting-started-guide

This will guide you with examples, as you probably need to authenticate first, before being able to use the API.

Cheers.


by using the above picture.. i can able to retrive invoices.. 

i need to get journals

Hi,

I suggest you enter in contact with the XERO support to ask how to implement this.
They are the best. Only they know what parameters and how to send them.

After this, if you have doubts on how to implement what is needed in OutSystems, we can help.

But specificities about the API you have to ask to the API owner.

Cheers