Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Usage Relation Api → Post Api Assets Inventory Inventory Usages Search

AI-generated

Summary

Search for inventory usage records associated with a specified inventory item by sending a POST request to the inventory usages search API endpoint.

Inputs

  • inventory (required) — The ID of the inventory item to search usage records for.
  • with_trashed — Boolean flag to include trashed (deleted) records in the results.
  • only_trashed — Boolean flag to return only trashed (deleted) records.
  • page — Page number for paginated results, default is 1.
  • limit — Number of results per page, with a default of 20.
  • filters — JSON object to specify filtering criteria for the search query.
  • sort — JSON object to specify sorting criteria for the search results.

Output shape

a list of inventory usage records matching the search criteria

Results are paginated according to the 'page' and 'limit' query parameters. The response body contains the array of matching inventory usage items along with any metadata the API provides.

Links

Discussion