How to fetch a MaskedBankAccountNumber from InstrumentAssignment webservice?
I'm using rest service
to find the Bank Account Id given a bank account number and the payment party id.
The call I'm making is
https://....fa.ocs.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/instrumentAssignments?q=MaskedBankAccountNumber like '%9897',finder=PaymentInstrumentAttributes;PaymentPartyId=300000006531252,Intent=Supplier
But it ignores my q parameter. The response without the q
https://....fa.ocs.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;PaymentPartyId=300000006531252,Intent=Supplier
shows my masked bank account number so I know it's in the response.
But any q it ignores. I also tried q=PrimaryIndicator = 'Y' for example to make sure it's not the masked bankaccount number that is the trick. But that does not return any values either. As soon as I add the q it returns