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.
http://eurotech.com/edc/2.0
name | data type | type | namespace | min/max occurs | constraints | description |
---|---|---|---|---|---|---|
acceptEncoding | string | element | edc | 0/1 | ||
accountId | long | element | edc | 1/1 | required | |
applicationIdentifiers | string | element | edc | 0/1 | ||
biosVersion | string | element | edc | 0/1 | ||
certificateCommonName | string | element | edc | 0/1 | ||
clientId | string | element | edc | 0/1 | ||
connectionIp | string | element | edc | 0/1 | ||
credentialsAllowChange | boolean | element | edc | 1/1 | required | |
credentialsTight | deviceCredentialsTight | element | edc | 0/1 | ||
customAttribute1 | string | element | edc | 0/1 | ||
customAttribute2 | string | element | edc | 0/1 | ||
customAttribute3 | string | element | edc | 0/1 | ||
customAttribute4 | string | element | edc | 0/1 | ||
customAttribute5 | string | element | edc | 0/1 | ||
deviceUserId | long | element | edc | 1/1 | required | |
displayName | string | element | edc | 0/1 | ||
esfVersion | string | element | edc | 0/1 | ||
firmwareVersion | string | element | edc | 0/1 | ||
gpsLatitude | double | element | edc | 0/1 | ||
gpsLongitude | double | element | edc | 0/1 | ||
iccid | string | element | edc | 0/1 | ||
imei | string | element | edc | 0/1 | ||
imsi | string | element | edc | 0/1 | ||
jvmVersion | string | element | edc | 0/1 | ||
modelId | string | element | edc | 0/1 | ||
osVersion | string | element | edc | 0/1 | ||
osgiFrameworkVersion | string | element | edc | 0/1 | ||
properties | string | element | edc | 0/1 | ||
serialNumber | string | element | edc | 0/1 | ||
signedCertificateId | long | element | edc | 0/1 |
Example
<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>