Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddComputersToUserRequest

Description

Assigns computers to user

Properties

Name JsonSchemaType Description
computerUuids array of references to Era.Common.DataDefinition.Common.Uuid Computers to be assigned to the user.
userUuid reference to Era.Common.DataDefinition.Common.Uuid The user uuid.
versionGuard integer Version guard for the computer, to which the users are assigned.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddComputersToUserResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddComputersToUserRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddComputersToUserRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddComputersToUserRequest": {
            "$ref": "#/definitions/RpcAddComputersToUserRequest"
        }
    },
    "definitions": {
        "RpcAddComputersToUserRequest": {
            "additionalProperties": false,
            "required": [
                "userUuid",
                "versionGuard"
            ],
            "type": "object",
            "properties": {
                "computerUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "userUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "versionGuard": {
                    "type": "integer"
                }
            }
        }
    }
}