Searching for a specific field on the API

Hello there,
I’m trying to search my patients on the API using their “ClientPatientID”, I’ve tried using the search and tried passing parameters directly to the patient path neither worked, but If I was looking searching using their id it works just fine.

Searching using the ids (what works):

  1. using search: 192.168.1.154/flims/@@API/senaite/v1/search?portal_type=Patient&id=P015819
  2. direct: 192.168.1.154/flims/@@API/senaite/v1/patient/?id=P000006

Searching using the “ClientPatientID”(what does not work/ what I need):

  1. Using search: 192.168.1.154/flims/@@API/senaite/v1/search?portal_type=Patient&ClientPatientID=123456
  2. Direct: 192.168.1.154/flims/@@API/senaite/v1/patient/?ClientPatientID=123456

I’ve tried both “ClientPatientID” and “getClientPatientID”, neither worked.
Both of them return the whole list, just like I’m not really filtering/searching over anything