Need JSON schema for Creating JSON response for successful records via OIC
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):