This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • info@ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

API Builder In Liferay

  • Liferay
  • December 30, 2024

Share On :

Introduction

API Builder at Liferay is useful for building the RESTful APIs for headless applications. It seamlessly fits into the Liferay tool environment and offers the developers the capacity for API building. This blog will explain the Liferay API Builder entirely through its implementation of creating a car API that supports GET and POST methods.

Prerequisites
  • Liferay DXP 2023.Q4+/Portal 7.4 GA102+
  • Basic knowledge of Liferay
What is API Builder?

API Builder is a feature in Liferay designed to enable developers to:

  • REST APIs are defined through user-friendly interfaces.
  • Create endpoints filled with a base amount of code automatically.
  • Offer to create, read, and update capabilities.
  • Specific requirements for a business can be incorporated in the generated APIs.

One of its strengths is that it enhances the process of API creation and decreases the amount of hand coding necessary.

Enable API Builder Beta Flag
  • Log in to your Liferay instance as an administrator.
  • Go to Control Panel > Instance Settings > Feature Flags > Beta.
  • Enable API Builder Flag.
Beta Feature
Let’s take an example of Car API

Consumers can manage car data and inventoried vehicles and clearly understand the structure of the Car API. The API provides a connection between car details, the manufacturers, and prospective clients with the car’s information updated in real-time.

  1. GET : Retrieve a list of cars with their details.
  2. POST : Add a new car to the collection.

Step 1 : Set Up the API Builder

  • Log in to your Liferay instance as an administrator.
  • Go to Control Panel > Object > API Builder.
  • Click on + to create a new API.
New API

Step 2 : Define/Add the Car Object

  • Add the following fields to the Car object:
  • carManufacturer (String): Car maker (e.g., Toyota, Ford).
  • manufacturingYear (Integer): The manufacturing year of the car. 
  • model (String): model number of the car (e.g., Corolla, Mustang).
  • name (String): Name of the car (e.g., BMW)
  • price (Decimal): Price of the car.

Step 3 : Define Schema

  • Select the following fields:
  • Name
  • Description
  • Object
New Schema
  • Select properties from object fields from the right panel.
Schemas

Step 4 : Create GET Endpoint

  • Select the endpoints for the Car entity:
  • /get-cars: Get the list/collection of cars.
GET API Endpoint
  • Select configurations:
    • Response Body Schema : CarDetail.
  • Filters : If you pass any filter. (e.g., price eq ‘4000000’, You can create your own filters from here filter, sort, and search) 
  • Sorting : add a sort.
GET Endpoints

Step 5 : Create POST Endpoint

  • Select the endpoints for the Car entity:
    • /add-car : Add a new car.
POST API Endpoint
  • Select configurations:
    • Request Body Schema : CarDetail
    • Response Body Schema : CarDetail
POST Endpoints

Step 6 : Publish and Test the API

  • You can test the API using tools like Postman, cURL, or Liferay’s built-in API Explorer(e.g, localhost:8080/o/api)
    • Click on Rest Applications
    • Go to c/car
Liferay API Explorer
Response
Advantages of the Liferay API Builder
  1. Rapid Development : The tool helps to shorten the API development time by performing some of the API generation steps mechanically.
  2. Seamless Integration : Liferay APIs are easy to work with in their ecosystem.
  3. Scalability : Integrated facilities for scaling and the possibility of customization.
  4. Standardization : Pursues compliance with RESTful design patterns.
Conclusion

The Liferay API Builder is a low-code/no-code solution implemented for both developers and non-developers with the purpose of creating fresh, optimized RESTful API flows. It makes API design easier by having an easy-to-understand, friendly interface while still enabling the generation of CRUD operations. This makes it a perfect solution for everyone who wants an easy-to-utilize fancy scheduler with some level of flexibility.

Explore Our Services

Discover how we can help your business thrive, whether you’re running a small startup, an SME, or a large enterprise. We’re here to understand your unique needs and goals, offering the expertise and resources to support your journey to success.

Stay informed about our Liferay services and updates by subscribing to our newsletter—just fill in the details below to subscribe.

Loading
Loading...

Related Blogs

August 30, 2024
What Is Liferay Blueprint and How We Can Use It
What Is Liferay Blueprint and How We Can Use It?
October 4, 2024
Use of Liferay Blueprint With Collection
Use of Liferay Blueprint With Collection
November 28, 2024
Liferay 7.4 Features Against 7.2 Features
Liferay 7.4 Features Against 7.2 Features
Loading...

Featured Projects Portfolios

June 19, 2024
Music License Management Portal _ Onboarding & Data Integrity
Music License Management Portal : Onboarding & Data Integrity
November 25, 2024
Liferay DXP Based Intranet Portal Migration from 7.0 to 7.4
Liferay DXP Based Intranet Portal Migration from 7.0 to 7.4
November 29, 2024
Employee Intranet Portal for Government Entity
Employee Intranet Portal for Government Entity

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@ignek.com
  • info@ignek.com
SALES
  • sales@ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2025 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram