Create an API endpoint for an application

Initial Situation

You use the "Task Planning" application to manage your projects.

The "Task Planning" application is one of the many application templates available for free in Intrexx. For more information on this topic, see the following sections:

Your company has three teams: Finance, Marketing, and Sales.

You (David Winter) are a member of the Sales team.

Your team is currently working on the "New ERP" project. Three tasks have been created for your team. There is one task each in the "To Do," "In Progress," and "Completed" statuses.

Objective

As a member of the Sales Team, you'll be traveling a lot. You'd also like to quickly get an overview of the teams while on the go using a mobile app or other "third-party software." This tutorial describes the solution to this problem.

You use the Intrexx Application API to create a REST interface for task scheduling. It provides all the data you need. These can then be accessed by an app or a cloud-based product.

The Intrexx Application API allows you to generate OpenAPI-compatible documentation (Swagger documentation). You can use these yourself to create an app or share them with a third-party provider.

Contents of this tutorial

This tutorial provides a detailed explanation of how to create a REST interface for the "Task Planning" application in Intrexx. This process involves creating the necessary data set endpoints, assigning the appropriate permissions, and—for authentication—generating an API key.

The following section describes how to generate the Swagger documentation.

In this tutorial, "Postman" is used as an example of an app or cloud product for API consumers.

Preparatory Activities

  1. Create a demo portal or import the "Task Planning" application into an existing portal

    This tutorial describes how to create a REST API based on the Intrexx demo portal. You can find out how to create a new portal using the Intrexx demo portal as a template in the following section: Using the Intrexx Demo Portal as a Portal Template

    Alternatively, you can also use the application template "Import Task Planning into an Existing Portal." The procedure is described in the following section: Import Online Application Templates.

  2. Create the user "David Winter."

    In the tutorial, the user who is supposed to use the REST API is named David Winter. He has the "User" role.

    This user is created by default in the Intrexx Demo Portal.

  3. Download Postman or use it online

    Install the Postman client or use "Postman for the Web."

Create a Data Group Endpoint - Read Multiple Data Sets

More Information