14
Views
4
Comments
Post by Consume API using the argument values received by Expose API.
Application Type
Service
Service Studio Version
11.54.36 (Build 62983)

Using the arguments received in the Expose API, we would like to hit the three APIs, process the values and return them as a Response.

  • How do I use the received argument values in Json format for the Consume API?
  • Is it possible to run the Consume API and keep the returned value as a variable and process it in a function?
  • When doing 3 APIs in sequence, are they processed synchronously?
2024-11-05 11-28-22
Sunil Rajput

hii

i am sharing OML kindly check Expose and consume API

APIPractice.oml
UserImage.jpg
Keisuke Shimizu

Hello!

Thank you for sending me the OML!

Please let me check it out and ask any questions if there are any clarifications!

2024-11-05 11-28-22
Sunil Rajput

Ok you can ask

UserImage.jpg
Keisuke Shimizu

@Sunil Rajput 

Thanks for the OML. I have checked it all the way through.

Sorry if the following questions are elementary. I have a few questions.

・Can I do what I want to achieve by dragging and dropping the Consume API into the Expose API flow? (For example, put Create inside CreateEmployee)

・If I understand the above correctly, does this mean using CreateOrUpdateEmploye.Id to skip the request to the Consume API? How can this be implemented?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.