WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Jobs → Create a new job

AI-generated

Summary

Create a new job record via the CRM Jobs API.

Inputs

  • customerId (required) — Customer ID — use /crm/customers to look up
  • name — Display name
  • integrationId — integration ID
  • jobNumber —
  • description — Detailed description
  • siteId — Site ID — use /crm/sites to look up
  • site — Inline site object — alternative to siteId
  • contactId — Contact ID — use /crm/contacts to look up
  • contact — Inline contact object — alternative to contactId
  • typeId — Job type ID — use /settings/job-types to look up
  • structure —
  • priorityId — Priority ID — use /settings/priorities to look up
  • priceBookId — Price book ID for job pricing
  • ownerId — Owner (employee) ID — use /crm/employees to look up
  • fieldSupervisorId — Field supervisor (employee) ID — use /crm/employees to look up
  • zoneId — Zone ID — use /settings/zones to look up
  • tagIds — Array of tag IDs (comma-separated, e.g. "id1,id2") — use /settings/tags to look up
  • notes — Additional notes or comments
  • reference — External reference number
  • customerWO — Customer work order reference
  • customerPO — Customer purchase order reference
  • startDate — Start date (ISO 8601 datetime)
  • dueDate — Due date (ISO 8601 datetime)
  • customFields — Custom fields as key-value pairs — validated against tenant field definitions
  • items —
  • finance —
  • requestOptions —
  • 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 created job record

All optional fields are included only if supplied; the response contains the full job object with generated identifiers.

Examples

Example 1: Create a new job with required customer ID and basic name

customerId=123, name=Test Job

Example 2: Create a job with custom fields and finance settings

customerId=123, name=Project X, customFields={"budget":5000}, finance={"NonBillable":true}

Links

Discussion