cancel
Showing results for 
Search instead for 
Did you mean: 
sschaefer
New Member - Level 1

API: Get Individual Expenses from Expense Report

Hello, I'm trying to use the v3 API to get all Expense Reports in a date range, then go through each of the reports and gather some data about each expense in those reports.

 

I'm using this endpoint: api/v3.0/expense/reports?user=all (with some additional filtering).  This works as expected.

I then try to use the use the response I just received to get further details about that report using the ID field for each Report

I use this endpoint: api/v3.0/expense/reports/<report_id> (I have also tried just using the 'URI' included with the report, but it appears to be the same as this)

 

This does not work, I get a response of:

{"Message": "A resource with the specified ID could not be found."}

 

This seems odd since the endpoint I'm making the request to is directly given to me by the API response from the previous request.

 

How do you obtain the expenses in a given report?

0 REPLIES 0