Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse_DeviceResult

Description

This structure holds results for a single enrollment item.

Properties

Name JsonSchemaType Description
androidEnrollmentJson string The QR code json (in case we want the Android for work)
deviceUuid reference to Era.Common.DataDefinition.Common.Uuid The device uuid
enrollmentLink string The result enrollment link for this device
errorCode enum of Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse_DeviceResult_EnumErrorCode The code related to errorMessage, could be used to identify same errors in GUI.
errorMessage string If there was a problem, then this will hold a localized error message if possible.
index integer The result index (starting from 0) in the request. If index is for example 2, then this item refers to the index at position in the request [RpcEnrollComputersRequest] in devicesToEnroll.
pairUserWithDeviceError string If there was a problem during pairing of the device with user, then this will hold a non-localized error message.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse_DeviceResult",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse_DeviceResult"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Groups.RpcEnrollComputersResponse_DeviceResult": {
            "$ref": "#/definitions/RpcEnrollComputersResponse_DeviceResult"
        }
    },
    "definitions": {
        "RpcEnrollComputersResponse_DeviceResult": {
            "additionalProperties": false,
            "required": [
                "enrollmentLink",
                "index"
            ],
            "type": "object",
            "properties": {
                "androidEnrollmentJson": {
                    "type": "string"
                },
                "deviceUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "enrollmentLink": {
                    "type": "string"
                },
                "errorCode": {
                    "enum": [
                        0,
                        1,
                        2,
                        3,
                        4
                    ]
                },
                "errorMessage": {
                    "type": "string"
                },
                "index": {
                    "type": "integer"
                },
                "pairUserWithDeviceError": {
                    "type": "string"
                }
            }
        }
    }
}