Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Bidding Proposals Relation Api → Post Api Contractors Project Biddings Project Bidding Proposals Batch Restore

AI-generated

Summary

Restore multiple previously deleted project bidding proposals in bulk for a specified project bidding by sending their identifiers as a JSON array in the request body.

Inputs

  • Project Bidding (required) — The numerical ID of the project bidding to which the proposals belong.
  • Include — Optional related entities to include in the response: Fields, Materials, and/or Scopes Of Work. Specify one or more as a comma-separated list.
  • Resources — A JSON array representing the project bidding proposals to restore. Entries must not contain sentinel values 'DO_NOT_UPDATE' or 'DO_NOT_SET'; otherwise, the field is omitted.
  • Request Options — Optional configuration settings such as batching parameters (items per batch, batch interval), SSL certificate validation behavior, proxy settings, and request timeout.

Output shape

The API response data confirming the batch restore operation, typically including restored proposals and any included related entities if requested.

The request sends the 'resources' JSON array in the body, omitting it if sentinel values are detected. The 'include' parameter, if used, is passed as a query string with comma-separated values. Supports request batching defined in request options to handle large inputs split into smaller groups.

Examples

Example 1: Restore three previously deleted project bidding proposals associating to project bidding ID 123, including related Materials and Scopes Of Work in the response.

Set 'Project Bidding' to 123, 'Resources' to a JSON array of proposal identifiers, 'Include' to ['materials','scopesOfWork'].

Links

Discussion