Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Proposal Scope Of Work Relation Api → Post Api Contractors Project Proposals Project Proposal Scopes Of Work Batch

AI-generated

Summary

Create multiple scope of work relations for a specified project proposal in batch by sending an array of resources to the Contractors.es API.

Inputs

  • Project Proposal (required) — Numeric ID identifying the project proposal to which the scopes of work will be related.
  • Include — Optional array specifying related entities to include in the response, such as 'scopeOfWork'.
  • Resources — JSON array of scope of work relation objects to create in batch. Use this to specify the batch of relations to post.

Output shape

a single JSON object reflecting the batch creation results from the API

Supports optional query parameter 'include' to request related entities in the API response. Supports batch request options to control request throttling. If 'Resources' is not set or contains sentinel values ('DO_NOT_SET'), the body is omitted.

Examples

Example 1: Create multiple scope of work relations for project proposal ID 123

Set 'Project Proposal' to 123 and provide a JSON array of scope of work relations in 'Resources'. Optionally include related 'scopeOfWork' entities in the response by selecting that in 'Include'.

Links

Discussion