Skip to main content
Omnitracs Knowledge Base

ESS TransactionBlock

The ESS Transaction Block data type is implemented as the TransactionBlock class. It is returned by the ESS Dequeue method. The attributes of an ESS TransactionBlock are:

 

Attribute

 

 

Description

 

Count

This integer value contains the number of transactions that are contained in this block.

Transactions

An array of bytes containing the transactions that were retrieved by this call to dequeue. Each transaction is delimited <tran> ID="nnnnn" ... </tran>


The transaction block will contain ESS Transactions, as defined by clicking the prior link. Also helpful in making use of the returned transaction block is the ESS Transaction Schema.

(warning) Please note that the transaction data is defined in the WSDL as XML data type xsd:base64Binary. You will need to employ a base64Binary decoder to translate the transaction data into ASCII or Unicode. Some platforms have built-in functions to do this. .NET is one such example. Other platforms will require you download and use a library containing the base64Binary decoder. A Google search for your platform with the term "base64 decoder" will likely show several freely available algorithms for decoding base64Binary data. The algorithm is well defined and rather simple to replicate.

  • Was this article helpful?