How to Have REST Always Respond with an Array: UniformResponse Parameter
(Doc ID 2499031.1)
Last updated on MAY 23, 2022
Applies to:Siebel CRM - Version 18.9 and later
Information in this document applies to any platform.
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.
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