Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest

Description

Create multiple users under a single user group.

Properties

Name JsonSchemaType Description
collisionHandling enum of Era.Common.DataDefinition.Users.CollisionHandling Collision handling for users (if there is a name collision).
parentGroupUuid reference to Era.Common.DataDefinition.Common.Uuid The uuid of the parent group under which the users should be created.
users array of references to Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest_CreateUserData The list of users to create.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest": {
            "$ref": "#/definitions/RpcCreateUsersRequest"
        }
    },
    "definitions": {
        "RpcCreateUsersRequest": {
            "additionalProperties": false,
            "required": [
                "collisionHandling",
                "parentGroupUuid"
            ],
            "type": "object",
            "properties": {
                "collisionHandling": {
                    "enum": [
                        1,
                        2
                    ]
                },
                "parentGroupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "users": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.NetworkMessage.ConsoleApi.Users.RpcCreateUsersRequest_CreateUserData#/definitions/RpcCreateUsersRequest_CreateUserData"
                        }
                    ]
                }
            }
        }
    }
}