WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Activities → Get activity by ID (Stages)

AI-generated

Summary

Fetch a stage activity by its ID using the PublicStageActivitiesController_getById endpoint.

Inputs

  • stageId (required) — Stage ID or stage number identifying the stage containing the activity.
  • id (required) — Unique identifier of the activity to retrieve.
  • jobId (required) — Identifier of the job associated with the activity.
  • requestOptions (required) — Configuration for HTTP request, including batching, SSL settings, proxy, and timeout.
  • allowUnauthorizedCerts (required) — If true, skip SSL certificate validation for insecure connections.
  • proxy (required) — HTTP proxy URL, optionally with authentication credentials.
  • timeout (required) — Request timeout in milliseconds.

Output shape

a single activity object representing the requested stage activity

The response contains the activity data returned by the controller; fields are not specified here and may vary by implementation.

Examples

Example 1: Retrieve activity ID 12345 from stage 10 with default settings

stageId=10&id=12345&jobId=jobs-001

Example 2: Batch fetch with 100 items per batch and 500 ms interval

stageId=5&id=1&requestOptions={batch:{batchSize:100,batchInterval:500}}

Links

Discussion