Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Foremen Relation Api → Patch Api Contractors Projects Project Foremen Sync

AI-generated

Summary

Sends a partial update to contractors.es project foremen data, allowing specific fields to be omitted.

Inputs

  • project (required) — The ID of the project to update.
  • resources — A JSON object containing the fields to update. Use the sentinel value 'DO_NOT_UPDATE' to omit a field.
  • requestOptions — Options for HTTP requests, including batching, SSL settings, proxy, and timeout.

Output shape

The API's response items for each input item.

The node uses a default value of 'DO_NOT_UPDATE' for fields not specified in the 'resources' JSON.

Examples

Example 1: Update the status of a specific project foreman while keeping other fields unchanged.

Set project ID to 42 and resources to {'status': 'active'}.

Example 2: Clear a specific field without affecting others.

Set resources to {'description': 'DO_NOT_UPDATE'}.

Links

Discussion