Create an API endpoint for an application

Starting situation

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

The application "Task Scheduler" is one of many 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.

Currently, your team is working on the "New ERP" project. Three tasks have been created for your team. One task has the status "To-do", the other "In progress" and the other "Completed".

Goal

As a member of the Sales team, you will be traveling a lot. You also want to get a quick overview of 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 Scheduler" 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.

As an API consumer, "Postman" is used in this tutorial as a proxy for an APP or cloud product.

Preparatory tasks

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

    This tutorial describes how to create the REST API interface based on the Intrexx demo portal. You can read 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 import the "Task Scheduler" application template into an existing portal. This procedure is described in the following section: Import online application templates.

  2. Create user "David Winter".

    In the tutorial, the user for the REST API interface is named David Winter. He 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