{"id":8484,"date":"2020-09-24T11:10:38","date_gmt":"2020-09-24T18:10:38","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=8484"},"modified":"2020-09-24T11:10:39","modified_gmt":"2020-09-24T18:10:39","slug":"output-endpoint-with-serviceconfiguration-api-web-service-call","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/output-endpoint-with-serviceconfiguration-api-web-service-call\/","title":{"rendered":"Output Endpoint with ServiceConfiguration (API\/Web Service Call)"},"content":{"rendered":"\n<p>Please refer to the following post for more details:&nbsp;<a href=\"https:\/\/minisoft.com\/support\/index.php\/eformz-api-management-developer-resources\/\">eFORMz API Management (Developer Resources)<\/a><\/p>\n\n\n\n<p>There are two primary endpoints available to eFORMz customers. These are the \u2018director\u2019 and \u2018output\u2019 endpoints. For more on the &#8216;director&#8217; endpoint, consult the following post: <a href=\"\/support\/index.php\/director-endpoint-with-serviceconfiguration\/\">Director Endpoint with ServiceConfiguration (API\/Web Service Call)<\/a><\/p>\n\n\n\n<p>An \u201cendpoint\u201d is one end of a communication channel. When&nbsp;<a href=\"https:\/\/minisoft.com\/support\/index.php\/eformz-api\/\">an API interacts with another system<\/a>, the touchpoints of this communication are considered endpoints. For APIs, an endpoint can include a URL of a server or service. The place that APIs send requests and where the resource lives is called an endpoint.<\/p>\n\n\n\n<p>The \u2018director\u2019 endpoint returns success or failure only. It processes data in the background. The \u2018output\u2019 endpoint processes data during the call and returns the results as part of the web service call. Both of these endpoints can take parameters either through the URL or in the data.<\/p>\n\n\n\n<p>While the portion of the URL with authentication is encrypted for transmission, many people have policies restricting this practice. Passing the parameters in the data, including authentication, is possible using either XML or JSON. The order or sequence of elements in either format is not relevant to the processing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">URL<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/localhost:8001\/servlet\/com.minisoft.AppServer.AppServer?APP=com.minisoft.eformz.eFORMzApp&amp;config=projects\/OutputGuideServer\/configOutputUsePostData.xml<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">XML<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?> \n&lt;ServiceConfiguration ServiceType=\"output\" project=\"projects\/OutputGuideServer\/MapPackSlipData0.efz\" format=\".xml\"> \n  &lt;InputData format=\"XML\"> \n    &lt;Root> \n      &lt;abc>test&lt;\/abc> \n    &lt;\/Root> \n  &lt;\/InputData> \n&lt;\/ServiceConfiguration> <\/code><\/pre>\n\n\n\n<p>The root node must be named\u00a0<code>ServiceConfiguration<\/code>\u00a0and the parameters are specified as attributes of that node. The\u00a0<code>output<\/code>\u00a0parameter directs the eFORMz web service to return the output of an eFORMz project specified by the\u00a0<code>project<\/code>\u00a0parameter. The calling application can pass in input data for the project in a variety of ways. The\u00a0<code>InputData<\/code>\u00a0node with the attribute\u00a0<code>format<\/code>\u00a0specifies the format of the embedded data. The data passed to the project is the\u00a0<code>Root<\/code>\u00a0node and all of its descendant nodes (<code>abc<\/code>\u00a0in this example).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<p>For more details on the eFORMz API, consult the following posts:<\/p>\n\n\n\n<p><a href=\"https:\/\/minisoft.com\/support\/index.php\/eformz-api-net-web-service-call\/\">eFORMz API .NET Web Service Call<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/eformz-api-url-parameters\/\">eFORMz API URL Parameters<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/web-service-post-call-to-wake-up-a-sleeping-queue-part-1\/\">Web Service POST call to \u201cWake Up\u201d a \u201cSleeping\u201d Queue: Part 1<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/web-service-post-call-to-wake-up-a-sleeping-queue-part-2\/\">Web Service POST call to \u201cWake Up\u201d a \u201cSleeping\u201d Queue: Part 2<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/web-service-post-call-to-wake-up-a-sleeping-queue-part-3\/\">Web Service POST call to \u201cWake Up\u201d a \u201cSleeping\u201d Queue: Part 3<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/web-service-post-call-output-advantages\/\">Web Service POST Call Output Advantages<\/a><br><a href=\"https:\/\/minisoft.com\/support\/index.php\/web-service-post-call-output\/\">Web Service POST Call Output<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please refer to the following post for more details:&nbsp;eFORMz API Management (Developer Resources) There are two primary endpoints available to eFORMz customers. These are the \u2018director\u2019 and \u2018output\u2019 endpoints. For more on the &#8216;director&#8217; endpoint, consult the following post: Director Endpoint with ServiceConfiguration (API\/Web Service Call) An \u201cendpoint\u201d is one end of a communication channel. [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[454],"tags":[584,583,633,346,342],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8484"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=8484"}],"version-history":[{"count":1,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8484\/revisions"}],"predecessor-version":[{"id":8486,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8484\/revisions\/8486"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=8484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=8484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=8484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}