Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Job Fields → Get Contact Person ID

AI-generated

Summary

Retrieves the contact person ID for a given job ID and project type (quote or order) using the Plunet API.

Inputs

  • jobID (required) — The ID of the job to look up (numeric). Accepts 0 or greater. Default is 0 but should be set to a valid job ID for meaningful results.
  • projectType — Specifies whether the job is a quote or an order. Options: Quote (value 1) or Order (value 3). Default is Order (3).

Output shape

object

Returns the contact person ID associated with the supplied job and project type. The result is placed under the key contactPersonID as a number.

Examples

Example 1: Get contact person for order job #12345

Set Job Fields → Get Contact Person ID, jobID=12345, projectType=Order (3).

Example 2: Get contact person for quote job #67890

Set Job Fields → Get Contact Person ID, jobID=67890, projectType=Quote (1).

Discussion