{
"examples": { "request": { "hardware": { "name": "Hardware Name", "description": "description", "category": { "name": "Laptop" }, "site_id": 1, "department_id": 1, "ip_address": "0.0.0.0", "external_ip": "0.0.0.0", "status": { "name": "Operational" }, "technical_contact": { "email": "john.doe@email.com" }, "owner": { "email": "john.doe@email.com" }, "notes": "Hardware notes", "barcode_encoding_format": "Code1A", "cpu": "hardware_cpu", "processor_speed": "processor_speed", "memory":1024, "swap": "MB", "operating_system": "Windows 10", "domain": "domain description", "active_directory": "Workgroup of the OS", "address": "Site 1, Building 1, Department 1", "longitude": "0.000", "latitude":"0.000", "product_number":"1", "custom_fields_values_attributes": [ { "id": 10, "custom_field_id": 1, "value": "content" }, { "id": 100, "custom_field_id": 2, "value": "1" } ], "custom_fields_values": { "custom_fields_value": [ { "name": "Text custom field", "value": "content" }, { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } } ] }, "bio": { "manufacturer":"Dell", "ssn":"1", "model":"model description", "version":"1", "bios_date":"2020-01-01 00:00" }, "tag": "tag", "asset_tag": 1 } }, "response": { "hardware": { "id": 1, "name": "Hardware Name", "description": "description", "category": { "id": 1, "name": "Laptop" }, "site": { "id": "1", "name": "Austin TX, USA", "location": "AUS", "description": "", "time_zone": "" }, "department": { "id": "1", "name": "Support", "description": "", "default_assignee_id": "1" }, "ip": "0.0.0.0", "external_ip": "0.0.0.0", "status": { "name": "Operational" }, "technical_contact": { "email": "john.doe@email.com" }, "owner": { "email": "john.doe@email.com" }, "notes": "Hardware notes", "barcode_encoding_format": "Code1A", "cpu": "hardware_cpu", "processor_speed": "processor_speed", "memory":1024, "swap": "MB", "operating_system": "Windows 10", "domain": "domain description", "active_directory": "Workgroup of the OS", "address": "Site 1, Building 1, Department 1", "longitude": "0.000", "latitude": "0.000", "product_number": "1", "custom_fields_values": [ { "id": "10", "custom_field_id": "1", "name": "Text custom field", "value": "content", "options": "", "type_name": "Text" }, { "id": "100", "custom_field_id": "2", "name": "User custom field", "value": "1", "options": "", "type_name": "User", "user": { "group_id": 1, "is_user": true, "id": 1, "name": "John Doe", "email": "john.doe@email.com" } } ], "bioses": [{ "id": 1, "manufacturer": "Dell", "ssn": "1", "model": "model description", "version": "1", "bios_date": "2020-01-01 00:00", "reported_at": "2020-01-01 00:00" }], "tag": "tag", "asset_tag": "1" } } }
}