This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bw:bizweaver_api [2019/09/10 12:07] runger [Bizweaver API] |
bw:bizweaver_api [2020/07/23 11:26] (current) |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| To initiate another workflow within Bizweaver, use a **// | To initiate another workflow within Bizweaver, use a **// | ||
| - | <WRAP center round tip 60%> | + | <WRAP center round tip 80%> |
| - | The option to use POST and GET to initiate a Bizweaver workflow is introduced in v2.4. | + | Processes beginning with v2.4 should |
| - | + | ||
| - | Processes beginning with v2.4 should | + | |
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important |
| A token must be generated in order to use the POST processes described below. | A token must be generated in order to use the POST processes described below. | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important |
| Use caution when connecting multiple workflows in a sequence. | Use caution when connecting multiple workflows in a sequence. | ||
| </ | </ | ||
| Line 22: | Line 20: | ||
| When a Bizweaver workflow is called (initiated) using POST, the configuration of the WebService2 tool involves two sections: the URI and the Body. An example is shown below. | When a Bizweaver workflow is called (initiated) using POST, the configuration of the WebService2 tool involves two sections: the URI and the Body. An example is shown below. | ||
| - | {{: | + | {{ : |
| + | |||
| * Change the **YourServer: | * Change the **YourServer: | ||
| Line 31: | Line 31: | ||
| * Select the " | * Select the " | ||
| * Enter the appropriate values in the "Body Information" | * Enter the appropriate values in the "Body Information" | ||
| + | |||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | Finding the proper port needed will be in your IIS Manager which can be found in Start -> Windows Administrative Tools -> Internet Information Services (IIS) Manager. There will be a drop down for your server, then you will see Sites drop down and then Versago click on Versago and on the right panel there will be the proper port needed to use in the API call. | ||
| + | </ | ||
| + | |||
| + | Here is a sample of the full URL. Copy and paste this string as a starting point. | ||
| + | |||
| + | < | ||
| + | https:// | ||
| + | </ | ||
| <code json> | <code json> | ||
| { | { | ||
| - | " | + | " |
| " | " | ||
| { | { | ||
| Line 55: | Line 66: | ||
| <code json> | <code json> | ||
| { | { | ||
| - | " | + | " |
| " | " | ||
| } | } | ||
| - | </ | ||
| - | |||
| - | =====Call Another Workflow Using GET===== | ||
| - | When a Bizweaver workflow is called (initiated) using GET, the configuration of the WebService2 tool involves only the URI section. | ||
| - | |||
| - | |||
| - | http: | ||
| - | |||
| - | The elements in <color # | ||
| - | |||
| - | - The server where Bizweaver is installed | ||
| - | - The port assigned to the Bizweaver web service when the application was installed. | ||
| - | - The Bizweaver workflow ID to be invoked. This can be found in Bizweaver and will always be numeric. | ||
| - | - The name of the variable in Bizweaver that will receive a value from Versago. | ||
| - | - Value(s) to be passed to Bizweaver. | ||
| - | - If value(s) are not being passed to Bizweaver, the space between the curly braces is left blank. | ||
| - | - If the value is a value from the form, use the Column Name from the form enclosed in tilde symbols (~) as shown. | ||
| - | - If the value is static the tildes are not used. | ||
| - | - In both cases the value being passed is enclosed in single quotes. | ||
| - | - If multiple values need to be sent to Bizweaver, separate each pair of values (steps 5 and 6) by a comma. See sample 3 in the next section. | ||
| - | |||
| - | ===== Bizweaver Action Target String Samples ===== | ||
| - | |||
| - | Example using HTTP to port 8082 on server “TWBSTestserver.demo.com”, | ||
| - | <code html> | ||
| - | http:// | ||
| - | </ | ||
| - | |||
| - | Example using HTTPS to port 443 on server “TWBSTestserver.demo.com”, | ||
| - | <code html> | ||
| - | https:// | ||
| - | </ | ||
| - | |||
| - | Example using HTTP to port 8082 on server “TWBSTestserver.demo.com, | ||
| - | <code html> | ||
| - | http:// | ||
| </ | </ | ||