WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages → Reverse stage status

AI-generated

Summary

Reverse the status of a stage

Inputs

  • id (required) — Stage ID
  • targetStatus (required) — Desired new status for the stage
  • note — Optional note attached to the status change
  • requestOptions — Configuration options such as batching, SSL verification, proxy, and timeout
  • allowUnauthorizedCerts — Accept response despite SSL certificate validation failures
  • proxy — HTTP proxy URL to use for requests
  • timeout — Request timeout in milliseconds

Output shape

a single stage object reflecting the updated status

Returns the revised stage resource; optional fields may be omitted and pagination is not applicable

Examples

Example 1: Reverse status of stage with ID 123 to 'completed'

id=123, targetStatus=completed

Example 2: Reverse status with a note and batch settings

id=456, targetStatus=in_progress, note="Reversing", requestOptions={batch:{batchSize=100}}

Links

Discussion