Document toolboxDocument toolbox

(v1) .IP Range Bulk Update Event v2022.1

The IP Range Bulk Update Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.

IP Range Bulk Update
/**
* Event: IP Address Bulk Update requested
* Listener Class: Core_Model_IpAddress
* Listener Method: eventBulkUpdate
*/

PCR_Event::attachDb(
    "bulk-update",
    ["Core_Model_IpAddress" => "eventBulkUpdate"]
);
PCR_Event::trigger(
    "bulk-update", 
	[ 		
		"status" => "163",
		"set_protocol" => "ipv4",
		"octet1" => "10",
		"octet2" => "126",
		"octet3" => "112",
		"octet4" => "32",
		"octet5" => null,
		"octet6" => null,
		"octet7" => null,
		"octet8" => null,
		"bulkOctet1" => "10",
		"bulkOctet2" => "126",
		"bulkOctet3" => "112",
		"bulkOctet4" => "36",
		"bulkOctet5" => null,
		"bulkOctet6" => null,
		"bulkOctet7" => null,
		"bulkOctet8" => null,
		"description" => "test",

		"RECID" => "addNew",

		"contact" => "216121", 		//RecID of Contact that initiated the update
		"confirmed" => true,
		"ipAddress" => "10.126.112.32",
		"ip4amount" => 5,

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Oct 4, 2022, 1=>19 pm",
		"eventBroadcastDayofWeek" => "2",
		"eventBroadcastHourMin" => "1319",  
	]
);

Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242