B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:getEvents
 
wm.tn.doc:getEvents
Retrieves the activity log entries (events) that are associated with a specified document.
Input Parameters
internalId
String The internal document ID of the document for which to retrieve activity log entries. This is a unique ID that Trading Networks assigns to the document.
errorsOnly
String (optional) Whether you want the service to retrieve all entries or only error entries. Valid values are:
*true - Retrieves only error entries.
*false - Retrieves all entries.
Output Parameters
eventCount
String The number of activity log entries that the service returned.
errorCount
String The number of activity log entries of type “Error” that the service returned. If you specified true for errorsOnly, the value of errorCount will be equal to eventCount.
events
Document List A list of activity log entries associated with the document. For the structure of each activity log entry that is returned in the events document list, see wm.tn.rec:ActivityLogEntry.
Usage Notes
The behavior of this service has been changed to return the date and time in the long format only if the value of the isMWS parameter while invoking the wm.tn.query:doQuery service is set to “yes”. In all other cases, this service returns the date and time in the yyyy-MM-dd HH:mm:ss format.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release