My App

API Endpoints

Complete reference of all GLAPI endpoints

API Endpoints

This section provides detailed documentation for all GLAPI endpoints organized by resource type.

Accounting Dimensions

Core accounting dimension endpoints for managing your chart of accounts structure:

People & Entities

Endpoints for managing people and related entities:

Inventory & Products

Endpoints for inventory and product management:

Financial Operations

Endpoints for financial transactions and operations:

Revenue Recognition

Advanced revenue recognition endpoints (ASC 606 compliant):

Common Patterns

All endpoints follow consistent patterns for CRUD operations:

List Resources

GET /api/{resource}

Returns a paginated list of resources.

Query Parameters:

  • includeInactive (optional): Include inactive records

Get Single Resource

GET /api/{resource}/{id}

Returns a single resource by ID.

Path Parameters:

  • id (required): UUID of the resource

Create Resource

POST /api/{resource}

Creates a new resource.

Request Body: Resource object (see individual endpoint documentation)

Update Resource

PUT /api/{resource}/{id}

Updates an existing resource.

Path Parameters:

  • id (required): UUID of the resource

Request Body: Partial resource object with fields to update

Delete Resource

DELETE /api/{resource}/{id}

Deletes a resource.

Path Parameters:

  • id (required): UUID of the resource

Response Codes

All endpoints use standard HTTP status codes:

  • 200 OK - Request successful
  • 201 Created - Resource created successfully
  • 400 Bad Request - Invalid request data
  • 401 Unauthorized - Authentication required or failed
  • 403 Forbidden - Insufficient permissions
  • 404 Not Found - Resource not found
  • 429 Too Many Requests - Rate limit exceeded
  • 500 Internal Server Error - Server error

Error Response Format

Errors are returned in a consistent format:

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {
      // Additional error context (when applicable)
    }
  }
}

Next Steps