Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Subcontractors Agreement Notes Relation Api → Delete Api Contractors Subcontractors Agreements Subcontractors Agreement Notes Batch

AI-generated

Summary

Delete multiple subcontractors agreement notes in batch associated with a specified subcontractors agreement.

Inputs

  • Subcontractors Agreement (required) — The ID (numeric) of the subcontractors agreement to which the notes belong; required to identify the agreement context.
  • Force — Boolean flag indicating if the deletion should be forced (true by default, passed as a query parameter).
  • Resources (required) — A JSON array specifying the subcontractors agreement notes to delete in batch; this is sent as the request body.
  • Request Options — Optional settings such as batching parameters, SSL certificate validation, proxy configuration, and timeout duration, to control request behavior.

Output shape

a list of results corresponding to the batch delete requests; typical API response structure indicating success or failure of each delete action.

Supports batching with configurable batch size and interval to throttle requests. The 'force' parameter is sent as a query string. The request body must be a JSON array of resources to delete. Errors or partial failures may be indicated in the API response.

Examples

Example 1: Delete three subcontractor agreement notes by providing their IDs in the Resources JSON array for a specified subcontractors agreement ID, forcing deletion even if dependencies exist.

Set 'Subcontractors Agreement' parameter to the agreement ID, 'Force' to true, and 'Resources' to the JSON array of note IDs or objects identifying the notes to delete.

Links

Discussion