apitemplate-io-connector
Service icon

APITemplate.io Connector

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 12 December 2024
 by 
APITemplate.io
0.0
 (0 ratings)
apitemplate-io-connector

APITemplate.io Connector

Documentation
1.0.1

Configure APITemplate.io Connector

1. Create an account at APITemplate.io.

2. Log in to your account, go to the API Integration tab, and click "Copy API Key".

3. In OutSystems Service Center, open Factory > Modules > module ApiTemplateIO_IS. Go to the Site Properties and use the API Key from the previous step to update the ApiKey Site Property.

Use APITemplate.io Connector in OutSystems

You can download the demo app together with this Forge Component to see examples of all the actions that are available in the Library.

Available Actions to generate Images or PDF documents

  • CreateImageFromTemplate
    For this action, a Template is needed in the APITemplate.io portal. Once this is configured, the action can be called with the Template fields as properties.
  • CreatePdfFromHtml
    The action can be called with the HTML properties filled-in. The Body, CSS, and Data will be converted to PDF. The Body can contain template fields, which will be replaced with the actual values stored in the Data.
  • CreatePdfFromTemplate
    For this action, a Template is needed in the APITemplate.io portal. Once this is configured, you will see a JSON structure on the JSON tab in the Edit Template screen.

    Copy the JSON and paste this as a new Structure in OutSystems Service Studio.

    When you want to create the PDF in your app, fill in the structure, serialize it, and use this as the JSON input variable of the action. 
  • CreatePdfFromTemplateAsync
    The functionality is the same as above, but the action will create the PDF asynchronously. When the PDF is finished, it will be sent to a webhook or the user can fetch it from a list of Generated Objects by the Transaction Reference, returned from this action.
    The webhook needs to be created in the consumer app with some follow-up actions to process the PDF document correctly.
  • CreatePdfFromUrl
    The action can be called with a URL and several page settings.
  • MergePdfs
    The action can be called with a list of PDF document URLs that need to be merged into one larger PDF document.



1.0.0

Configure APITemplate.io Connector

1. Create an account at APITemplate.io.

2. Log in to your account, go to the API Integration tab, and click "Copy API Key".

3. In OutSystems Service Center, open Factory > Modules > module ApiTemplateIO_IS. Go to the Site Properties and use the API Key from the previous step to update the ApiKey Site Property.

Use APITemplate.io Connector in OutSystems

You can find a basic setup for all the actions that are available in the APITemplate.io Connector. You can download the demo app together with this Forge Component.