cancel
Showing results for 
Search instead for 
Did you mean: 
S0018407879
Occasional Member - Level 1

Difficulties using API Expense / Reports V4

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

2 REPLIES 2
leedau
SAP Concur Employee
SAP Concur Employee

@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. 

 

leedau_0-1700600951530.png

 

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.

 

 


Thank you,
Lee-Anne Dautovic
SAP Concur Community Moderator
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
S0018407879
Occasional Member - Level 1

@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