Skip to content

Início / Optitravel / Helpers

ApiHelper

Introduction

The ApiHelper is a utility class used to simplify the process of sending standardized JSON responses in your API. It includes helper methods for both successful and error responses and supports protocol-specific formats like SCIM.

This helper is especially useful in controller actions where you want to quickly return consistent API responses with minimal code.

Available Methods


(Última atualização: 06/05/2025)