PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

PeopleTools Document based REST service - Question using Collection with min Occurs of 0 (zero)

edited Jul 5, 2019 11:18AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 5 commentsAnswered

I've created a Document bases REST Service Operation in Tools 8.55.23 and I'm having an issue with a Collection in the document.  Is it possible to have minimum occurs of 0 for a collection, and totally ignore the Collection in the response message? 

Use case is that I'm returning Voucher information and if a Voucher has been paid I'm returning an open ended Collection of Payment information rows.  If a Voucher is in a Pending Approval status, there is not yet any payment information so I just ignore the Payment collection, return a root primitive with a status of 'P'ending and move on.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center