Maybe we should explain this a little more? At least give a link to Zabbix API documentation (https://www.zabbix.com/documentation/2.0/manual/appendix/api/hostinterface/definitions#host_interface). Example does not explain what "type: 1" ot "type: 4" means.