Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Query Folder | Summary of Elements in this Folder | wm.tn.query:createTPAQuery
 
wm.tn.query:createTPAQuery
Creates a TPA query object. If the TPA is not found, the service reports an error. For other service invocation- or DB-related errors, it throws an exception.
Input Parameters
senderID
String (optional) The ID of the trading partner that has the sender role in the transaction the TPA governs.
receiverID
String (optional) The ID of the trading partner that has the receiver role in the transaction the TPA governs.
agreementID
String The agreement ID of the TPA.
dataSchema
String (optional) A blueprint of the TPA that establishes the TPA parameters and values.
status
String (optional) The status of the TPA. It can have one of three values: proposed, disabled, or agreed.
exportService
String (optional) The fully-qualified name of a service that exports a Trading Networks TPA and converts it to an industry-standard format.
initService
String (optional) The fully-qualified name of a service that sets default values for the IS document type defined by dataSchema.
timeInterval
String (optional) The time period in which the activity log entries were created by Trading Networks. Specify one of the following:
*TODAY
*YESTERDAY
*LAST_7_DAYS
*THIS_WEEK
*LAST_WEEK
*THIS_MONTH
*LAST_MONTH
*YTD
Output Parameters
query
Object The query object.