Response—GetTransactionStatus
Returns an XML element that contains information about the transactions that have been processed.
GetTransactionStatus response |
|
---|---|
Node/Attribute name |
Description |
TotalTransactionCount |
The total number of transactions in the system, regardless of how many transactions have been converted into XML. |
TransactionXmlCount |
The number of transactions that have been converted in to XML. Transaction XMLs are used to generate ODM transactions. If the system is up to date, TotalTransactionCount and TransactionXmlCount will be equal. |
TransactionXmlRemaining |
The number of transactions that remain in the system after the specified bookmark. |
LastTransactionXmlTime |
The time/date of the most recent transaction. Note: If this time/date is far in the past, it might indicate either of the following:
|
If TransactionsProcessed (as returned by GetTransactions) are summed, you can compare that number with the information that is returned from GetTransactionStatus to verify that you have received everything.
SumOfTransactionsprocessed + TransactionXmlRemaining = TransactionXmlCount
To find the percentage of transactions completed:
1 - TransactionXmlRemaining / TransactionXmlCount = % complete
For more information, see GetTransactionStatus example response.