Documentation

sale.businessValuePersonDomain.add

sale.businessValuePersonDomain.add(fields.businessvaluepersondomain)

The method adds item of legal and indicvidual entities.

When successful, returns legal and individual entities resource in response body.

Parameters

ParameterType Description
fields.businessvaluepersondomainobject Fields, corresponding to available list of fields.


Examples

BX24.callMethod(
    'sale.businessValuePersonDomain.add', 
    {
	  fields: {
		  personTypeId: 17,
		  domain: E
		}
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up