WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Service Plans Lines → Update a Service Line

AI-generated

Summary

Updates an existing service plan line item by sending a PATCH request to the WorkBuddy API with specified fields to modify.

Inputs

  • planId (required) — plan ID
  • identifier (required) — Entity ID or human-readable number
  • name — Display name
  • description — Detailed description
  • workCategoryId — Work category ID — use /settings/work-types to look up
  • serviceTypeId — service type ID
  • serviceScopeId — service scope ID
  • dateStart —
  • dateEnd —
  • defaultWindow —
  • workingDays —
  • blackoutRanges —
  • ownerId — Owner (employee) ID — use /crm/employees to look up
  • requiresApproval —
  • overdueGraceDays —
  • jobChangeCutoffMinutes —
  • jobDefaults — Collection of job defaults including name, description, duration, priority, type, tags, owner, field supervisor, and price book

Output shape

the updated service plan line item

Only specified fields are updated. Parameters not provided are ignored; the operation sends a PATCH request to modify the service line item attributes.

Examples

Example 1: Update the name and description of a specific service line

Set Plan ID, Identifier, and provide new Name and Description values.

Example 2: Change the work category and working days for a service line

Set Plan ID, Identifier, Work Category ID, and Working Days (e.g., Mon, Tue, Wed).

Example 3: Update multiple fields at once including job defaults

Set Plan ID and Identifier, then populate Name, Description, Date Start, and add Job Defaults for priority and owner.

Links

Discussion