added

Exposing Deleted Loads and Trips in the Public API When `IncludeDeleted` Is True

Release Date: August 7, 2025

What’s New?

We’ve added an optional request parameter, IncludeDeleted, so you can control whether deleted loads and trips appear in API responses.

What Changed?

  • Previously, deleted loads and trips were never returned.

  • You can now include IncludeDeleted (boolean, optional) in your request body:

    • true → returns both active and deleted records.
    • omitted or false → returns only active records.
  • When IncludeDeleted: true, every returned record includes an IsDeleted flag:

    • "IsDeleted": true for deleted items
    • "IsDeleted": false for active items
  • When IncludeDeleted is omitted or false, no IsDeleted flags appear (all records are active by definition).

Endpoints Affected:

  • POST /api/p/{version}/loads/search
  • POST /api/p/{version}/trips/search

Why?

This enhancement gives you direct control over including or excluding deleted records at the API level—surfacing deleted data only when needed.