WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Activities → Create integration activity (Stages)

AI-generated

Summary

Create a new integration activity within a stage

Inputs

  • stageId (required) — Stage ID or stage number
  • jobId (required) —
  • body (required) — Message body content (HTML supported for email)
  • integrationType (required) —
  • sharing — Sharing options — control visibility to customer portal and field app
  • 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

a single integration activity record

Returns the created activity's details including its ID.

Examples

Example 1: Add a new integration activity to a stage via HTTP request.

stageId=123&jobId=456&body=

Update

&integrationType=email&requestOptions batching disabled

Example 2: Create activity with shared visibility to customer portal.

stageId=7&jobId=8&body=Hello&integrationType=webhook&sharing.sharedWithCustomer=true

Example 3: Send the request through a corporate proxy with custom timeout.

stageId=9&jobId=10&body=Data&proxy=http://user:pass@proxy:3128&timeout=15000

Links

Discussion