deviceJob Data Type

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Properties
name data type type namespace min/max occurs constraints description
cronNextRetryOn dateTime element edc 0/1    
cronRetryExpression string element edc 0/1    
deviceInactivityTimeout long element edc 0/1    
endOn dateTime element edc 0/1    
processOnConnect boolean element edc 0/1    
requestTimeout long element edc 0/1    
resumed boolean element edc 1/1 required  
retryEvery int element edc 1/1 required  
sendWakeupSMS boolean element edc 0/1    
status deviceJobStatus element edc 0/1    
wakeupTimeout long element edc 0/1    
Properties inherited from job
accountId long element edc 1/1 required  
createdBy long element edc 1/1 required  
createdOn dateTime element edc 0/1    
displayName string element edc 0/1    
id long element edc 1/1 required  
jobProperties string element edc 0/1    
jobType jobType element edc 0/1    
optlock int 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.

retryCount int element edc 1/1 required  
retryMaxAttempts int element edc 1/1 required  
startOn dateTime element edc 0/1    

Example

<deviceJob xmlns="http://eurotech.com/edc/2.0">
  <status>...</status>
  <cronRetryExpression>...</cronRetryExpression>
  <endOn>...</endOn>
  <cronNextRetryOn>...</cronNextRetryOn>
  <retryEvery>...</retryEvery>
  <resumed>...</resumed>
  <requestTimeout>...</requestTimeout>
  <processOnConnect>...</processOnConnect>
  <sendWakeupSMS>...</sendWakeupSMS>
  <wakeupTimeout>...</wakeupTimeout>
  <deviceInactivityTimeout>...</deviceInactivityTimeout>
  <id>...</id>
  <accountId>...</accountId>
  <jobType>...</jobType>
  <displayName>...</displayName>
  <jobProperties>...</jobProperties>
  <createdOn>...</createdOn>
  <createdBy>...</createdBy>
  <startOn>...</startOn>
  <retryMaxAttempts>...</retryMaxAttempts>
  <retryCount>...</retryCount>
  <optlock>...</optlock>
</deviceJob>