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 Restore

AI-generated

Summary

Restore multiple previously deleted Scope Of Work relations for a specified Project Proposal in batch by sending the resources JSON data.

Inputs

  • Project Proposal (required) — The ID number of the Project Proposal for which Scope Of Work relations are to be restored.
  • Include — Optional additional related resources to include in the response, such as 'scopeOfWork'.
  • Resources — A JSON object specifying the batch of Scope Of Work relations to restore for the given Project Proposal.

Output shape

a JSON response containing the restored Scope Of Work relations, optionally including related resources if requested

The operation supports batching for processing large numbers of relations. The Resources field must be valid JSON and not contain sentinel values ('DO_NOT_SET' or 'DO_NOT_UPDATE'), which disables sending that parameter. The 'include' parameter appends query parameters to include additional related data in the response.

Examples

Example 1: Restore a batch of deleted Scope Of Work relations for Project Proposal ID 123, including related Scope Of Work details.

Set Project Proposal to 123, Include to ['scopeOfWork'], and Resources to a JSON array/object describing the relations to restore.

Links

Discussion