solarwinds-itsm-api-definitions 0.1.1 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/lib/definitions/common/components.json +298 -49
  3. data/lib/definitions/common/examples/catalog_item.json +70 -0
  4. data/lib/definitions/common/examples/change.json +127 -0
  5. data/lib/definitions/common/examples/change_catalog.json +92 -0
  6. data/lib/definitions/common/examples/configuration_item.json +108 -0
  7. data/lib/definitions/common/examples/hardware.json +125 -0
  8. data/lib/definitions/common/examples/incident.json +134 -109
  9. data/lib/definitions/common/examples/problem.json +132 -0
  10. data/lib/definitions/common/examples/release.json +150 -0
  11. data/lib/definitions/common/examples/service_request.json +28 -0
  12. data/lib/definitions/common/examples/solution.json +49 -0
  13. data/lib/definitions/common/examples/user.json +106 -0
  14. data/lib/definitions/common/schemas/analytics/audit.json +28 -0
  15. data/lib/definitions/common/schemas/analytics/risk.json +28 -0
  16. data/lib/definitions/common/schemas/inventory/hardware.json +104 -0
  17. data/lib/definitions/common/schemas/inventory/mobile.json +73 -0
  18. data/lib/definitions/common/schemas/inventory/other_asset.json +74 -0
  19. data/lib/definitions/common/schemas/inventory/printer.json +41 -0
  20. data/lib/definitions/common/schemas/inventory/software.json +28 -0
  21. data/lib/definitions/common/schemas/inventory/warranty.json +40 -0
  22. data/lib/definitions/common/schemas/procurement/contract.json +67 -0
  23. data/lib/definitions/common/schemas/procurement/item.json +51 -0
  24. data/lib/definitions/common/schemas/procurement/purchase.json +57 -0
  25. data/lib/definitions/common/schemas/procurement/purchase_order.json +85 -0
  26. data/lib/definitions/common/schemas/procurement/vendor.json +67 -0
  27. data/lib/definitions/common/schemas/service_desk/catalog_item.json +71 -0
  28. data/lib/definitions/common/schemas/service_desk/change.json +88 -0
  29. data/lib/definitions/common/schemas/service_desk/change_catalog.json +77 -0
  30. data/lib/definitions/common/schemas/service_desk/comment.json +52 -0
  31. data/lib/definitions/common/schemas/service_desk/configuration_item.json +117 -0
  32. data/lib/definitions/common/schemas/service_desk/incident.json +99 -0
  33. data/lib/definitions/common/schemas/service_desk/problem.json +81 -0
  34. data/lib/definitions/common/schemas/service_desk/release.json +86 -0
  35. data/lib/definitions/common/schemas/service_desk/service_request.json +31 -0
  36. data/lib/definitions/common/schemas/service_desk/solution.json +61 -0
  37. data/lib/definitions/common/schemas/service_desk/time_track.json +37 -0
  38. data/lib/definitions/common/schemas/setup/category.json +54 -0
  39. data/lib/definitions/common/schemas/setup/department.json +48 -0
  40. data/lib/definitions/common/schemas/setup/group.json +65 -0
  41. data/lib/definitions/common/schemas/setup/role.json +51 -0
  42. data/lib/definitions/common/schemas/setup/site.json +64 -0
  43. data/lib/definitions/common/schemas/setup/user.json +67 -0
  44. data/lib/definitions/common/schemas/tasks/task.json +52 -0
  45. data/lib/definitions/openapi.json +105 -10
  46. data/lib/definitions/paths/attachments/attachments.json +12 -0
  47. data/lib/definitions/paths/audits/audits.json +35 -0
  48. data/lib/definitions/paths/audits/audits_by_id.json +37 -0
  49. data/lib/definitions/paths/catalog_items/catalog_item_by_id.json +83 -0
  50. data/lib/definitions/paths/catalog_items/catalog_items.json +69 -0
  51. data/lib/definitions/paths/categories/categories.json +62 -0
  52. data/lib/definitions/paths/categories/category_by_id.json +70 -0
  53. data/lib/definitions/paths/change_catalogs/change_catalog_by_id.json +83 -0
  54. data/lib/definitions/paths/change_catalogs/change_catalogs.json +69 -0
  55. data/lib/definitions/paths/changes/change_by_id.json +83 -0
  56. data/lib/definitions/paths/changes/changes.json +69 -0
  57. data/lib/definitions/paths/comments/comment_by_id.json +65 -0
  58. data/lib/definitions/paths/comments/comments.json +31 -0
  59. data/lib/definitions/paths/configuration_items/append_dependent_assets.json +24 -0
  60. data/lib/definitions/paths/configuration_items/configuration_item_by_id.json +83 -0
  61. data/lib/definitions/paths/configuration_items/configuration_items.json +69 -0
  62. data/lib/definitions/paths/configuration_items/delete_asset_link.json +24 -0
  63. data/lib/definitions/paths/contracts/contract_by_id.json +74 -0
  64. data/lib/definitions/paths/contracts/contracts.json +62 -0
  65. data/lib/definitions/paths/contracts/item_by_id.json +75 -0
  66. data/lib/definitions/paths/contracts/items.json +30 -0
  67. data/lib/definitions/paths/departments/department_by_id.json +70 -0
  68. data/lib/definitions/paths/departments/departments.json +62 -0
  69. data/lib/definitions/paths/groups/group_by_id.json +70 -0
  70. data/lib/definitions/paths/groups/groups.json +62 -0
  71. data/lib/definitions/paths/hardwares/hardware_by_id.json +83 -0
  72. data/lib/definitions/paths/hardwares/hardwares.json +69 -0
  73. data/lib/definitions/paths/hardwares/warranties.json +64 -0
  74. data/lib/definitions/paths/hardwares/warranty_by_id.json +75 -0
  75. data/lib/definitions/paths/incidents/incident_by_id.json +7 -7
  76. data/lib/definitions/paths/incidents/incidents.json +11 -11
  77. data/lib/definitions/paths/memberships/membership_by_id.json +20 -0
  78. data/lib/definitions/paths/memberships/memberships.json +29 -0
  79. data/lib/definitions/paths/mobiles/mobile_by_id.json +74 -0
  80. data/lib/definitions/paths/mobiles/mobiles.json +62 -0
  81. data/lib/definitions/paths/other_assets/other_asset_by_id.json +74 -0
  82. data/lib/definitions/paths/other_assets/other_assets.json +62 -0
  83. data/lib/definitions/paths/printers/printer_by_id.json +53 -0
  84. data/lib/definitions/paths/printers/printers.json +36 -0
  85. data/lib/definitions/paths/problems/problem_by_id.json +83 -0
  86. data/lib/definitions/paths/problems/problems.json +69 -0
  87. data/lib/definitions/paths/purchase_orders/purchase_order_by_id.json +74 -0
  88. data/lib/definitions/paths/purchase_orders/purchase_orders.json +62 -0
  89. data/lib/definitions/paths/purchases/purchase_by_id.json +65 -0
  90. data/lib/definitions/paths/purchases/purchases.json +31 -0
  91. data/lib/definitions/paths/releases/release_by_id.json +83 -0
  92. data/lib/definitions/paths/releases/releases.json +69 -0
  93. data/lib/definitions/paths/risks/risks.json +34 -0
  94. data/lib/definitions/paths/roles/role_by_id.json +70 -0
  95. data/lib/definitions/paths/roles/roles.json +62 -0
  96. data/lib/definitions/paths/service_requests/request_by_id.json +37 -0
  97. data/lib/definitions/paths/sites/site_by_id.json +74 -0
  98. data/lib/definitions/paths/sites/sites.json +62 -0
  99. data/lib/definitions/paths/softwares/software_by_id.json +24 -0
  100. data/lib/definitions/paths/softwares/softwares.json +36 -0
  101. data/lib/definitions/paths/solutions/solution_by_id.json +83 -0
  102. data/lib/definitions/paths/solutions/solutions.json +69 -0
  103. data/lib/definitions/paths/tasks/task_by_id.json +65 -0
  104. data/lib/definitions/paths/tasks/tasks.json +31 -0
  105. data/lib/definitions/paths/time_tracks/time_track_by_id.json +65 -0
  106. data/lib/definitions/paths/time_tracks/time_tracks.json +66 -0
  107. data/lib/definitions/paths/users/user_by_id.json +83 -0
  108. data/lib/definitions/paths/users/users.json +69 -0
  109. data/lib/definitions/paths/vendors/vendor_by_id.json +74 -0
  110. data/lib/definitions/paths/vendors/vendors.json +62 -0
  111. data/lib/solarwinds/itsm/api/definitions.rb +52 -3
  112. metadata +106 -4
  113. data/lib/definitions/common/schemas/incident.json +0 -78
  114. data/lib/resolved_schema/resolved_schema.json +0 -1
