Documentation

crm.enum.addresstype

crm.enum.addresstype()

Returns items of Address Type list.

Possible values

{
    "result": [
       {
           "ID": 1,
           "NAME": "Actual address"
       },
       {
           "ID": 4,
           "NAME": "Registration address"
       },
       {
           "ID": 6,
           "NAME": "Legal address"
       },
       {
           "ID": 9,
           "NAME": "Beneficiary address"
       }
   ],
   "time": {
       "start": 1561544164.224608,
       "finish": 1561544164.245065,
       "duration": 0.020457029342651367,
       "processing": 0.008939027786254883,
       "date_start": "2019-06-26T13:16:04+03:00",
       "date_finish": "2019-06-26T13:16:04+03:00"
   }
}

Parameters

No parameters.

Example



    BX24.callMethod(
        "crm.enum.addresstype", 
        {}, 
        function(result) 
        {
            if(result.error())
                console.error(result.error());
            else
                console.dir(result.data());
        }
    );	


© «Bitrix Inc.», 2001-2020, «Bitrix Inc.», 2020