I get wrong parameters errors from the api Why?
zapi.hostinterface.create( Hostid = 123,
Main = 1,
Ip = 192.168.28.1,
DNS = "bla",
Type = 2,
Useip= 1,
Details = [],
Port = 161,
Community= "public",
Version = 2
)
zapi.hostinterface.create( Hostid = 123,
Main = 1,
Ip = 192.168.28.1,
DNS = "bla",
Type = 2,
Useip= 1,
Details = [],
Port = 161,
Community= "public",
Version = 2
)
Comment