Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Stocktaking Notes Relation Api → Post Api Assets Inventory Stocktakings Inventory Stocktaking Notes Batch Restore

AI-generated

Summary

Restore multiple inventory stocktaking notes associated with a specific inventory stocktaking session in batch via the API.

Inputs

  • inventory_stocktaking (required) — The ID of the inventory stocktaking session for which notes will be batch restored.
  • resources — A JSON object containing the batch of inventory stocktaking notes to be restored. Provide note data in a JSON array or object format as expected by the API.
  • requestOptions — Additional HTTP request options such as batching (number of items per batch, batch interval), SSL certificate validation bypass, proxy configuration, and request timeout.

Output shape

The API response returned after the batch restore request, generally confirming the restore operation results for the notes provided.

The 'resources' input is parsed from JSON; if its content includes the sentinel values 'DO_NOT_SET' or 'DO_NOT_UPDATE', the request body is omitted. Requests can be sent in batches based on 'requestOptions.batching' settings to throttle the number of items processed per request.

Examples

Example 1: Batch restore notes

Specify the 'inventory_stocktaking' ID and provide the 'resources' JSON with notes to restore. Optionally configure batching to control request load.

Links

Discussion