3.1.4.63.3.1 SetAutomaticUpdateApprovalRuleRequestBody
Contains the ruleId, updateClassificationIds, categoryIds, targetGroupIds, enabled, and action fields for setting automatic update approval rules.
-
<xsd:complexType name="SetAutomaticUpdateApprovalRule"> <xsd:sequence> <xsd:element minOccurs="1" maxOccurs="1" name="ruleId" type="xsd:int"/> <xsd:element minOccurs="0" maxOccurs="1" name="name" nillable="true" type="xsd:string"/> <xsd:element minOccurs="1" maxOccurs="1" name="enabled" type="xsd:boolean"/> <xsd:element minOccurs="1" maxOccurs="1" name="action" type="xsd:int"/> <xsd:element minOccurs="0" maxOccurs="1" name="updateClassificationIds" nillable="true" type="tns:ArrayOfGuid"/> <xsd:element minOccurs="0" maxOccurs="1" name="categoryIds" nillable="true" type="tns:ArrayOfGuid"/> <xsd:element minOccurs="0" maxOccurs="1" name="targetGroupIds" nillable="true" type="tns:ArrayOfGuid"/> </xsd:sequence> </xsd:complexType>
ruleId: This field MUST be present. It specifies the ID of the automatic deployment rule to set, or 0 to create a new rule.
name: This field MUST be present. It specifies the name of the rule. If the name is set to an empty string, the update server MUST send a SOAP fault message as specified in section 3.1.4.1.
enabled: This field is a Boolean and specifies whether or not the rule is enabled.
action: This field MUST be present. It specifies the action of the rule.
updateClassificationIds: This field MUST be present. It specifies the UpdateClassification IDs of the rule. If any of the classification IDs specified are not found in the database, the update server MUST send a SOAP fault message as specified in section 3.1.4.1.
categoryIds: This field MUST be present. It specifies the category IDs of the rule. If any of the category IDs specified are not found in the database, the update server MUST send a SOAP fault message as specified in section 3.1.4.1.
targetGroupIds: This field MUST be present. It specifies the targetGroup IDs of the rule. If any of the target group IDs specified are not found in the database, the update server MUST send a SOAP fault message as specified in section 3.1.4.1.