Device Job Result events Schema
AVRO schema for DJR event
{ "type" : "record", "name" : "DJR", "fields" : [ { "name" : "requestId", "type" : [ "null", "long" ], "default" : null }, { "name" : "serialNumber", "type" : "string" }, { "name" : "subscriberId", "type" : [ "null", "string" ], "default" : null }, { "name" : "networkId", "type" : [ "null", "string" ], "default" : null }, { "name" : "make", "type" : [ "null", "string" ], "default" : null }, { "name" : "model", "type" : [ "null", "string" ], "default" : null }, { "name" : "groupId", "type" : [ "null", "long" ], "default" : null }, { "name" : "groupName", "type" : "string" }, { "name" : "jobId", "type" : "long" }, { "name" : "jobName", "type" : [ "null", "string" ], "default" : null }, { "name" : "jobPrimitive", "type" : "string" }, { "name" : "jobType", "type" : "string" }, { "name" : "jobNBICorrelator", "type" : [ "null", "string" ], "default" : null }, { "name" : "jobGroupId", "type" : [ "null", "long" ], "default" : null }, { "name" : "jobGroupFullName", "type" : "string" }, { "name" : "startedOn", "type" : [ "null", "long" ], "default" : null }, { "name" : "serverTime", "type" : [ "null", "long" ], "default" : null }, { "name" : "endedOn", "type" : [ "null", "long" ], "default" : null }, { "name" : "retries", "type" : "int" }, { "name" : "status", "type" : "string" }, { "name" : "subStatus", "type" : "string" }, { "name" : "faultString", "type" : [ "null", "string" ], "default" : null }, { "name" : "nativeClientTargeted", "type" : "boolean" }, { "name" : "jobInitiator", "type" : "string" }, { "name" : "resolvedVariables", "type" : [ "null", "string" ], "default" : null }, { "name" : "response", "type" : [ "null", { "type" : "map", "values" : [ "null", "string" ] } ], "default" : null } ], "connect.version" : 1, "connect.name" : "DJR" }
Field Name | Description | Field Type |
---|---|---|
requestId |
Transaction ID per job. | Integer |
serialNumber |
Unique identifier of a device. | String |
subscriberId |
The phone number of the subscriber using the device. For example, an MSISDN for a 3GPP-compliant device, or an MDN for a CDMA device. One subscriber ID can have multiple devices, but only one will be active. | String |
networkId |
Uniquely identifies a cellular subscriber in the International Mobile Subscriber Identity (IMSI). | Integer |
make |
Specifies the name of the device manufacturer. | String |
model |
Specifies the device model. | String |
groupId |
Tenant ID to which the device belongs. | Integer |
groupName |
Fully qualified tenant Name to which the device belongs. | String |
jobId |
The ID of the Job. | Integer |
jobName |
Generated name of the job in case of Single Device Job, Name of the campaign in case of Campaign, and Policy name in case of Policy. | String |
jobPrimitive |
The primitive which was used in the job. | String |
jobType |
Indicated whether the job was of type SINGLE, CAMPAIGN, or POLICY. | String |
jobNBICorrelator |
The unique ID used by the NBI to identify a job when attempt to execute an NBI method related to a job. | String |
jobGroupId |
Tenant ID to which the job belongs. | Integer |
jobGroupFullName |
Fully qualified tenant name to which the job belongs. If the Job belongs to superadmin/Global-Admin this shows as UNKNOWN_TENANT. | String |
startedOn |
Time stamp indicating when the job was started. | Long |
serverTime |
Time stamp indicating when this job was queued. | Long |
endedOn |
Time stamp indicating when the job ended. | Long |
retries |
The number of times this job has been attempted. | Integer |
status |
The outcome of the job. | String |
subStatus |
Additional information about the job outcome. | String |
faultString |
An error message for the job. | String |
nativeClientTargeted |
The default bootstrap type for a device. | Boolean |
jobInitiator |
Indicates the initiating entity of the master job to which the job result is associated. | Boolean |
resolvedVariables |
The variables that are defined in an action or primitive and are resolved using SCC, DYNAMIC VARIABLES, and JOB PARAMETERS. | String |
response |
Response received from the device. | Map |