Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest

Description

Create server task request.

Properties

Name JsonSchemaType Description
serverTaskConfiguration reference to Era.Common.DataDefinition.Task.ServerTaskConfiguration Task configuration. Task of type NOTIFICATION is not allowed.
serverTriggerConfiguration reference to Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration Trigger configuration. If not provided, task without trigger is created.
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData Task data.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest": {
            "$ref": "#/definitions/RpcCreateServerTaskRequest"
        }
    },
    "definitions": {
        "RpcCreateServerTaskRequest": {
            "additionalProperties": false,
            "required": [
                "serverTaskConfiguration",
                "staticObjectData"
            ],
            "type": "object",
            "properties": {
                "serverTaskConfiguration": {
                    "$ref": "Era.Common.DataDefinition.Task.ServerTaskConfiguration#/definitions/ServerTaskConfiguration"
                },
                "serverTriggerConfiguration": {
                    "$ref": "Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration#/definitions/ServerTriggerConfiguration"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                }
            }
        }
    }
}