How to Have REST Always Respond with an Array: UniformResponse Parameter
(Doc ID 2499031.1)
Last updated on OCTOBER 23, 2023
Applies to:
Siebel CRM - Version 18.9 and laterInformation in this document applies to any platform.
Goal
By default, Java REST module in AI intelligently identifies a data REST response with only one record and unwraps the array container from the response before sending to the client hence sending only “the record” to the client
This document explains how to provide a consistent interface to consumers by wrapping the response inside an array container and sent to the client, even if it the response has only one record.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |