Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest

Description

Deprecated, use RpcSetClientTriggerTargetsPendingRequest instead. Requests assigning targets to a client trigger. After this call finishes successfully, task assigned to this trigger will be executed on these targets whenever the trigger fires.

Properties

Name JsonSchemaType Description
clientTriggerStaticObjectIdentification reference to Era.Common.DataDefinition.StaticObject.StaticObjectIdentification Identification of the trigger, for which targets should be set. If modifying the list of targets, use version guard from the report you used to get the previous list of assigned targets.
targetUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of targets (groups or computers) to be assigned to the trigger. Note that this will remove all previously assigned targets unless they are in this list.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsResponse

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTriggerRequest

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest": {
            "$ref": "#/definitions/RpcSetClientTriggerTargetsRequest"
        }
    },
    "definitions": {
        "RpcSetClientTriggerTargetsRequest": {
            "additionalProperties": false,
            "required": [
                "clientTriggerStaticObjectIdentification"
            ],
            "type": "object",
            "properties": {
                "clientTriggerStaticObjectIdentification": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectIdentification#/definitions/StaticObjectIdentification"
                },
                "targetUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                }
            }
        }
    }
}