/Create InventoryPOST

Create Inventory

Creates inventory items in OFS. Each row becomes one inventory item.

1 — Excel file

Each row = one API call.

Submit to OFS

Upload an Excel file.

Fields

inventoryTyperequiredstring

Inventory type as configured in OFS.

statusrequiredenum

Where the item is located.

customerresourceinstalleddeinstalled
serialNumberstring

Unique serial number for serialized inventory.

quantitynumber

Quantity for non-serialized inventory.

resourceIdstring

Assign to this resource. Use resourceId OR activityId, not both.

activityIdinteger

Assign to this activity. Use activityId OR resourceId, not both.

Notes

  • ·Provide either resourceId OR activityId — not both.
  • ·status values: customer=at customer site | resource=with technician | installed=at asset | deinstalled=removed.
  • ·Serialized inventory: provide serialNumber. Non-serialized: provide quantity.