If an Accredited Data Recipient (ADR) calls the Get Balances for Specific Accounts with an empty accountIds array, should the Data Holder (DH) respond with an empty array, or with a 400 Bad Request error?
If the accountIds is totally empty, a Bad Request error should be returned since the field is mandatory, but what if the array is present, however no account is provided?
The data standards aren't explicit on this point, consequently the response is at the discretion of the DH. Both responses make sense.
If you think an explicit response (e.g. 400 Bad Request) is desirable, please feel free to raise a change request.
- CDS Get Balances for Specific Accounts
- CDS RequestAccountIds
- CDS 400 Bad Request Errors
- Creating a Change Request