WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Flags → List flags for an entity

AI-generated

Summary

Retrieves a paginated list of flags for a specified entity.

Inputs

  • entity (required) — Entity type (e.g., 'Customer', 'Site').
  • entityId (required) — Entity ID for which to list flags.
  • status — Filter results by status: 'Open' or 'Closed'.
  • requestOptions — HTTP request options including batching, SSL, proxy, and timeout.

Output shape

A list of items, each containing flag details.

Returns paginated results. Use 'requestOptions' for batching settings.

Examples

Example 1: List all open flags for a specific Customer.

Set entity to 'Customer', entityId to the target ID, and status to 'Open'.

Example 2: Retrieve all flags for a Site with custom request timeouts.

Set entity to 'Site' and entityId to the target ID. Configure timeout in requestOptions.

Links

Discussion