WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Jobs Activities → List merge fields for this record's templates (Jobs)

AI-generated

Summary

List merge field templates for a given job.

Inputs

  • jobId (required) — Job ID or job number (e.g. J12345)
  • requestOptions — Configuration options for the request, such as batching settings.
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use; format http://username:password@host:port for authentication.
  • timeout — Request timeout in milliseconds; default 10000.

Output shape

a list of merge field objects describing the templates of the specified job

Each item contains field metadata (name, type, default value). Returns an empty list if the job has no templates.

Examples

Example 1: Retrieve merge fields for job J12345 to use in a workflow template

jobId: J12345, requestOptions: {}

Example 2: Batch request for large job with 200 templates

jobId: J9876, requestOptions: {batchSize: 100}

Example 3: Ignore SSL errors while fetching merge fields

jobId: J5555, allowUnauthorizedCerts: true

Links

Discussion