Create an API endpoint for an application

Starting situation

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

The "Task planning" application is one of the numerous application templates available free of charge in Intrexx. For more information, see the following sections:

There are three teams in your company: Finance, Marketing and Sales.

You (David Winter) are part of the Sales team.

Your team is currently working on the "New ERP" project. Three tasks have been created for your team. One task each has the status "Todo", "In progress" and "Completed".

Goal

As a member of the Sales team, you will be traveling a lot. You also want to get a quick overview of the teams on the go via a mobile app or other "external software". The solution for this is described in this tutorial.

You will create a REST interface for task scheduling with the Intrexx Application API. This provides all the data you require. They can then be consumed from an APP or cloud product.

The Intrexx Application API gives you the option of generating OpenAPI compatible documentation (Swagger documentation). You can use this to create an APP or pass it onto a third-party provider.

Tutorial content

This tutorial describes in detail how you can create a REST interface for the "Task planning" application in Intrexx. As part of the process, the required data group endpoints are created, the corresponding rights are assigned and an API key is generated for authentication.

It then describes how to generate the Swagger documentation.

In this tutorial, "Postman" is used as an API consumer to represent an app or a cloud product.

Preparatory tasks

  1. Create demo portal or import "Task planning" application into existing portal

    This tutorial describes how to create the REST API interface 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 Intrexx Demo Portal as a Portal Template

    Alternatively, you can also import the "Task planning" application template into an existing portal. The corresponding procedure is described in the following section: Importing online application templates.

  2. Create user "David Winter".

    In the tutorial, the user for the REST API interface is named David Winter. It has the "User" role.

    In the Intrexx demo portal, this user is created by default.

  3. Download Postman or use online

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

Create data group endpoint - Read multiple records

More information