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
Hi,
We are trying to use API Expenses v4 to get the reports of the expenses, but for calling the API I need to know the userID. contextType and reportId, but I don't seem to have an API to get me the list of reportIds with userID.
Has anyone used this API already? Are we looking at it wrongly?
Thanks in advance,
Pedro
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
@S0018407879 Thanks for posting in the SAP Concur Community. When reading the Expense v4 API details on developer.concur.com, it appears that you need to use Identity v4 API to retrieve the userID.
Remember to tag me if you respond or feel free to mark this post as Solved if you don't have further questions or comments. To tag me on your response, you click the Reply button, first thing to type is @. This should bring up the username of the person you are replying to.
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
@leedau ,
Thanks a lot for your answer.
We have checked the API documentation and we have a problems. - We are not able to access Identity v4 API to retrieve the userID.
But even if we get the userID, we will need to get the reportId.
We were using Reports v3 and it had an API to get the reports. On version v4 I could not find it.
And even having the reportIds, then we should loop through all the users and for each user loop through all the reports? It doesn't seem to be very performant.
Our intent is to get all the information of the Expense reports into SAP BW and it is proving to be quite difficult, even considering that both are SAP Technologies.
Can you tell me if we are approaching this in the wrong way?
Thanks,
Pedro