Provides integration into multiple API's using REST and Swagger documents.

Revision History

1.0.0.4 Initial Release

Properties

Connection

Type: Connection Input
The Connection Property

SwaggerUrl
Type: String
Example: https://petstore.swagger.io/v2/swagger.json

AuthType
Type: Option
Example: "Basic"

SiteUrl
Type: String
Example: https://petstore.swagger.io

Username
Type: String
API public key.

Password
Type: Password
Your API private key.

AccessToken
Type: Password

Headers

Type: String Multiline Input
If you want to specify the headers used in the Web Request yourself, they can be filled in here. One per each line.

OperationId

Type: String Input
Populated by a GUID relevant to the selected Sample.

Request

Type: Multiline Text Input
The Request JSON payload, operations that include inserting or updating data in ConnectWise will use this.

Response

Type: Multiline Text Output
The Response JSON payload, contains the response received from ConnectWise Manage.

Custom Inputs

Custom inputs are automatically created for the node when a sample containing url parameters has been selected. Url parameters that are part of the API call are required, while query type parameters can be removed or added based on individual need.

Remarks

Setting up a Connection

This Node makes use of Basic and Bearer Authentication.

  1. First insert your Swagger url into the Swagger Url field. Ensure this field is returning a JSON payload by using the same url in your browser and inspecting the content.
  2. Select your authentication type via the AuthType dropdown. Current options include "Basic" and "Bearer".
  3. Complete your SiteUrl by copying the base url for the API that you want to access into the SiteUrl field.
  4. If you are using Basic Authentication, fill in the Username and Password and the node will insert them into the header.
  5. If you are using Access Tokens then insert your AccessToken key into the AccessToken field.
  6. Save and Test your connection.
  7. Refresh MetaData.

Using Query String Parameters

When selecting samples that support query string parameters, your node will be populated with custom properties such as "conditions" and "orderBy".  You can use these properties by filling in values according to the spec provided through the API documentation of the API you are trying to access.

Example

Please see the following Example Workflow. https://flowgear.me/#s/oGmiukg

Node Samples

Access Node Samples to see a list of available calls.

Did this answer your question?