The simpleFilte r filter is used to match one or more sites or site aliases by ID. This filter is used in get, set, switch, enable, disable operations. Data type: simpleFilterType (dns_input.xsd).The graphical representation of the filter node is as follows:

image-34767.png

  • The site-id node is required. It specifies the site ID in Plesk database. Data type: integer.
  • The site-alias-id is required. It specifies the site alias ID in Plesk database. For information on site aliases, refer to the Supported Operations: Managing Site Aliases section. Data type: integer.

Remarks

You can match multiple sites using this filter. The combination of two filtering rules in one filter node can look as follows:

<filter>
   <site-id>1</site-id>
   <site-id>12</site-id>
</filter>

You can also match multiple site aliases using this filter. The combination of two filtering rules in one filter node can look as follows:

<filter>
   <site-alias-id>1</site-alias-id>
   <site-alias-id>12</site-alias-id>
</filter>

Note: You can use either site-id, or site-alias-id when using this filter. The packet that contains both parameters in a single filter node will be considered invalid by Plesk server.