...
update | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=update | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | First performs a search based on the submitted DHCP Entry criteria, then performs an Update across those entries and all found Options based on new values. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns | Examples:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Optional Parameters |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example URL | /api/v1/api.php?target=DHCPEntry&action=update&SearchID=123&UpdateName=30.20.10.0 |
updateOption | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=updateOption | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | First performs a search based on the submitted DHCP Entry criteria, then performs an Update across all found Options, without altering found Entries. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns | Examples:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Optional Parameters |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example URL | /api/v1/api.php?target=DHCPEntry&action=updateOption&SearchNetmask=255.255.255.0&UpdateValue=30.20.10.10 |
add | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=add | ||||||||||||||||||||
Description | Adds a new DHCP Entry and returns the new ID. | ||||||||||||||||||||
Returns | Examples:
| ||||||||||||||||||||
Required Parameters |
| ||||||||||||||||||||
Optional Parameters |
| ||||||||||||||||||||
Example URL | |||||||||||||||||||||
addOption | |||||||||||||||||||||
URL | /api/v1/api.php?target=DHCPEntry&action= | addOptionadd&EntryServerId=123&EntryType=subnet&EntryName=30.20.10.1&EntryNetmask=255.255.255.0 |
addOption | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=addOption | ||||||||||||||||
Description | Description | Creates a new DHCP Option and returns the new ID. | |||||||||||||||
Returns | Examples:
| ||||||||||||||||
Required Parameters |
| ||||||||||||||||
Example URL | /api/v1/api.php?target=DHCPEntry&action=addOption&OptionSubnetId=123&OptionKey=range&OptionValue=30.20.10.10 |
delete | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=delete | ||||||||||||||||||||||||||||||||||||||||||||||||
Description | Performs a search over the DHCP Entry dataset and deletes all found matches, along with their associated Options. | ||||||||||||||||||||||||||||||||||||||||||||||||
Returns | Examples:
| ||||||||||||||||||||||||||||||||||||||||||||||||
Optional Parameters |
| ||||||||||||||||||||||||||||||||||||||||||||||||
Example URL | /api/v1/api.php?target=DHCPEntry&action=delete&EntryParent=123 |
deleteOption | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | /api/v1/api.php?target=DHCPEntry&action=deleteOption | ||||||||||||||||||||||||||||||||||||||||||||||||
Description | Performs a search over the DHCP Entry dataset and deletes all found Options while leaving the Entries intact. | ||||||||||||||||||||||||||||||||||||||||||||||||
Returns | Examples:
| ||||||||||||||||||||||||||||||||||||||||||||||||
Optional Parameters |
| ||||||||||||||||||||||||||||||||||||||||||||||||
Example URL | /api/v1/api.php?target=DHCPEntry&action=deleteOption&EntryNetmask=255.255.255.0 |