Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Stages Relation Api → Patch Api Contractors Projects Project Stages Batch

AI-generated

Summary

Patch project stage relations in a batch for the specified project. Provide the project ID and a JSON resources value; optional request settings control batching and HTTP behavior.

Inputs

  • project (required) — Project ID for the batch patch.
  • resources — JSON value sent as the request body property resources. Its default, DO_NOT_UPDATE, is treated as a sentinel and omitted from the request body; supply the desired JSON value to send it.
  • requestOptions.batching.batch.batchSize — Items per request batch; defaults to 50. Set to -1 to disable batching; 0 is treated as 1.
  • requestOptions.batching.batch.batchInterval — Delay in milliseconds between batches; defaults to 1000. Set to 0 to disable the delay.
  • requestOptions.allowUnauthorizedCerts — Accept responses when SSL certificate validation fails; defaults to false.
  • requestOptions.proxy — HTTP proxy URL, optionally including credentials.
  • requestOptions.timeout — Milliseconds to wait for response headers before aborting; defaults to 10000.

Output shape

A list of items returned by the API.

The source pack does not show this operation's endpoint implementation or response mapping, so the exact response fields and whether the API returns one item per relation cannot be determined.

Examples

Example 1: ||||||Patch all relations where project id is 4052.||||||

||||||Project: 4052; Resources: JSON data describing the relations to patch.||||||

Links

Discussion