genFeedUrl method: FeedFactory class
Syntax
genFeedUrl(feed_ID, OperationName, SecurityType)
Description
Use this method to generate the feed URL based on the feed ID and Integration Broker service operation name. If the service operation name is empty, the default service operation, PTFP_GETFEED, is used.
Parameters
| Parameter | Description |
|---|---|
|
feed_ID |
Specifies the ID for the feed definition as a string. |
|
OperationName |
Specifies the Integration Broker service operation name as a string. The default service operation is PTFP_GETFEED. |
|
SecurityType |
Specifies the security type for the feed as a string. |
Returns
A feed URL as a string.
Example
import PTFP_FEED:FeedFactory;
Local PTFP_FEED:FeedFactory &thisFeedFactory = create PTFP_FEED:FeedFactory();
Local string &url = &thisFeedFactory.genFeedUrl("feed_ID", "PTFP_GETFEED", ⇒
&thisFeedFactory.Utility.FEEDSECUTYPE_PUBLIC);