Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Usage Relation Api → Post Api Assets Inventory Inventory Usages

AI-generated

Summary

Create a new inventory usage record by posting details about an inventory item usage to the Contractors.es API.

Inputs

  • Inventory (required) — Numeric identifier of the inventory item being used.
  • Inventory Id — String identifier for inventory; omit or set to 'DO_NOT_SET' to exclude.
  • Storage Id — String identifier for storage location; omit or set to 'DO_NOT_SET' to exclude.
  • Quantity — Quantity used as a string; omit or set to 'DO_NOT_SET' to exclude.
  • Record Type — Type of related record, chosen from predefined model namespaces or 'DO_NOT_SET' to exclude.
  • Record Id — String identifier of the related record; omit or set to 'DO_NOT_SET' to exclude.
  • Purchase Id — String identifier for the purchase related to this usage; omit or set to 'DO_NOT_SET' to exclude.
  • Production Id — String identifier for the related production record; omit or set to 'DO_NOT_SET' to exclude.
  • Total Cost — Total cost as a string; omit or set to 'DO_NOT_SET' to exclude.
  • Total Cost Currency — Currency of the total cost; omit or set to 'DO_NOT_SET' to exclude.
  • External Id — External identifier to associate with the usage; omit or set to 'DO_NOT_SET' to exclude.

Output shape

a single record

Returns the created inventory usage record as JSON in the response body. Optional parameters are excluded from the request body if set to 'DO_NOT_SET' or 'DO_NOT_UPDATE'. Supports request options like batching, SSL ignoring, proxy, and timeout.

Links

Discussion