on 2023 Feb 16 7:34 PM
Hello experts,
i´m trying to connect a SuccessFactors API through SAP BTP Destination REST API Integration on SAP Buils Apps, however, i need to filter the URL to access to specific information of one employee, for example, I´m using the following URL: https://apisalesdemo8.successfactors.com/odata/v2/PerPerson, but I want to use data dynamically, adding something like this: "/PerPerson('123456')" where 123456 is the person id of some employee.
I configured the Rest API like this:
Then, in the list configuration, i can filter on Relative path and query as I explained before:
When i try to configure dynamically this section I don´t have another option, only static text and formula:
And, in the formula's options i can´t add any variable,
so, I need help to filter dynamically the information of that API,
Thanks.
First, why do you use "list" if you are trying to get a single object?
In any event, we had a similar situation in our TechEd demo. We used the SAP Build Process Automation API where we wanted to get status information for a specific process instance.
So we defined the generic API in the base, but we also defined a variable in the request schema for the instance ID.
In the "Create record" action, we defined a formula for the relative path:
The formula was:
"/" + query.record.spaidinput + "/execution-logs"
So now, when I have a flow function "Create record". In the configuration, I set the data resource to the data resource I defined above:
And if I click on "Custom object" I get to set the binding for the customer resource schema variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
10 | |
10 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.