deviceCreator element

Type: deviceCreator
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

DeviceCreator encapsulates all the information needed to create a new Device in the system. The data provided will be used to seed the new Device and its related information. The clientId field of the Device is used to store the MAC address of the primary network interface of the device. The Device will always be created with connection status disconnected and no last event information. The fields of the DeviceCreator presents the attributes that are searchable for a given device. The DeviceCreator Properties field can be used to provide additional properties associated to the Device; those properties will not be searchable through Device queries. Some of those properties are recognized by the platform and promoted a top level attributes of the Device class.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <deviceCreator xmlns="http://eurotech.com/edc/2.0"> <accountId>...</accountId> <deviceUserId>...</deviceUserId> <clientId>...</clientId> <displayName>...</displayName> <modelId>...</modelId> <serialNumber>...</serialNumber> <imei>...</imei> <imsi>...</imsi> <iccid>...</iccid> <firmwareVersion>...</firmwareVersion> <biosVersion>...</biosVersion> <osVersion>...</osVersion> <jvmVersion>...</jvmVersion> <osgiFrameworkVersion>...</osgiFrameworkVersion> <esfVersion>...</esfVersion> <connectionIp>...</connectionIp> <acceptEncoding>...</acceptEncoding> <applicationIdentifiers>...</applicationIdentifiers> <gpsLatitude>...</gpsLatitude> <gpsLongitude>...</gpsLongitude> <customAttribute1>...</customAttribute1> <customAttribute2>...</customAttribute2> <customAttribute3>...</customAttribute3> <customAttribute4>...</customAttribute4> <customAttribute5>...</customAttribute5> <properties>...</properties> <signedCertificateId>...</signedCertificateId> <credentialsTight>...</credentialsTight> <credentialsAllowChange>...</credentialsAllowChange> <certificateCommonName>...</certificateCommonName> </deviceCreator>

Example JSON

{ "accountId" : ..., "deviceUserId" : ..., "clientId" : "...", "displayName" : "...", "modelId" : "...", "serialNumber" : "...", "imei" : "...", "imsi" : "...", "iccid" : "...", "firmwareVersion" : "...", "biosVersion" : "...", "osVersion" : "...", "jvmVersion" : "...", "osgiFrameworkVersion" : "...", "esfVersion" : "...", "connectionIp" : "...", "acceptEncoding" : "...", "applicationIdentifiers" : "...", "gpsLatitude" : ..., "gpsLongitude" : ..., "customAttribute1" : "...", "customAttribute2" : "...", "customAttribute3" : "...", "customAttribute4" : "...", "customAttribute5" : "...", "properties" : "...", "signedCertificateId" : ..., "credentialsTight" : "INHERITED", "credentialsAllowChange" : false, "certificateCommonName" : "..." }