Integration Server 11.1 | Built-In Services Reference Guide | Assets Folder | Summary of Elements in this Folder | pub.assets:getPackageAssetsWithFilter
 
pub.assets:getPackageAssetsWithFilter
WmPublic. Retrieves a list of assets in a package, optionally limiting results to a type of asset.
Input Parameters
packageName
String Name of the package from which to retrieve asset information.
assetType
String List Optional. A list of asset types you want to retrieve information. Asset types include Flow Service, Java Service, Document Type, etc.
includeDependency
Boolean Optional. Specifies whether or not to include a list of assets that depend on or reference assets in the package in the service results. Set to:
*true to generate a list of dependencies or references for each asset.
*false to skip generating the list of dependents and references assets. The dependents, references, dependentsError, and referencesError output parameters are not returned. This is the default setting.
Output Parameters
asset
Document List Asset information for the package.
Key
Description
name
String Fully qualified name of the asset.
type
String Asset type, such as Flow Service, Java Service, or Document Type.
displayName
String Local name for the asset.
category
String Asset category, such as Service, Document, or Trigger.
visible
String Indicates whether the asset can be referenced from outside the package or not.
*private indicates that the asset cannot be referenced from outside the package.
*public indicates that the asset can be referenced from outside the package.
Note:
Use IBM webMethods.io Integration to specify whether or not an asset can be referenced from outside the package.
favorite
Boolean Indicates whether the asset is a marked as a favorite.
*true indicates that the asset is marked as a favorite.
*false indicates that the asset is not marked as a favorite.
Note:
Use IBM webMethods.io Integration to mark an asset as a favorite.
deprecated
Boolean Indicates whether the asset has been deprecated.
*true indicates that the asset is deprecated.
*false indicates that the asset is not deprecated.
Note:
Use IBM webMethods.io Integration to mark an asset as deprecated.
since
String Indicates the version of package in which the asset was created.
Note:
Use IBM webMethods.io Integration to specify the version of the package.
tag
String List A list of tags assigned to the asset.
Note:
Use IBM webMethods.io Integration to assign tags to assets.
dependents
String List A list of assets that depend on or use this asset. If there are no dependents, or there are errors retrieving dependents, the service returns an empty list.
references
String List A list of assets that are referenced or used by this asset. If there are no references, or there are errors retrieving references, the service returns an empty list.
dependentsError
String Conditional. Message indicating the error preventing retrieval of a list of dependent assets. This parameter is returned only if there is an error in retrieving the dependent assets.
referencesError
String Conditional. Message indicating the error preventing to retrieve a list of referenced assets. This parameter is returned only if there is any error in retrieving the referenced assets.