        return $this->client->call(
            Client::METHOD_{{ method.method | caseUpper }},
            $apiPath,
            $apiHeaders,
            $apiParams{% if method.type == 'webAuth' -%}, 'location'{% endif %}

        );