[SOLVED] List internet service by parameters using API - Possible using additional fields?

I need to retrieve a list of service using API. Following the documentation, searching using main attributes is working fine.

Is it possible to search inside our additional fields? I’ve tried it but is not working. I have created an additional field named “tipo_de_servicio” .

This is what example documentation says:

$search = [
‘main_attributes’ => [
‘tariff_id’ => ‘1’
]
]
;

This is what i’m requesting using postman:

http://195.7.12.90/api/2.0/admin/customers/customer/0/internet-services?main_attributes[tipo_de_servicio]=ftth

returns this:

{“error”:{“code”:500,“internal_code”:“SERVER_ERROR”,“message”:“Invalid attribute: tipo_de_servicio”}}

Solved using the following request:
URL/api/2.0/admin/customers/customer/0/internet-services?additional_attributes[gps_location]=