WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Resources → Update resource status

AI-generated

Summary

Updates the status of a stage resource identified by job, stage, and resource identifiers.

Inputs

  • jobId (required) — Job ID
  • stageId (required) — Stage ID or stage number
  • resourceId (required) — Resource ID (contact ID)
  • status (required) — Status filter (completed or onhold)
  • location — Location with lat and lng coordinates
  • requestOptions — Node-level request settings including batching, timeout, proxy, and SSL validation
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use (e.g. http://username:password@myproxy:3128)
  • timeout — Time in ms to wait for server response headers

Output shape

a single updated resource object

Returned data reflects the updated status; exact fields not explicitly documented in provided metadata.

Examples

Example 1: Update a single resource status to completed

Set Job Id, Stage Id, Resource Id, and Status to 'completed'; optionally add Location coordinates and configure requestOptions for batching.

Example 2: Mark multiple resource statuses as onhold

Set Status to 'onhold'; enable requestOptions batching with batchSize 50 and batchInterval 1000; optional proxy and SSL settings.

Example 3: Update resource status via custom proxy with SSL bypass

Set proxy URL and allowUnauthorizedCerts to true; adjust timeout; provide Job Id, Stage Id, Resource Id, and desired Status.

Links

Discussion