<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>External API Procedures :: Aperio Documentation</title><link>/rpg/externalapi/index.html</link><description>External APIs Procedures This chapter describes prcedures to complete an HTTP request to external API.</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="/rpg/externalapi/index.xml" rel="self" type="application/rss+xml"/><item><title>extApi()</title><link>/rpg/externalapi/extapi/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapi/index.html</guid><description>This procedure completes an HTTP request with the specified HTTP method
Parameter Type Description httpMethod 10A Mandatory Specifies the HTTP method to use. Valid values are GET, POST, PUT and DELETE. You can also use already prepared constant values from Aperio copy book: HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_METHOD_PUT and HTTP_METHOD_DELETE url 2048A VARYING Mandatory URL at which to complete the request. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. This parameter is crucial for the POST and PUT methods - if it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description bellow).</description></item><item><title>extApiDelete()</title><link>/rpg/externalapi/extapidelete/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapidelete/index.html</guid><description>This procedure deletes a resource from the specified URL through an HTTP DELETE request.
Parameter Type Description url 2048A VARYING Mandatory URL at which to complete the request. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiGet()</title><link>/rpg/externalapi/extapiget/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiget/index.html</guid><description>This procedure retrieves a resource from the specified URL through an HTTP GET request.
Parameter Type Description url 2048A VARYING Mandatory URL at which to complete the request. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiPost()</title><link>/rpg/externalapi/extapipost/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapipost/index.html</guid><description>This procedure creates a resource under the specified URL through an HTTP POST request.
Parameter Type Description url 2048A VARYING Mandatory URL at which to complete the request. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. If it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiProxy()</title><link>/rpg/externalapi/extapiproxy/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiproxy/index.html</guid><description>This procedure completes an HTTP request with the specified HTTP method by forwarding the request to a service from External API services file.
Parameter Type Description httpMethod 10A Mandatory Specifies the HTTP method to use. Valid values are GET, POST, PUT and DELETE. You can also use already prepared constant values from Aperio copy book: HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_METHOD_PUT and HTTP_METHOD_DELETE servicdId 30A Mandatory Specifies the service from External API services file to complete the request. destinationUrl 2048A VARYING Optional Represents the value which is concatenated with the url which stands behind given service id to create final url where request is sent. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. This parameter is crucial for the POST and PUT methods - if it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiProxyDelete()</title><link>/rpg/externalapi/extapiproxydelete/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiproxydelete/index.html</guid><description>This procedure deletes a resource from the specified URL through an HTTP DELETE request by forwarding the request to a service from External API services file.
Parameter Type Description servicdId 30A Mandatory Specifies the service from External API services file to complete the request. destinationUrl 2048A VARYING Optional Represents the value which is concatenated with the url which stands behind given service id to create final url where request is sent. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiProxyGet()</title><link>/rpg/externalapi/extapiproxyget/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiproxyget/index.html</guid><description>This procedure retrieves a resource from the specified URL through an HTTP GET request by forwarding the request to a service from External API services file.
Parameter Type Description servicdId 30A Mandatory Specifies the service from External API services file to complete the request. destinationUrl 2048A VARYING Optional Represents the value which is concatenated with the url which stands behind given service id to create final url where request is sent. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiProxyPost()</title><link>/rpg/externalapi/extapiproxypost/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiproxypost/index.html</guid><description>This procedure creates a resource under the specified URL through an HTTP POST request by forwarding the request to a service from External API services file.
Parameter Type Description servicdId 30A Mandatory Specifies the service from External API services file to complete the request. destinationUrl 2048A VARYING Optional Represents the value which is concatenated with the url which stands behind given service id to create final url where request is sent. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. This parameter is crucial for the POST and PUT methods - if it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiProxyPut()</title><link>/rpg/externalapi/extapiproxyput/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiproxyput/index.html</guid><description>This procedure updates a resource under the specified URL through an HTTP PUT request by forwarding the request to a service from External API services file.
Parameter Type Description servicdId 30A Mandatory Specifies the service from External API services file to complete the request. destinationUrl 2048A VARYING Optional Represents the value which is concatenated with the url which stands behind given service id to create final url where request is sent. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. This parameter is crucial for the POST and PUT methods - if it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description here).</description></item><item><title>extApiPut()</title><link>/rpg/externalapi/extapiput/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/externalapi/extapiput/index.html</guid><description>This procedure updates a resource under the specified URL through an HTTP PUT request.
Parameter Type Description url 2048A VARYING Mandatory URL at which to complete the request. httpHeader 10240A VARYING Optional An optional header XML document. To use the default HTTP header, do not pass the parameter or specify the empty string. See Foundational HTTP functions at IBM Knowledge Center for a description of the header content. requestMsg 65535A VARYING Optional Specifies the data to update at the specified URL. If it hasn’t been passed then the empty string request is sent. Procedure returns response message data structure (see data structure description here).</description></item></channel></rss>