Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddUsersToComputerRequest

Description

Request to assign users to a computer.

Properties

Name JsonSchemaType Description
computerUuid reference to Era.Common.DataDefinition.Common.Uuid The computer uuid where to assigne the user
userUuids array of references to Era.Common.DataDefinition.Common.Uuid A list of user uuids to be assigned
versionGuard integer Version guard for the computer, to which the users are assigned.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Users.RpcAddUsersToComputerResponse

Referenced in messages

No references.

JsonSchema

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