@@ -0,0 +1,70 @@
1
+ {
2
+ "examples": {
3
+ "request": {
4
+ "json": {
5
+ "catalog_item": {
6
+ "name": "CI Name",
7
+ "site_id": 1,
8
+ "department_id": 1,
9
+ "description": "description",
10
+ "state": "Approved",
11
+ "default_assignee_id": "1",
12
+ "category": { "name": "Facilities" },
13
+ "subcategory": { "name": "Equipment" },
14
+ "expected_delivery_time": "1 day",
15
+ "currency": "USD",
16
+ "price": "1",
17
+ "show_price": true,
18
+ "add_to_tag_list": "tag1",
19
+ "remove_from_tag_list": "tag2",
20
+ "tag_list": "tag1"
21
+ }
22
+ }
23
+ },
24
+ "response": {
25
+ "json": {
26
+ "catalog_item": {
27
+ "id": "10000",
28
+ "number": "1000",
29
+ "name": "CI Name",
30
+ "description": "description",
31
+ "created_at": "2025-01-01T00:00:00.000+01:00",
32
+ "site": {
33
+ "id": "1",
34
+ "name": "Austin TX, USA",
35
+ "location": "AUS",
36
+ "description": "",
37
+ "time_zone": ""
38
+ },
39
+ "department": {
40
+ "id": "1",
41
+ "name": "Support",
42
+ "description": "",
43
+ "default_assignee_id": "1"
44
+ },
45
+ "category": {
46
+ "id": "10000",
47
+ "name": "Facilities",
48
+ "default_tags": "tagA, tagB",
49
+ "parent_id": "null",
50
+ "default_assignee_id": "1"
51
+ },
52
+ "subcategory": {
53
+ "id": "1000",
54
+ "name": "Equipment",
55
+ "default_tags": "",
56
+ "parent_id": "10000",
57
+ "default_assignee_id": "1"
58
+ },
59
+ "expected_delivery_time": "1 day",
60
+ "currency": "USD",
61
+ "price": "1",
62
+ "show_price": true,
63
+ "tags": [{ "id": 1, "name": "tag1", "taggings_count": 1 }],
64
+ "origin": "api",
65
+ "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}]
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "examples": {
3
+ "request": {
4
+ "json": {
5
+ "change": {
6
+ "name": "Change Name",
7
+ "change_type": 1,
8
+ "site_id": 1,
9
+ "department_id": 1,
10
+ "description": "description",
11
+ "state_id": 1,
12
+ "assignee": { "email": "john.doe@email.com" },
13
+ "requester": { "email": "john.doe@email.com" },
14
+ "priority": "High",
15
+ "change_plan": "change plan",
16
+ "rollback_plan": "rollback plan",
17
+ "test_plan": "test plan" ,
18
+ "planned_start_at": "2025-01-01 00:00" ,
19
+ "planned_end_at": "2025-01-01 05:00",
20
+ "add_to_tag_list": "tag1, tag2",
21
+ "remove_from_tag_list": "tag3",
22
+ "tag_list": "tag1, tag2",
23
+ "custom_fields_values_attributes": [
24
+ { "id": 10, "custom_field_id": 1, "value": "content" },
25
+ { "id": 100, "custom_field_id": 2, "value": "1" }
26
+ ],
27
+ "custom_fields_values": {
28
+ "custom_fields_value": [
29
+ { "name": "Text custom field", "value": "content" },
30
+ { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } }
31
+ ]
32
+ },
33
+ "incidents": [{ "number": "100" }],
34
+ "problems": [{ "number": "100" }],
35
+ "releases": [{ "number": "100" }],
36
+ "configuration_item_ids":["100"]
37
+ }
38
+ }
39
+ },
40
+ "response": {
41
+ "json": {
42
+ "change": {
43
+ "id": "10000",
44
+ "number": "1000",
45
+ "name": "Change Name",
46
+ "description": "description",
47
+ "state": "New",
48
+ "site": {
49
+ "id": "1",
50
+ "name": "Austin TX, USA",
51
+ "location": "AUS",
52
+ "description": "",
53
+ "time_zone": ""
54
+ },
55
+ "department": {
56
+ "id": "1",
57
+ "name": "Support",
58
+ "description": "",
59
+ "default_assignee_id": "1"
60
+ },
61
+ "priority": "High",
62
+ "assignee": {
63
+ "group_id": "1",
64
+ "is_user": "true",
65
+ "id": "1",
66
+ "name": "John Doe",
67
+ "email": "john.doe@email.com",
68
+ "avatar": {
69
+ "type": "initials",
70
+ "color": "#fd4165",
71
+ "initials": "JD"
72
+ }
73
+ },
74
+ "requester": {
75
+ "id": "1",
76
+ "account_id": "1",
77
+ "user_id": "1",
78
+ "email": "john.doe@email.com",
79
+ "name": "John Doe",
80
+ "disabled": false,
81
+ "avatar": {
82
+ "type": "initials",
83
+ "color": "#fd4165",
84
+ "initials": "JD"
85
+ }
86
+ },
87
+ "custom_fields_values": [
88
+ {
89
+ "id": "10",
90
+ "custom_field_id": "1",
91
+ "name": "Text custom field",
92
+ "value": "content",
93
+ "options": "",
94
+ "type_name": "Text"
95
+ },
96
+ {
97
+ "id": "100",
98
+ "custom_field_id": "2",
99
+ "name": "User custom field",
100
+ "value": "1",
101
+ "options": "",
102
+ "type_name": "User",
103
+ "user": {
104
+ "group_id": 1,
105
+ "is_user": true,
106
+ "id": 1,
107
+ "name": "John Doe",
108
+ "email": "john.doe@email.com"
109
+ }
110
+ }
111
+ ],
112
+ "change_plan": "change plan",
113
+ "rollback_plan": "rollback plan",
114
+ "test_plan": "test plan" ,
115
+ "planned_start_at": "2025-01-01T00:00:00.000+01:00" ,
116
+ "planned_end_at": "2025-01-01T05:00:00.000+01:00",
117
+ "origin": "api",
118
+ "created_at": "2025-01-01T00:00:00.000+01:00",
119
+ "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}],
120
+ "problems": [{ "id": "100", "href": "https://mydomain.com/problems/100"}],
121
+ "releases": [{ "id": "100", "href": "https://mydomain.com/releases/100"}],
122
+ "configuration_items": [{ "id": "100", "href": "https://mydomain.com/configuration_items/100"}]
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "examples": {
3
+ "request": {
4
+ "json": {
5
+ "change_catalog": {
6
+ "name": "Change Catalog Name",
7
+ "change_type": 1,
8
+ "site_id": 1,
9
+ "department_id": 1,
10
+ "description": "description",
11
+ "state_id": 1,
12
+ "default_assignee_id": 1,
13
+ "priority": "High",
14
+ "change_plan": "change plan",
15
+ "rollback_plan": "rollback plan",
16
+ "test_plan": "test plan" ,
17
+ "add_to_tag_list": "tag1, tag2",
18
+ "remove_from_tag_list": "tag3",
19
+ "tag_list": "tag1, tag2",
20
+ "custom_fields_values_attributes": [
21
+ { "id": 10, "custom_field_id": 1, "value": "content" },
22
+ { "id": 100, "custom_field_id": 2, "value": "1" }
23
+ ],
24
+ "custom_fields_values": {
25
+ "custom_fields_value": [
26
+ { "name": "Text custom field", "value": "content" },
27
+ { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } }
28
+ ]
29
+ },
30
+ "show_in_portal": true
31
+ }
32
+ }
33
+ },
34
+ "response": {
35
+ "json": {
36
+ "change_catalog": {
37
+ "id": "1",
38
+ "number": "1",
39
+ "name": "Change Catalog Name",
40
+ "description": "description",
41
+ "state": "Approved",
42
+ "site": {
43
+ "id": "1",
44
+ "name": "Austin TX, USA",
45
+ "location": "AUS",
46
+ "description": "",
47
+ "time_zone": ""
48
+ },
49
+ "department": {
50
+ "id": "1",
51
+ "name": "Support",
52
+ "description": "",
53
+ "default_assignee_id": "1"
54
+ },
55
+ "priority": "High",
56
+ "default_assignee_id": 1,
57
+ "custom_fields_values": [
58
+ {
59
+ "id": "10",
60
+ "custom_field_id": "1",
61
+ "name": "Text custom field",
62
+ "value": "content",
63
+ "options": "",
64
+ "type_name": "Text"
65
+ },
66
+ {
67
+ "id": "100",
68
+ "custom_field_id": "2",
69
+ "name": "User custom field",
70
+ "value": "1",
71
+ "options": "",
72
+ "type_name": "User",
73
+ "user": {
74
+ "group_id": 1,
75
+ "is_user": true,
76
+ "id": 1,
77
+ "name": "John Doe",
78
+ "email": "john.doe@email.com"
79
+ }
80
+ }
81
+ ],
82
+ "change_plan": "change plan",
83
+ "rollback_plan": "rollback plan",
84
+ "test_plan": "test plan",
85
+ "origin": "api",
86
+ "created_at": "2025-01-01T00:00:00.000+01:00",
87
+ "show_in_portal": true
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "examples": {
3
+ "request": {
4
+ "json": {
5
+ "configuration_item": {
6
+ "name": "Configuration Item Name",
7
+ "description": "Description",
8
+ "type": { "name": "Building" },
9
+ "type_id": 1,
10
+ "asset_tag": "ConfigurationItemTag",
11
+ "site_id": 1,
12
+ "department_id": 1,
13
+ "state": "Active",
14
+ "manager": { "email": "john.doe@email.com" },
15
+ "user": { "email": "jane.doe@email.com" },
16
+ "add_to_tag_list": "tag1, tag2",
17
+ "remove_from_tag_list": "tag3",
18
+ "tag_list": "tag1, tag2",
19
+ "custom_fields_values_attributes": [
20
+ { "id": "1", "custom_field_id": 1, "value": "content" }
21
+ ],
22
+ "incident_ids": [100],
23
+ "problem_ids": [100],
24
+ "itsm_change_ids": [100],
25
+ "release_ids": [100],
26
+ "purchase_order_ids":[100]
27
+ }
28
+ }
29
+ },
30
+ "response": {
31
+ "json": {
32
+ "configuration_item": {
33
+ "id": "10000",
34
+ "number": "1000",
35
+ "name": "Configuration Item Name",
36
+ "description": "description",
37
+ "asset_tag": "ConfigurationItemTag",
38
+ "type": {
39
+ "id": 1,
40
+ "name": "Building",
41
+ "description": "Configuration Item - Building",
42
+ "parent_id": 1,
43
+ "custom": false,
44
+ "updated_at": "2025-01-01T00:00:00.000+01:00",
45
+ "icon_name": "BUILDING"
46
+ },
47
+ "type_id": 1,
48
+ "state": "Active",
49
+ "site": {
50
+ "id": "1",
51
+ "name": "Austin TX, USA",
52
+ "location": "AUS",
53
+ "description": "",
54
+ "time_zone": ""
55
+ },
56
+ "department": {
57
+ "id": "1",
58
+ "name": "Support",
59
+ "description": "",
60
+ "default_assignee_id": "1"
61
+ },
62
+ "manager_id": {
63
+ "group_id": "1",
64
+ "is_user": "true",
65
+ "id": "1",
66
+ "name": "John Doe",
67
+ "email": "john.doe@email.com",
68
+ "avatar": {
69
+ "type": "initials",
70
+ "color": "#fd4165",
71
+ "initials": "JD"
72
+ }
73
+ },
74
+ "user_id": {
75
+ "group_id": "1",
76
+ "is_user": "true",
77
+ "id": "1",
78
+ "name": "Jane Doe",
79
+ "email": "jane.doe@email.com",
80
+ "avatar": {
81
+ "type": "initials",
82
+ "color": "#fd4165",
83
+ "initials": "JD"
84
+ }
85
+ },
86
+ "custom_fields_values": [
87
+ {
88
+ "id": "1000",
89
+ "custom_field_id": "1",
90
+ "name": "field name",
91
+ "value": "content",
92
+ "options": "",
93
+ "type_name": "Text"
94
+ }
95
+ ],
96
+ "updated_at": "2025-01-01T00:00:00.000+01:00",
97
+ "created_at": "2025-01-01T00:00:00.000+01:00",
98
+ "origin": "api",
99
+ "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}],
100
+ "problems": [{ "id": "100", "href": "https://mydomain.com/problems/100"}],
101
+ "changes": [{ "id": "100", "href": "https://mydomain.com/changes/100"}],
102
+ "releases": [{ "id": "100", "href": "https://mydomain.com/releases/100"}],
103
+ "purchase_orders": [{ "id": "100", "href": "https://mydomain.com/releases/100"}]
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "examples": {
3
+ "request": {
4
+ "hardware": {
5
+ "name": "Hardware Name",
6
+ "description": "description",
7
+ "category": { "name": "Laptop" },
8
+ "site_id": 1,
9
+ "department_id": 1,
10
+ "ip_address": "0.0.0.0",
11
+ "external_ip": "0.0.0.0",
12
+ "status": { "name": "Operational" },
13
+ "technical_contact": { "email": "john.doe@email.com" },
14
+ "owner": { "email": "john.doe@email.com" },
15
+ "notes": "Hardware notes",
16
+ "barcode_encoding_format": "Code1A",
17
+ "cpu": "hardware_cpu",
18
+ "processor_speed": "processor_speed",
19
+ "memory":1024,
20
+ "swap": "MB",
21
+ "operating_system": "Windows 10",
22
+ "domain": "domain description",
23
+ "active_directory": "Workgroup of the OS",
24
+ "address": "Site 1, Building 1, Department 1",
25
+ "longitude": "0.000",
26
+ "latitude":"0.000",
27
+ "product_number":"1",
28
+ "custom_fields_values_attributes": [
29
+ { "id": 10, "custom_field_id": 1, "value": "content" },
30
+ { "id": 100, "custom_field_id": 2, "value": "1" }
31
+ ],
32
+ "custom_fields_values": {
33
+ "custom_fields_value": [
34
+ { "name": "Text custom field", "value": "content" },
35
+ { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } }
36
+ ]
37
+ },
38
+ "bio": {
39
+ "manufacturer":"Dell",
40
+ "ssn":"1",
41
+ "model":"model description",
42
+ "version":"1",
43
+ "bios_date":"2020-01-01 00:00"
44
+ },
45
+ "tag": "tag",
46
+ "asset_tag": 1
47
+ }
48
+ },
49
+ "response": {
50
+ "hardware": {
51
+ "id": 1,
52
+ "name": "Hardware Name",
53
+ "description": "description",
54
+ "category": { "id": 1, "name": "Laptop" },
55
+ "site": {
56
+ "id": "1",
57
+ "name": "Austin TX, USA",
58
+ "location": "AUS",
59
+ "description": "",
60
+ "time_zone": ""
61
+ },
62
+ "department": {
63
+ "id": "1",
64
+ "name": "Support",
65
+ "description": "",
66
+ "default_assignee_id": "1"
67
+ },
68
+ "ip": "0.0.0.0",
69
+ "external_ip": "0.0.0.0",
70
+ "status": { "name": "Operational" },
71
+ "technical_contact": { "email": "john.doe@email.com" },
72
+ "owner": { "email": "john.doe@email.com" },
73
+ "notes": "Hardware notes",
74
+ "barcode_encoding_format": "Code1A",
75
+ "cpu": "hardware_cpu",
76
+ "processor_speed": "processor_speed",
77
+ "memory":1024,
78
+ "swap": "MB",
79
+ "operating_system": "Windows 10",
80
+ "domain": "domain description",
81
+ "active_directory": "Workgroup of the OS",
82
+ "address": "Site 1, Building 1, Department 1",
83
+ "longitude": "0.000",
84
+ "latitude": "0.000",
85
+ "product_number": "1",
86
+ "custom_fields_values": [
87
+ {
88
+ "id": "10",
89
+ "custom_field_id": "1",
90
+ "name": "Text custom field",
91
+ "value": "content",
92
+ "options": "",
93
+ "type_name": "Text"
94
+ },
95
+ {
96
+ "id": "100",
97
+ "custom_field_id": "2",
98
+ "name": "User custom field",
99
+ "value": "1",
100
+ "options": "",
101
+ "type_name": "User",
102
+ "user": {
103
+ "group_id": 1,
104
+ "is_user": true,
105
+ "id": 1,
106
+ "name": "John Doe",
107
+ "email": "john.doe@email.com"
108
+ }
109
+ }
110
+ ],
111
+ "bioses": [{
112
+ "id": 1,
113
+ "manufacturer": "Dell",
114
+ "ssn": "1",
115
+ "model": "model description",
116
+ "version": "1",
117
+ "bios_date": "2020-01-01 00:00",
118
+ "reported_at": "2020-01-01 00:00"
119
+ }],
120
+ "tag": "tag",
121
+ "asset_tag": "1"
122
+ }
123
+ }
124
+ }
125
+ }