Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersRequest_DeviceInfo

Description

Structure defining a single device for enrollment

Properties

Name JsonSchemaType Description
deviceCurrentUuid reference to Era.Common.DataDefinition.Common.Uuid Used in re-enrollment. If the device uuid is not specified then a new computer will be created. Otherwise the given uuid will be used.
email string The email where to send enrollment link. This is used only if mailData was specified.
phoneNumber string Phone number for this device
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData The new name for the computer(device) and it's description. This has to be filled if deviceCurrentUuid is not specified
userUuid reference to Era.Common.DataDefinition.Common.Uuid If specified then this user will be assigned to the device.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersRequest

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersRequest_DeviceInfo",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersRequest_DeviceInfo"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersRequest_DeviceInfo": {
            "$ref": "#/definitions/RpcEnrollComputersRequest_DeviceInfo"
        }
    },
    "definitions": {
        "RpcEnrollComputersRequest_DeviceInfo": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "deviceCurrentUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "email": {
                    "type": "string"
                },
                "phoneNumber": {
                    "type": "string"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                },
                "userUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                }
            }
        }
    }
}