WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Jobs Activities → Create phone activity (Jobs)

AI-generated

Summary

Create a phone activity for a given job.

Inputs

  • jobId (required) — Job ID or job number (e.g. J12345)
  • direction (required) —
  • outcome (required) —
  • callDate (required) — call date (ISO 8601 datetime)
  • duration —
  • body — Message body content (HTML supported for email)
  • labelIds — Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")
  • sharing — Sharing options — control visibility to customer portal and field app
  • requestOptions — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request

Output shape

the created phone activity record

Returns the newly created activity; optional fields may be omitted; errors return appropriate HTTP status codes.

Examples

Example 1: Create inbound phone activity for job J12345 marked as connected

jobId=J12345, direction=inbound, outcome=connected, callDate=2023-09-01T12:00:00Z, timeout=10000

Links

Discussion