PeopleTools Document based REST service - Question using Collection with min Occurs of 0 (zero)
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.