WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Service Plans → Archive a Service Plan

AI-generated

Summary

Archives a specific Service Plan by ID and returns the archived plan data.

Inputs

  • identifier (required) — The unique ID or human-readable number of the Service Plan to archive.
  • reason — Reason for archiving the plan (e.g., cancellation reason).
  • requestOptions — Configuration for request behavior, including batching, SSL handling, proxy, and timeout.

Output shape

a single item containing the archived Service Plan data

Returns the updated Service Plan object with the archived status applied.

Examples

Example 1: Archive a specific Service Plan by its ID

Identifier set to 'SP12345', optional reason provided as 'Customer request'.

Example 2: Batch archive multiple Service Plans

requestOptions > batching > batchSize set to 10 and batchInterval to 2000.

Links

Discussion