WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages → Create a new stage

AI-generated

Summary

Create a new stage by sending required fields like jobId and name to the PublicJobStageController_create endpoint.

Inputs

  • jobId (required) — Job ID or job number (e.g. J12345)
  • name (required) — Display name of the stage
  • workCategoryId — Work category ID — use /settings/work-types to look up
  • startDate — Start date (ISO 8601 datetime)
  • dueDate — Due date (ISO 8601 datetime)
  • customFields — Custom fields as key-value pairs — validated against tenant field definitions
  • finance — Finance options includingNon Billable and Non Payable booleans
  • requestOptions — Options for batching, proxy, timeout, and SSL verification
  • 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 before aborting the request

Output shape

stage object representing the newly created stage

Returns the created stage with generated identifiers; no pagination; error responses follow standard API format.

Examples

Example 1: Create a stage for a new public job with explicit details

jobId=J12345&name=Pre‑Production&workCategoryId=WC001&startDate=2025-01-10T08:00:00Z&dueDate=2025-02-01T17:00:00Z&customFields={}&finance={"nonBillable":false}&requestOptions={"batch":{"batchSize":50}}

Links

Discussion