This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
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?