Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need JSON schema for Creating JSON response for successful records via OIC

edited Aug 12, 2022 9:13PM in Integration 1 comment

Summary:Need JSON schema for Creating JSON response for successful records via OIC


Content (required):I have an app driven oic integration that takes in array of employee details.

[{"name":"ABC","PersonNo":"123"},{"name":"DEF","PersonNo":"456"},{"name":"GHI","PersonNo":"789"}]

I want to iterate these records and check whether emps api is successful or not. If two of them succeed and one of them fail(say 789 person fail), I want to create a separate JSON for it and return them.

Output of OIC will be [{"name":"ABC","PersonNo":"123"},{"name":"DEF","PersonNo":"456"}]

How to create this integration. What should be schema used


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!