WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Pending Items → Delete stage pending item

AI-generated

Summary

Delete a pending item in a stage

Inputs

  • id (required) — Job ID
  • stageId (required) — Stage ID
  • itemId (required) — Pending item ID
  • requestOptions — Add Option
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request

Output shape

no body — success/failure only

Returns 204 No Content on success; on error returns an error object with code and message.

Examples

Example 1: Delete pending item for a known stage

id: 'job-001', stageId: 'stage-10', itemId: 'item-5', requestOptions: {batchSize: 50}

Example 2: Delete with default options

id: 'job-002', stageId: 'stage-20', itemId: 'item-12'

Example 3: Delete with proxy and timeout

id: 'job-003', stageId: 'stage-30', itemId: 'item-8', requestOptions: {proxy: 'http://proxy:3128', timeout: 15000}

Links

Discussion