Hi experts
The requirement is to pass the top paramter of the Odata API query dynamically.
Based on the input paylod value, this top parameter should be modified and passed to the API.
For ex : Below is the query where we need to pick the top 10 Campaign objects.
https://xxxxxx.s4hana.ondemand.com/sap/opu/odata/sap/API_MKT_CAMPAIGN_SRV/Campaigns?$top=10&$filter=CampaignCategory eq 'abc' and CampaignLifecycleStatus eq '2'&$orderby=CampaignPriority desc&$format=json&$expand=CampaignAssignedTargetGroups
This value 10 should change based on the input payload value ( we could also maintain a value mapping for the same)
Kindly provide your suggestions.
Regards
Sudarvizhi P
Request clarification before answering.
Thanks Sriprasad Shivaram Bhat. Let me try this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.