tagApplication Data Type

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Properties
name data type type namespace min/max occurs constraints description
accountId long element edc 1/1 required  
tagId long element edc 1/1 required  
entityType etype element edc 0/1    
entityId string element edc 0/1    
appliedOn dateTime element edc 0/1    
appliedBy long element edc 1/1 required  
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.

Example

<tagApplication xmlns="http://eurotech.com/edc/2.0">
  <accountId>...</accountId>
  <tagId>...</tagId>
  <entityType>...</entityType>
  <entityId>...</entityId>
  <appliedOn>...</appliedOn>
  <appliedBy>...</appliedBy>
  <optlock>...</optlock>
</tagApplication>