Hello!
I need to get the firewall options from all my VMs via an API call. I found out that the optional parameters are not sent at all when they are at the default values.
But the API Viewer shows the default values just for dhcp, enable, macfilter, ndp as boolean 0. The other parameters have no default value according to the page

When I change one parameter once it will be always shown in the API response. Also if I change it back to the default it is shown. Is there somehow a possibility to always get the value also when they never got changed? I would need to get all the settings to store them.
Example:
The same behavior I have for all values here.
Is there a way to always get all values also when they are optional?
Br.
I need to get the firewall options from all my VMs via an API call. I found out that the optional parameters are not sent at all when they are at the default values.
But the API Viewer shows the default values just for dhcp, enable, macfilter, ndp as boolean 0. The other parameters have no default value according to the page

When I change one parameter once it will be always shown in the API response. Also if I change it back to the default it is shown. Is there somehow a possibility to always get the value also when they never got changed? I would need to get all the settings to store them.
Example:
The same behavior I have for all values here.
Is there a way to always get all values also when they are optional?
Br.