Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Api → Patch Api Assets Inventory Batch

AI-generated

Summary

Patch a batch of inventory assets by sending a JSON array of resource objects to update multiple assets in one request.

Inputs

  • Resources (required) — A JSON array representing the batch of inventory assets to be patched. Each array element should be an object with the fields to update. The input supports special sentinel values ('DO_NOT_UPDATE' or 'DO_NOT_SET') to exclude fields from updating.

Output shape

a single response object containing the batch update result from the API

The operation supports batching options to split and throttle requests, and includes configurable request settings like SSL validation, proxy, and timeout. The Resources input is processed to omit fields marked with sentinel values, ensuring only intended fields are updated.

Examples

Example 1: Update a batch of assets with partial fields, omitting fields with 'DO_NOT_UPDATE' sentinel.

Provide 'Resources' as JSON array with asset patch details; configure optional batching settings as needed to control request flow.

Links

Discussion