CCrmLeadWS::GetWebServiceDesc

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmLeadWS
  4. GetWebServiceDesc
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/ws_lead.php
  • Класс: \CCrmLeadWS
  • Вызов: CCrmLeadWS::GetWebServiceDesc
static function GetWebServiceDesc()
{
	$wsdesc = new CWebServiceDesc();
	$wsdesc->wsname = 'bitrix.crm.lead.webservice';
	$wsdesc->wsclassname = 'CCrmLeadWS';
	$wsdesc->wsdlauto = true;
	$wsdesc->wsendpoint = CWebService::GetDefaultEndpoint();
	$wsdesc->wstargetns = CWebService::GetDefaultTargetNS();

	$wsdesc->classTypes = array();
	$wsdesc->structTypes = array();


	$wsdesc->classes = array(
		'CCrmLeadWS' => array(
			'GetFieldsList' => array(
				'type' => 'public',
				'name' => 'GetFieldsList',
				'input' => array(),
				'output' => array(
					'GetFieldsListResult' => array('varType' => 'any')
				),
				'httpauth' => 'Y'
			),
			'Add' => array(
				'type'		=> 'public',
				'name'		=> 'Add',
				'input'		=> array(
					'data' => array('varType' => 'any')
				),
				'output'	=> array(
					'result' => array('varType' => 'string')
				),
				'httpauth' => 'Y'
			)
		)
	);

	return $wsdesc;
}

Добавить комментарий