Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskRequest

Description

Create client task request.

Properties

Name JsonSchemaType Description
clientTaskConfiguration reference to Era.Common.DataDefinition.Task.ClientTaskConfiguration Task configuration.
collisionsHandling enum of Era.Common.DataDefinition.Task.CreateClientTaskCollisionsHandling Collision handling, used in case identical task already exists (identical name, description and configuration). By default, the task is duplicated, ignoring the existence of previous instances.
createClientTriggerRequest reference to Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTriggerRequest Create client trigger request. Ability to create a task with a trigger in one rpc call
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData Task data.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskRequest": {
            "$ref": "#/definitions/RpcCreateClientTaskRequest"
        }
    },
    "definitions": {
        "RpcCreateClientTaskRequest": {
            "additionalProperties": false,
            "required": [
                "clientTaskConfiguration",
                "staticObjectData"
            ],
            "type": "object",
            "properties": {
                "clientTaskConfiguration": {
                    "$ref": "Era.Common.DataDefinition.Task.ClientTaskConfiguration#/definitions/ClientTaskConfiguration"
                },
                "collisionsHandling": {
                    "enum": [
                        1,
                        2
                    ]
                },
                "createClientTriggerRequest": {
                    "$ref": "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTriggerRequest#/definitions/RpcCreateClientTriggerRequest"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                }
            }
        }
    }
}