Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationRequest

Description

Modify notification request. If there is a trigger in this notification, the trigger internal state will be reset (e.g. if the trigger should end after 10 occurrences, after calling RpcModifyNotificationRequest, there will be new 10 occurrences, regardless of how many times the trigger was fired before)

Properties

Name JsonSchemaType Description
configuration reference to Era.Common.DataDefinition.Task.Server.SendNotification Notification configuration.
isEnabled boolean Notification enabled state.
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData Notification data.
staticObjectIdentification reference to Era.Common.DataDefinition.StaticObject.StaticObjectIdentification ID of the notification.
triggerConfiguration reference to Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration Notification trigger configuration.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationRequest": {
            "$ref": "#/definitions/RpcModifyNotificationRequest"
        }
    },
    "definitions": {
        "RpcModifyNotificationRequest": {
            "additionalProperties": false,
            "required": [
                "staticObjectIdentification"
            ],
            "type": "object",
            "properties": {
                "configuration": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.SendNotification#/definitions/SendNotification"
                },
                "isEnabled": {
                    "type": "boolean"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                },
                "staticObjectIdentification": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectIdentification#/definitions/StaticObjectIdentification"
                },
                "triggerConfiguration": {
                    "$ref": "Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration#/definitions/ServerTriggerConfiguration"
                }
            }
        }
    }
}