Inventory
Create a Inventory Item
Creates a new Inventory Item.
Optional hardware block links the new item to a Monitoring device:
- hardware: { link_to_existing: <monitoring_id> } — link to an existing device.
- hardware: { title, monitoring_group, ... } — create a new Monitoring device atomically (requires the monitoring module).
When hardware is supplied the response includes the resulting monitoring_id.
post/admin/inventory/items
Request
- Base URL: https://demo.splynx.com/api/2.0
- URL: https://demo.splynx.com/api/2.0/admin/inventory/items
- Auth: HTTP basic
Request body
Example request
{
"notes": "note",
"barcode": "barcode",
"serial_number": "number",
"product_id": 1,
"file": "cURL file",
"hardware": {
"link_to_existing": 1
}
}Response
Example response
{
"id": 1,
"monitoring_id": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.