[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:[tipo_de_servicio]=ftth

returns this:

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

Solved using the following request: