jobExecution Data Type

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Abstract Type
Subtypes
deviceJobExecution, provisionJobExecution
Properties
name data type type namespace min/max occurs constraints description
accountId long element edc 1/1 required  
endedOn dateTime element edc 0/1    
executionId long element edc 1/1 required  
jobId long element edc 1/1 required  
log string element edc 0/1    
optlock long element edc 1/1 required The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.

startedOn dateTime element edc 0/1    

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
<jobExecution xmlns="http://eurotech.com/edc/2.0">
  <accountId>...</accountId>
  <jobId>...</jobId>
  <executionId>...</executionId>
  <startedOn>...</startedOn>
  <endedOn>...</endedOn>
  <log>...</log>
  <optlock>...</optlock>
</jobExecution>