WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Jobs → Update a job

AI-generated

Summary

Updates an existing job in WorkBuddy via the PublicApiJobController_update endpoint.

Inputs

  • id (required) — Job ID of the record to update.
  • updatedAt — Timestamp for optimistic concurrency; update fails if the job was modified after this value.
  • name — Display name of the job.
  • description — Detailed description.
  • integrationId — Integration ID.
  • siteId — Site ID (lookup via /crm/sites).
  • contactId — Contact ID (lookup via /crm/contacts).
  • typeId — Job type ID (lookup via /settings/job-types).
  • structure — Job structure: basic, advanced, or project.
  • priorityId — Priority ID (lookup via /settings/priorities).
  • priceBookId — Price book ID for job pricing.
  • ownerId — Owner (employee) ID (lookup via /crm/employees).
  • fieldSupervisorId — Field supervisor (employee) ID (lookup via /crm/employees).
  • zoneId — Zone ID (lookup via /settings/zones).
  • tagsSet — Replace existing tags with this array.
  • tagsAdd — Add these tags to the job.
  • tagsRemove — Remove these tags from the job.
  • notes — Additional notes or comments.
  • reference — External reference number.
  • customerWO — Customer work order reference.
  • customerPO — Customer purchase order reference.
  • startDate — Start date (ISO 8601).
  • dueDate — Due date (ISO 8601).
  • customFields — Custom fields as key‑value pairs, validated against tenant definitions.
  • requestOptions — HTTP request options: batching, proxy, timeout, SSL settings.

Output shape

object

Returns the updated job record as provided by the WorkBuddy API.

Examples

Example 1: Basic update

Supply the job ID and any fields you wish to change (e.g., name, dueDate). The node sends a PATCH/PUT to the PublicApiJobController_update endpoint and returns the updated job.

Links

Discussion