Block.00/00

/*Build REST API's Faster with the DataFlex Web API Framework*/

Web API, Framework, DataFlex, Orange
July 9, 2025

Build powerful, secure, and fully documented REST APIs, the DataFlex way. We’re excited to introduce the DataFlex Web API Framework. A lightweight, highly flexible framework that enables you to quickly build REST APIs directly within your DataFlex applications.

Whether you’re exposing business logic to frontend apps, creating integrations for partners, or setting up internal services, the Web API Framework makes it easier and faster than ever.

No need to switch languages or bolt on third-party layers. Everything is built in DataFlex, fully integrated, and ready to go.

What is the Web API Framework?

The Web API Framework lets you:

  • Create and structure REST API endpoints.
  • Send and receive JSON with ease using powerful iterators.
  • Add authorization and security rules to control access.
  • Automatically generate documentation using Swagger UI.
  • Work with OpenAPI specs to integrate with external platforms.
  • Build endpoints using the studio’s DDO (Data Dictionary Object) explorer drag and drop logic.
  • It’s all you need to expose your application logic to the outside world.

What can you do with it?

  • JSON iterators - Handle structured input and output in JSON. Built-in iterators make serialization and deserialization fast and safe, with full control over how data is exposed.
  • Easy endpoint creation - Set up API endpoints with just a few lines of code, directly in your WebApp. Define routes, input types, and response structures using familiar DataFlex syntax.
  • Security built-in - Out-of-the-box support for role-based access control. Restrict endpoints based on roles or users. Secure your API without writing complex logic.
  • Swagger UI support - As you build your API, Swagger UI automatically generates interactive, user-friendly documentation. It’s perfect for testing, demos, and making life easier for anyone consuming your API.
  • OpenAPI compatibility - Export a fully-compliant OpenAPI specification to easily integrate with other systems, tools, or partners. Whether you’re building for mobile apps, data syncs, or third-party integrations.

Get hands-on