protected function getRequestBody($params, $data, $options)
    {
        $params['scope'] = 'crmapi';
        $params['authtoken'] = $this->authtoken;
        $params += ['newFormat' => 1]; //'version' => 2,
        if (!empty($data)) {
            $params['xmlData'] = (isset($options['map']) && $options['map']) ? $this->toXML($data) : $data;
        }

        if (!isset($params['content'])) {
            return http_build_query($params, '', '&');
        }

        return $params;
    }