Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Scopes Of Work Relation Api → Patch Api Contractors Projects Project Scopes Of Work Batch

AI-generated

Summary

Patches (updates) the scopes of work for a specified project in batch mode. Provide the project ID and a JSON payload of resources to update. Optional request options let you configure batching, SSL verification, proxy, and timeout.

Inputs

  • Project (required) — The ID of the project whose scopes of work to patch.
  • Resources — The payload containing scopes of work to update. If set to DO_NOT_UPDATE (default), no resources are sent.
  • Request Options.Batching.Batch Size — Number of items per batch. -1 disables batching; 0 is treated as 1. Default: 50.
  • Request Options.Batching.Batch Interval (ms) — Delay between batches in milliseconds. Default: 1000.
  • Request Options.Ignore SSL Issues (Insecure) — Whether to accept invalid SSL certificates. Default: false.
  • Request Options.Proxy — HTTP proxy to use, e.g. http://myproxy:3128. Default: empty.
  • Request Options.Timeout — Request timeout in milliseconds. Default: 10000.

Output shape

JSON

The response from the Contractors.es API, typically containing the updated scopes of work or a status object.

Examples

Example 1: Update scopes of work for project 123 with a JSON payload

Project: 123, Resources: {"scopes":[{"id":1,"hours":8}]}, Request Options: use defaults

Links

Discussion