Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Job Visit Api → Delete Api Contractors Job Visits Batch

AI-generated

Summary

Delete multiple job visits in a single batch request to the Contractors.es API, optionally forcing deletion and including related resources in the response.

Inputs

  • force — Whether to force the deletion. Defaults to true.
  • include — Optional related resources to include in the response, such as project, project bidding, visitors, or visit type.
  • resources (required) — A JSON array of job visit resources to delete in batch.

Output shape

The operation returns the API response for the batch delete request, which may include details of the deleted job visits and optionally included related entities based on the 'include' parameter.

The 'force' parameter is sent as a query parameter; 'include' is optional and sent as a comma-separated query string; 'resources' are sent in the request body as parsed JSON. Batch request options (batch size and interval) can be configured in node settings but are not mandatory.

Examples

Example 1: Delete job visits with default forced deletion

Provide a JSON array in 'resources' representing job visits to delete; leave 'force' as true or omitted; optionally specify related resources in 'include'.

Links

Discussion