Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Job Visit Api → Patch Api Contractors Job Visits Job Visit

AI-generated

Summary

Updates a Contractors.es job visit by sending the selected fields in a PATCH request. Set the job visit ID and provide values for fields to change; fields left at the default sentinel are omitted from the request body.

Inputs

  • job_visit (required) — Numeric ID of the job visit to update.
  • project_status — Project status to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • project_bidding_id — Project bidding ID to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • project_id — Project ID to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • status — Job visit status to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • visit_date — Visit date to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • visit_end — Visit end value to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • visit_type_id — Visit type ID to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • reason_for_visit — Reason for the visit to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • external_id — External ID to set. Defaults to DO_NOT_UPDATE, which omits the field from the request.
  • requestOptions — Optional request settings: batch size and interval, whether to accept invalid SSL certificates, HTTP proxy, and timeout.

Output shape

A single response item from the API for each input item.

The source pack does not show operation-specific response handling, so the exact response fields are not established. The API request uses JSON headers and the base URL from the Contractors.es credentials.

Links

Discussion