solarwinds-itsm-api-definitions 0.2.5 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Redocly/development.html +57 -23
- data/Redocly/index.html +55 -23
- data/Redocly/redoc/schema/resolved_schema.json +1 -1
- data/lib/definitions/common/components.json +293 -13
- data/lib/definitions/common/examples/associations/category.json +12 -0
- data/lib/definitions/common/examples/associations/department.json +9 -0
- data/lib/definitions/common/examples/associations/group_assignee.json +27 -0
- data/lib/definitions/common/examples/associations/site.json +11 -0
- data/lib/definitions/common/examples/associations/sub_category.json +11 -0
- data/lib/definitions/common/examples/catalog_item.json +6 -28
- data/lib/definitions/common/examples/change.json +233 -20
- data/lib/definitions/common/examples/change_catalog.json +5 -15
- data/lib/definitions/common/examples/change_request.json +2 -1
- data/lib/definitions/common/examples/configuration_item.json +17 -18
- data/lib/definitions/common/examples/contract.json +281 -0
- data/lib/definitions/common/examples/hardware.json +235 -71
- data/lib/definitions/common/examples/incident.json +397 -95
- data/lib/definitions/common/examples/other_asset.json +211 -0
- data/lib/definitions/common/examples/problem.json +212 -13
- data/lib/definitions/common/examples/release.json +26 -22
- data/lib/definitions/common/examples/service_request.json +10 -14
- data/lib/definitions/common/examples/solution.json +54 -0
- data/lib/definitions/common/examples/user.json +4 -15
- data/lib/definitions/common/schemas/inventory/mobile.json +2 -0
- data/lib/definitions/common/schemas/inventory/other_asset.json +2 -2
- data/lib/definitions/common/schemas/procurement/purchase_order.json +97 -1
- data/lib/definitions/common/schemas/service_desk/catalog_item.json +1 -0
- data/lib/definitions/common/schemas/service_desk/change.json +2 -0
- data/lib/definitions/common/schemas/service_desk/change_catalog.json +2 -0
- data/lib/definitions/common/schemas/service_desk/change_request.json +1 -0
- data/lib/definitions/common/schemas/service_desk/incident.json +72 -23
- data/lib/definitions/common/schemas/service_desk/problem.json +2 -0
- data/lib/definitions/common/schemas/service_desk/release.json +2 -0
- data/lib/definitions/common/schemas/service_desk/service_request.json +2 -6
- data/lib/definitions/common/schemas/setup/category.json +4 -2
- data/lib/definitions/common/schemas/setup/department.json +3 -1
- data/lib/definitions/common/schemas/setup/group.json +3 -2
- data/lib/definitions/common/schemas/setup/site.json +4 -1
- data/lib/definitions/openapi.json +4 -3
- data/lib/definitions/paths/changes/change_by_id.json +6 -2
- data/lib/definitions/paths/changes/changes.json +6 -2
- data/lib/definitions/paths/contracts/contract_by_id.json +9 -2
- data/lib/definitions/paths/contracts/contracts.json +6 -1
- data/lib/definitions/paths/hardwares/hardware_by_id.json +6 -2
- data/lib/definitions/paths/hardwares/hardwares.json +6 -2
- data/lib/definitions/paths/incidents/incident_by_id.json +6 -2
- data/lib/definitions/paths/incidents/incidents.json +6 -2
- data/lib/definitions/paths/other_assets/other_asset_by_id.json +9 -2
- data/lib/definitions/paths/other_assets/other_assets.json +6 -1
- data/lib/definitions/paths/problems/problem_by_id.json +6 -2
- data/lib/definitions/paths/problems/problems.json +6 -2
- data/lib/definitions/paths/purchase_orders/purchase_order_by_id.json +3 -2
- data/lib/definitions/paths/purchase_orders/purchase_orders.json +3 -2
- data/lib/definitions/paths/solutions/solution_by_id.json +6 -2
- data/lib/definitions/paths/solutions/solutions.json +6 -2
- metadata +15 -6
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
{
|
|
2
|
+
"examples": {
|
|
3
|
+
"response": {
|
|
4
|
+
"json": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"id": "1",
|
|
7
|
+
"name": "Contract Name",
|
|
8
|
+
"type": "Software License",
|
|
9
|
+
"manufacturer_name": "Apple",
|
|
10
|
+
"start_date": "2020-01-01T00:00:00-00:00",
|
|
11
|
+
"end_date": "2030-01-01T00:00:00-00:00",
|
|
12
|
+
"created_at": "2024-08-25T07:32:16.000-07:00",
|
|
13
|
+
"updated_at": "2024-08-25T07:32:17.000-07:00",
|
|
14
|
+
"note": "Contract Note",
|
|
15
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
16
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
17
|
+
"items": [
|
|
18
|
+
{
|
|
19
|
+
"name": "appendix",
|
|
20
|
+
"version": "1.23",
|
|
21
|
+
"quantity": 1,
|
|
22
|
+
"language": null,
|
|
23
|
+
"date": null,
|
|
24
|
+
"rate": null,
|
|
25
|
+
"notes": null,
|
|
26
|
+
"created_at": "2024-08-25T07:29:17.000-07:00",
|
|
27
|
+
"updated_at": "2024-08-25T07:32:17.000-07:00",
|
|
28
|
+
"tag": "dag",
|
|
29
|
+
"manufacturer": null,
|
|
30
|
+
"contract": null,
|
|
31
|
+
"inventory": null,
|
|
32
|
+
"variance": null
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"status": "Active",
|
|
36
|
+
"custom_fields_values": [
|
|
37
|
+
{
|
|
38
|
+
"id": "1",
|
|
39
|
+
"custom_field_id": "1",
|
|
40
|
+
"name": "Name of custom text field",
|
|
41
|
+
"value": "content",
|
|
42
|
+
"type_name": "Text"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"response_long": {
|
|
50
|
+
"json": {
|
|
51
|
+
"contract": {
|
|
52
|
+
"id": "1",
|
|
53
|
+
"name": "Contract Name",
|
|
54
|
+
"type": "Software License",
|
|
55
|
+
"manufacturer_name": "Apple",
|
|
56
|
+
"start_date": "2020-01-01T00:00:00-00:00",
|
|
57
|
+
"end_date": "2030-01-01T00:00:00-00:00",
|
|
58
|
+
"created_at": "2024-08-25T07:32:16.000-07:00",
|
|
59
|
+
"updated_at": "2024-08-25T07:32:17.000-07:00",
|
|
60
|
+
"note": "Contract Note",
|
|
61
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
62
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
63
|
+
"items": [
|
|
64
|
+
{
|
|
65
|
+
"name": "appendix",
|
|
66
|
+
"version": "1.23",
|
|
67
|
+
"quantity": 1,
|
|
68
|
+
"language": null,
|
|
69
|
+
"date": null,
|
|
70
|
+
"rate": null,
|
|
71
|
+
"notes": null,
|
|
72
|
+
"created_at": "2024-08-25T07:29:17.000-07:00",
|
|
73
|
+
"updated_at": "2024-08-25T07:32:17.000-07:00",
|
|
74
|
+
"tag": "dag",
|
|
75
|
+
"manufacturer": null,
|
|
76
|
+
"contract": null,
|
|
77
|
+
"inventory": null,
|
|
78
|
+
"variance": null
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"status": "Active",
|
|
82
|
+
"custom_fields_values": [
|
|
83
|
+
{
|
|
84
|
+
"id": "1",
|
|
85
|
+
"custom_field_id": "1",
|
|
86
|
+
"name": "Name of custom text field",
|
|
87
|
+
"value": "content",
|
|
88
|
+
"type_name": "Text"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"purchases": [
|
|
92
|
+
{
|
|
93
|
+
"id": 266602,
|
|
94
|
+
"date": "2024-08-21T00:00:00.000-07:00",
|
|
95
|
+
"number": "11",
|
|
96
|
+
"notes": "a",
|
|
97
|
+
"total_cost": "83727400.0",
|
|
98
|
+
"currency": "USD",
|
|
99
|
+
"recurrence": "One_Time",
|
|
100
|
+
"created_at": "2024-08-25T07:29:49.000-07:00",
|
|
101
|
+
"updated_at": "2024-08-25T07:32:17.000-07:00",
|
|
102
|
+
"vendor": {
|
|
103
|
+
"id": 153707,
|
|
104
|
+
"href": "https://api.samanage.com/vendors/153707-amazon",
|
|
105
|
+
"name": "Amazon",
|
|
106
|
+
"url": "",
|
|
107
|
+
"contact_name": "",
|
|
108
|
+
"contact_email": "",
|
|
109
|
+
"contact_phone": "",
|
|
110
|
+
"note": "",
|
|
111
|
+
"address": "",
|
|
112
|
+
"city": "",
|
|
113
|
+
"state": "",
|
|
114
|
+
"zip": "",
|
|
115
|
+
"telephone": "",
|
|
116
|
+
"vendor_type": {
|
|
117
|
+
"id": 50,
|
|
118
|
+
"name": "Computer Hardware Vendor"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"total_financial_value": "USD 83,727,400.00",
|
|
124
|
+
"attachments": [
|
|
125
|
+
{
|
|
126
|
+
"id": 212598157,
|
|
127
|
+
"content_type": "application/json",
|
|
128
|
+
"size": 583,
|
|
129
|
+
"filename": "myjson.json",
|
|
130
|
+
"url": "https://mydomain.com/attachments/c4d6df03448d80c4d9c1/myjson",
|
|
131
|
+
"shared_attachment": false,
|
|
132
|
+
"attachable_id": 753657,
|
|
133
|
+
"attachable_type": "Problem",
|
|
134
|
+
"attachment_type": "attachment",
|
|
135
|
+
"thumb_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json?thumb=true",
|
|
136
|
+
"secure_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json",
|
|
137
|
+
"link_uuid_url": "/attachments/c4d6df03448d80c4d9c1",
|
|
138
|
+
"uuid": "c4d6df03448d80c4d9c1"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": 212598158,
|
|
142
|
+
"content_type": "text/plain",
|
|
143
|
+
"size": 251,
|
|
144
|
+
"filename": "notpersonal.txt",
|
|
145
|
+
"url": "https://mydomain.com/attachments/c4d6df03448d80c4d9c1/myjson",
|
|
146
|
+
"shared_attachment": false,
|
|
147
|
+
"attachable_id": 753657,
|
|
148
|
+
"attachable_type": "Problem",
|
|
149
|
+
"attachment_type": "attachment",
|
|
150
|
+
"thumb_url": "/attachments/9d2e6444a7773cacab39/notpersonal-txt.plain?thumb=true",
|
|
151
|
+
"secure_url": "/attachments/9d2e6444a7773cacab39/notpersonal-txt.plain",
|
|
152
|
+
"link_uuid_url": "/attachments/9d2e6444a7773cacab39",
|
|
153
|
+
"uuid": "9d2e6444a7773cacab39"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"owner": {
|
|
157
|
+
"group_id": 9302435,
|
|
158
|
+
"is_user": true,
|
|
159
|
+
"id": 8614513,
|
|
160
|
+
"name": "Elad Kaufman",
|
|
161
|
+
"disabled": false,
|
|
162
|
+
"title": "Sir",
|
|
163
|
+
"email": "elad.kaufman@solarwinds.com",
|
|
164
|
+
"created_at": "2022-08-16T04:54:17.000-07:00",
|
|
165
|
+
"updated_at": "2024-08-21T00:24:46.000-07:00",
|
|
166
|
+
"last_login": "2024-08-21T00:24:46.000-07:00",
|
|
167
|
+
"phone": "",
|
|
168
|
+
"mobile_phone": "",
|
|
169
|
+
"role": {
|
|
170
|
+
"id": 90,
|
|
171
|
+
"name": "Administrator",
|
|
172
|
+
"description": "This is the all powerful administrator user!",
|
|
173
|
+
"portal": false,
|
|
174
|
+
"show_my_tasks": false
|
|
175
|
+
},
|
|
176
|
+
"group_ids": [
|
|
177
|
+
9302435,
|
|
178
|
+
10067404,
|
|
179
|
+
11826868,
|
|
180
|
+
11827076
|
|
181
|
+
],
|
|
182
|
+
"available_for_assignment": false,
|
|
183
|
+
"can_be_available_for_assignment": false,
|
|
184
|
+
"provider": "SolarWinds",
|
|
185
|
+
"custom_fields_values": [],
|
|
186
|
+
"site": null,
|
|
187
|
+
"department": null,
|
|
188
|
+
"avatar": {
|
|
189
|
+
"type": "initials",
|
|
190
|
+
"initials": "EK",
|
|
191
|
+
"color": "#0089c9"
|
|
192
|
+
},
|
|
193
|
+
"reports_to": null
|
|
194
|
+
},
|
|
195
|
+
"technical_owner": {
|
|
196
|
+
"group_id": 10128208,
|
|
197
|
+
"is_user": true,
|
|
198
|
+
"id": 9355701,
|
|
199
|
+
"name": "elad2",
|
|
200
|
+
"disabled": false,
|
|
201
|
+
"title": "",
|
|
202
|
+
"email": "elad.kaufman+2@solarwinds.com",
|
|
203
|
+
"created_at": "2023-04-03T00:51:46.000-07:00",
|
|
204
|
+
"updated_at": "2023-05-21T05:34:27.000-07:00",
|
|
205
|
+
"last_login": "2023-04-03T00:53:25.000-07:00",
|
|
206
|
+
"phone": "",
|
|
207
|
+
"mobile_phone": "",
|
|
208
|
+
"role": {
|
|
209
|
+
"id": 90,
|
|
210
|
+
"name": "Administrator",
|
|
211
|
+
"description": "This is the all powerful administrator user!",
|
|
212
|
+
"portal": false,
|
|
213
|
+
"show_my_tasks": false
|
|
214
|
+
},
|
|
215
|
+
"group_ids": [
|
|
216
|
+
10128208
|
|
217
|
+
],
|
|
218
|
+
"available_for_assignment": false,
|
|
219
|
+
"can_be_available_for_assignment": false,
|
|
220
|
+
"provider": "SolarWinds",
|
|
221
|
+
"custom_fields_values": [],
|
|
222
|
+
"site": null,
|
|
223
|
+
"department": null,
|
|
224
|
+
"avatar": {
|
|
225
|
+
"type": "initials",
|
|
226
|
+
"initials": "EL",
|
|
227
|
+
"color": "#fd4165"
|
|
228
|
+
},
|
|
229
|
+
"reports_to": null
|
|
230
|
+
},
|
|
231
|
+
"purchasing_owner": {
|
|
232
|
+
"group_id": 10128208,
|
|
233
|
+
"is_user": true,
|
|
234
|
+
"id": 9355701,
|
|
235
|
+
"name": "elad2",
|
|
236
|
+
"disabled": false,
|
|
237
|
+
"title": "",
|
|
238
|
+
"email": "elad.kaufman+2@solarwinds.com",
|
|
239
|
+
"created_at": "2023-04-03T00:51:46.000-07:00",
|
|
240
|
+
"updated_at": "2023-05-21T05:34:27.000-07:00",
|
|
241
|
+
"last_login": "2023-04-03T00:53:25.000-07:00",
|
|
242
|
+
"phone": "",
|
|
243
|
+
"mobile_phone": "",
|
|
244
|
+
"role": {
|
|
245
|
+
"id": 90,
|
|
246
|
+
"name": "Administrator",
|
|
247
|
+
"description": "This is the all powerful administrator user!",
|
|
248
|
+
"portal": false,
|
|
249
|
+
"show_my_tasks": false
|
|
250
|
+
},
|
|
251
|
+
"group_ids": [
|
|
252
|
+
10128208
|
|
253
|
+
],
|
|
254
|
+
"available_for_assignment": false,
|
|
255
|
+
"can_be_available_for_assignment": false,
|
|
256
|
+
"provider": "SolarWinds",
|
|
257
|
+
"custom_fields_values": [],
|
|
258
|
+
"site": null,
|
|
259
|
+
"department": null,
|
|
260
|
+
"avatar": {
|
|
261
|
+
"type": "initials",
|
|
262
|
+
"initials": "EL",
|
|
263
|
+
"color": "#fd4165"
|
|
264
|
+
},
|
|
265
|
+
"reports_to": null
|
|
266
|
+
},
|
|
267
|
+
"license_type": "Enterprise",
|
|
268
|
+
"tag_list": [ "tag name" ],
|
|
269
|
+
"parent_contracts": null,
|
|
270
|
+
"child_contracts": null,
|
|
271
|
+
"associated_contracts": [
|
|
272
|
+
{
|
|
273
|
+
"id": 782243,
|
|
274
|
+
"href": "https://api.samanage.com/contracts/782243"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
@@ -47,79 +47,243 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"response": {
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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"
|
|
50
|
+
"json": {
|
|
51
|
+
"hardware": {
|
|
52
|
+
"id": 1,
|
|
53
|
+
"name": "Hardware Name",
|
|
54
|
+
"description": "description",
|
|
55
|
+
"category": { "id": 1, "name": "Laptop" },
|
|
56
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
57
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
58
|
+
"ip": "0.0.0.0",
|
|
59
|
+
"external_ip": "0.0.0.0",
|
|
60
|
+
"status": { "name": "Operational" },
|
|
61
|
+
"technical_contact": { "email": "john.doe@email.com" },
|
|
62
|
+
"owner": { "email": "john.doe@email.com" },
|
|
63
|
+
"notes": "Hardware notes",
|
|
64
|
+
"barcode_encoding_format": "Code1A",
|
|
65
|
+
"cpu": "hardware_cpu",
|
|
66
|
+
"processor_speed": "processor_speed",
|
|
67
|
+
"memory":1024,
|
|
68
|
+
"swap": "MB",
|
|
69
|
+
"operating_system": "Windows 10",
|
|
70
|
+
"domain": "domain description",
|
|
71
|
+
"active_directory": "Workgroup of the OS",
|
|
72
|
+
"address": "Site 1, Building 1, Department 1",
|
|
73
|
+
"longitude": "0.000",
|
|
74
|
+
"latitude": "0.000",
|
|
75
|
+
"product_number": "1",
|
|
76
|
+
"custom_fields_values": [
|
|
77
|
+
{
|
|
78
|
+
"id": "10",
|
|
79
|
+
"custom_field_id": "1",
|
|
80
|
+
"name": "Text custom field",
|
|
81
|
+
"value": "content",
|
|
82
|
+
"options": "",
|
|
83
|
+
"type_name": "Text"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "100",
|
|
87
|
+
"custom_field_id": "2",
|
|
88
|
+
"name": "User custom field",
|
|
89
|
+
"value": "1",
|
|
90
|
+
"options": "",
|
|
91
|
+
"type_name": "User",
|
|
92
|
+
"user": {
|
|
93
|
+
"group_id": 1,
|
|
94
|
+
"is_user": true,
|
|
95
|
+
"id": 1,
|
|
96
|
+
"name": "John Doe",
|
|
97
|
+
"email": "john.doe@email.com"
|
|
98
|
+
}
|
|
108
99
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
100
|
+
],
|
|
101
|
+
"bioses": [{
|
|
102
|
+
"id": 1,
|
|
103
|
+
"manufacturer": "Dell",
|
|
104
|
+
"ssn": "1",
|
|
105
|
+
"model": "model description",
|
|
106
|
+
"version": "1",
|
|
107
|
+
"bios_date": "2020-01-01 00:00",
|
|
108
|
+
"reported_at": "2020-01-01 00:00"
|
|
109
|
+
}],
|
|
110
|
+
"tag": "tag",
|
|
111
|
+
"asset_tag": "1"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"response_long": {
|
|
116
|
+
"json": {
|
|
117
|
+
"hardware": {
|
|
112
118
|
"id": 1,
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
"name": "Hardware Name",
|
|
120
|
+
"description": "description",
|
|
121
|
+
"category": { "id": 1, "name": "Laptop" },
|
|
122
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
123
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
124
|
+
"ip": "0.0.0.0",
|
|
125
|
+
"external_ip": "0.0.0.0",
|
|
126
|
+
"status": { "name": "Operational" },
|
|
127
|
+
"technical_contact": { "email": "john.doe@email.com" },
|
|
128
|
+
"owner": { "email": "john.doe@email.com" },
|
|
129
|
+
"notes": "Hardware notes",
|
|
130
|
+
"barcode_encoding_format": "Code1A",
|
|
131
|
+
"cpu": "hardware_cpu",
|
|
132
|
+
"processor_speed": "processor_speed",
|
|
133
|
+
"memory":1024,
|
|
134
|
+
"swap": "MB",
|
|
135
|
+
"operating_system": "Windows 10",
|
|
136
|
+
"domain": "domain description",
|
|
137
|
+
"active_directory": "Workgroup of the OS",
|
|
138
|
+
"address": "Site 1, Building 1, Department 1",
|
|
139
|
+
"longitude": "0.000",
|
|
140
|
+
"latitude": "0.000",
|
|
141
|
+
"product_number": "1",
|
|
142
|
+
"custom_fields_values": [
|
|
143
|
+
{
|
|
144
|
+
"id": "10",
|
|
145
|
+
"custom_field_id": "1",
|
|
146
|
+
"name": "Text custom field",
|
|
147
|
+
"value": "content",
|
|
148
|
+
"options": "",
|
|
149
|
+
"type_name": "Text"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "100",
|
|
153
|
+
"custom_field_id": "2",
|
|
154
|
+
"name": "User custom field",
|
|
155
|
+
"value": "1",
|
|
156
|
+
"options": "",
|
|
157
|
+
"type_name": "User",
|
|
158
|
+
"user": {
|
|
159
|
+
"group_id": 1,
|
|
160
|
+
"is_user": true,
|
|
161
|
+
"id": 1,
|
|
162
|
+
"name": "John Doe",
|
|
163
|
+
"email": "john.doe@email.com"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"bioses": [{
|
|
168
|
+
"id": 1,
|
|
169
|
+
"manufacturer": "Dell",
|
|
170
|
+
"ssn": "1",
|
|
171
|
+
"model": "model description",
|
|
172
|
+
"version": "1",
|
|
173
|
+
"bios_date": "2020-01-01 00:00",
|
|
174
|
+
"reported_at": "2020-01-01 00:00"
|
|
175
|
+
}],
|
|
176
|
+
"tag": "tag",
|
|
177
|
+
"asset_tag": "1",
|
|
178
|
+
"contract": null,
|
|
179
|
+
"maintenance_contract": null,
|
|
180
|
+
"lease_contract": {
|
|
181
|
+
"href": "https://api.samanage.com/contracts/476738-eetay-s-contract",
|
|
182
|
+
"id": 476738,
|
|
183
|
+
"name": "Eetay's contract",
|
|
184
|
+
"type": "Lease",
|
|
185
|
+
"manufacturer_name": "Microsoft",
|
|
186
|
+
"start_date": "2018-07-10T17:00:00.000-07:00",
|
|
187
|
+
"end_date": "2018-09-29T17:00:00.000-07:00",
|
|
188
|
+
"created_at": "2018-07-10T04:19:38.000-07:00",
|
|
189
|
+
"updated_at": "2024-08-27T02:19:54.000-07:00",
|
|
190
|
+
"note": "",
|
|
191
|
+
"site": null,
|
|
192
|
+
"department": null,
|
|
193
|
+
"items": [
|
|
194
|
+
{
|
|
195
|
+
"name": "Apple - iPhone 7",
|
|
196
|
+
"version": null,
|
|
197
|
+
"quantity": 1,
|
|
198
|
+
"language": null,
|
|
199
|
+
"date": null,
|
|
200
|
+
"rate": null,
|
|
201
|
+
"notes": null,
|
|
202
|
+
"created_at": "2018-08-23T04:56:30.000-07:00",
|
|
203
|
+
"updated_at": "2019-08-20T01:52:09.000-07:00",
|
|
204
|
+
"tag": null,
|
|
205
|
+
"manufacturer": null,
|
|
206
|
+
"contract": null,
|
|
207
|
+
"inventory": null,
|
|
208
|
+
"variance": null
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"status": "Active",
|
|
212
|
+
"custom_fields_values": [
|
|
213
|
+
{
|
|
214
|
+
"id": 62973780,
|
|
215
|
+
"custom_field_id": 21442,
|
|
216
|
+
"name": "Scott User",
|
|
217
|
+
"value": "-1",
|
|
218
|
+
"attachment": null,
|
|
219
|
+
"options": "",
|
|
220
|
+
"type": 7,
|
|
221
|
+
"type_name": "User",
|
|
222
|
+
"entity": null,
|
|
223
|
+
"user": null
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"lease_expiration": null,
|
|
228
|
+
"purchase": {
|
|
229
|
+
"id": 266650,
|
|
230
|
+
"date": "2024-08-26T00:00:00.000-07:00",
|
|
231
|
+
"number": "1",
|
|
232
|
+
"notes": "",
|
|
233
|
+
"total_cost": "10.0",
|
|
234
|
+
"currency": "USD",
|
|
235
|
+
"recurrence": "One_Time",
|
|
236
|
+
"created_at": "2024-08-27T02:20:19.000-07:00",
|
|
237
|
+
"updated_at": "2024-08-27T02:20:19.000-07:00",
|
|
238
|
+
"vendor": {
|
|
239
|
+
"id": 153707,
|
|
240
|
+
"href": "https://api.samanage.com/vendors/153707-amazon",
|
|
241
|
+
"name": "Amazon",
|
|
242
|
+
"url": "",
|
|
243
|
+
"contact_name": "",
|
|
244
|
+
"contact_email": "",
|
|
245
|
+
"contact_phone": "",
|
|
246
|
+
"note": "",
|
|
247
|
+
"address": "",
|
|
248
|
+
"city": "",
|
|
249
|
+
"state": "",
|
|
250
|
+
"zip": "",
|
|
251
|
+
"telephone": "",
|
|
252
|
+
"vendor_type": {
|
|
253
|
+
"id": 50,
|
|
254
|
+
"name": "Computer Hardware Vendor"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"hardware_dates": [
|
|
259
|
+
{
|
|
260
|
+
"id": 163580672,
|
|
261
|
+
"date": "2024-08-22",
|
|
262
|
+
"date_type": "Assigned",
|
|
263
|
+
"username": null,
|
|
264
|
+
"notes": "[Automatic] Assigned to Brazil site",
|
|
265
|
+
"user_type": null
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"attachments": [
|
|
269
|
+
{
|
|
270
|
+
"id": 212598157,
|
|
271
|
+
"content_type": "application/json",
|
|
272
|
+
"size": 583,
|
|
273
|
+
"filename": "myjson.json",
|
|
274
|
+
"url": "https://mydomain.com/attachments/c4d6df03448d80c4d9c1/myjson",
|
|
275
|
+
"shared_attachment": false,
|
|
276
|
+
"attachable_id": 753657,
|
|
277
|
+
"attachable_type": "Problem",
|
|
278
|
+
"attachment_type": "attachment",
|
|
279
|
+
"thumb_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json?thumb=true",
|
|
280
|
+
"secure_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json",
|
|
281
|
+
"link_uuid_url": "/attachments/c4d6df03448d80c4d9c1",
|
|
282
|
+
"uuid": "c4d6df03448d80c4d9c1"
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
}
|
|
122
286
|
}
|
|
123
287
|
}
|
|
124
288
|
}
|
|
125
|
-
}
|
|
289
|
+
}
|