Sensor Trigger Resource¶
Get Sensor Trigger¶
HTTP Request
GET /api/sensorTriggers/{id}
📋 Description: Retrieves detailed information about a specific sensor trigger identified by the provided ID, enabling users to access relevant data for monitoring and analysis.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "description": "string",
8 "triggerValue": "string",
9 "triggerType": "string",
10 "thresholdFrequency": "string",
11 "thresholdCondition": "string",
12 "startDate": "2019-08-24",
13 "sensorId": 0,
14 "sensorName": "string",
15 "sensorDto": {
16 "id": 0,
17 "createdBy": "string",
18 "createdAt": "2019-08-24T14:15:22Z",
19 "displayId": "string",
20 "name": "string",
21 "imageId": 0,
22 "description": "string",
23 "measurementType": "string",
24 "measurementFrequency": "string",
25 "sensorSourceId": 0,
26 "sensorSourceName": "string",
27 "sensorTypeId": 0,
28 "sensorTypeName": "string",
29 "sensorScaleId": 0,
30 "sensorScaleName": "string",
31 "assetId": 0,
32 "assetName": "string",
33 "mainAssetDto": {
34 "id": 0,
35 "createdBy": "string",
36 "createdAt": "2019-08-24T14:15:22Z",
37 "displayId": "string",
38 "name": "string",
39 "description": "string",
40 "qrCode": "string",
41 "barCode": "string",
42 "imageId": 0,
43 "model": "string",
44 "manufacturer": "string",
45 "serialNumber": "string",
46 "cost": "81.08",
47 "premiseId": 0,
48 "premiseDisplayId": "string",
49 "premiseDto": {
50 "id": 0,
51 "createdBy": "string",
52 "createdAt": "2019-08-24T14:15:22Z",
53 "displayId": "string",
54 "premiseName": "string",
55 "description": "string",
56 "address": "string",
57 "internalTeamNames": [
58 "string"
59 ],
60 "internalTeamIds": [
61 0
62 ],
63 "premiseAvailable": true,
64 "premiseFromNrm": true,
65 "nlmId": 0,
66 "nlmDisplayId": "string",
67 "nlmUsed": true,
68 "manager": 0,
69 "managerName": "string",
70 "imageId": 0,
71 "area": "string",
72 "modifiedAt": "2019-08-24T14:15:22Z"
73 },
74 "acquisitionDate": "2019-08-24",
75 "endOfLife": "2019-08-24",
76 "assetStatusId": 0,
77 "assetStatus": "string",
78 "assetStatusType": "string",
79 "parentAssetId": 0,
80 "parentAssetDisplayId": "string",
81 "parentAsset": "string",
82 "parentAssetDto": {},
83 "upcomingMaintenanceDate": "2019-08-24",
84 "assetCategoryIds": [
85 0
86 ],
87 "assetCategories": [
88 "string"
89 ],
90 "internalTeamIds": [
91 0
92 ],
93 "internalTeamDtos": [
94 {
95 "id": 0,
96 "createdBy": "string",
97 "createdAt": "2019-08-24T14:15:22Z",
98 "displayId": "string",
99 "name": "string",
100 "email": "string",
101 "phone": "string",
102 "manager": "string",
103 "requestCategoryName": [
104 "string"
105 ],
106 "requestCategoryId": [
107 0
108 ],
109 "requestCategoryDisplayId": [
110 "string"
111 ],
112 "description": "string",
113 "internalTeamUser": [
114 0
115 ],
116 "members": 0,
117 "mainAssets": [
118 0
119 ],
120 "premiseNames": [
121 "string"
122 ],
123 "internalTeamAvailable": true,
124 "premiseIds": [
125 0
126 ]
127 }
128 ],
129 "internalTeams": [
130 "string"
131 ],
132 "assignedUserIds": [
133 0
134 ],
135 "assignedUserDtos": [
136 {
137 "id": 0,
138 "createdBy": "string",
139 "createdAt": "2019-08-24T14:15:22Z",
140 "userName": "string",
141 "firstName": "string",
142 "lastName": "string",
143 "email": "string",
144 "roleIds": [
145 {
146 "id": 0,
147 "createdBy": "string",
148 "createdAt": "2019-08-24T14:15:22Z",
149 "modifiedBy": "string",
150 "modifiedAt": "2019-08-24T14:15:22Z",
151 "roleName": "string",
152 "entity": "string",
153 "new": true
154 }
155 ],
156 "internalTeamNames": [
157 "string"
158 ],
159 "internalTeamIds": [
160 0
161 ],
162 "internalTeamDisplayIds": [
163 "string"
164 ],
165 "premiseIds": [
166 0
167 ],
168 "premiseNames": [
169 "string"
170 ],
171 "userAvailable": true,
172 "temporaryWorkload": 0,
173 "preferredCultureCode": "string"
174 }
175 ],
176 "assignedUsers": [
177 "string"
178 ],
179 "assetPriority": "string",
180 "assetPriorityId": 0,
181 "assetPriorityDisplayId": "string",
182 "assetPriorityType": "string",
183 "assetAvailable": true,
184 "exactPlacement": "string",
185 "fosId": 0,
186 "downtimeStatus": "string",
187 "premiseFromNrm": true,
188 "modifiedAt": "2019-08-24T14:15:22Z"
189 },
190 "premiseId": 0,
191 "premiseName": "string",
192 "premiseDto": {
193 "id": 0,
194 "createdBy": "string",
195 "createdAt": "2019-08-24T14:15:22Z",
196 "displayId": "string",
197 "premiseName": "string",
198 "description": "string",
199 "address": "string",
200 "internalTeamNames": [
201 "string"
202 ],
203 "internalTeamIds": [
204 0
205 ],
206 "premiseAvailable": true,
207 "premiseFromNrm": true,
208 "nlmId": 0,
209 "nlmDisplayId": "string",
210 "nlmUsed": true,
211 "manager": 0,
212 "managerName": "string",
213 "imageId": 0,
214 "area": "string",
215 "modifiedAt": "2019-08-24T14:15:22Z"
216 },
217 "sensorAvailable": true,
218 "modifiedAt": "2019-08-24T14:15:22Z"
219 }
220}
Update Sensor Trigger¶
HTTP Request
PUT /api/sensorTriggers/{id}
📋 Description: Updates the configuration of a specific sensor trigger identified by its unique ID, allowing for adjustments to operational parameters in response to changing business needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated configuration details for the specified sensor trigger, including parameters such as threshold values and notification settings. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "description": "string",
8 "triggerValue": "string",
9 "triggerType": "string",
10 "thresholdFrequency": "string",
11 "thresholdCondition": "string",
12 "startDate": "2019-08-24",
13 "sensorId": 0,
14 "sensorName": "string",
15 "sensorDto": {
16 "id": 0,
17 "createdBy": "string",
18 "createdAt": "2019-08-24T14:15:22Z",
19 "displayId": "string",
20 "name": "string",
21 "imageId": 0,
22 "description": "string",
23 "measurementType": "string",
24 "measurementFrequency": "string",
25 "sensorSourceId": 0,
26 "sensorSourceName": "string",
27 "sensorTypeId": 0,
28 "sensorTypeName": "string",
29 "sensorScaleId": 0,
30 "sensorScaleName": "string",
31 "assetId": 0,
32 "assetName": "string",
33 "mainAssetDto": {
34 "id": 0,
35 "createdBy": "string",
36 "createdAt": "2019-08-24T14:15:22Z",
37 "displayId": "string",
38 "name": "string",
39 "description": "string",
40 "qrCode": "string",
41 "barCode": "string",
42 "imageId": 0,
43 "model": "string",
44 "manufacturer": "string",
45 "serialNumber": "string",
46 "cost": "81.08",
47 "premiseId": 0,
48 "premiseDisplayId": "string",
49 "premiseDto": {
50 "id": 0,
51 "createdBy": "string",
52 "createdAt": "2019-08-24T14:15:22Z",
53 "displayId": "string",
54 "premiseName": "string",
55 "description": "string",
56 "address": "string",
57 "internalTeamNames": [
58 "string"
59 ],
60 "internalTeamIds": [
61 0
62 ],
63 "premiseAvailable": true,
64 "premiseFromNrm": true,
65 "nlmId": 0,
66 "nlmDisplayId": "string",
67 "nlmUsed": true,
68 "manager": 0,
69 "managerName": "string",
70 "imageId": 0,
71 "area": "string",
72 "modifiedAt": "2019-08-24T14:15:22Z"
73 },
74 "acquisitionDate": "2019-08-24",
75 "endOfLife": "2019-08-24",
76 "assetStatusId": 0,
77 "assetStatus": "string",
78 "assetStatusType": "string",
79 "parentAssetId": 0,
80 "parentAssetDisplayId": "string",
81 "parentAsset": "string",
82 "parentAssetDto": {},
83 "upcomingMaintenanceDate": "2019-08-24",
84 "assetCategoryIds": [
85 0
86 ],
87 "assetCategories": [
88 "string"
89 ],
90 "internalTeamIds": [
91 0
92 ],
93 "internalTeamDtos": [
94 {
95 "id": 0,
96 "createdBy": "string",
97 "createdAt": "2019-08-24T14:15:22Z",
98 "displayId": "string",
99 "name": "string",
100 "email": "string",
101 "phone": "string",
102 "manager": "string",
103 "requestCategoryName": [
104 "string"
105 ],
106 "requestCategoryId": [
107 0
108 ],
109 "requestCategoryDisplayId": [
110 "string"
111 ],
112 "description": "string",
113 "internalTeamUser": [
114 0
115 ],
116 "members": 0,
117 "mainAssets": [
118 0
119 ],
120 "premiseNames": [
121 "string"
122 ],
123 "internalTeamAvailable": true,
124 "premiseIds": [
125 0
126 ]
127 }
128 ],
129 "internalTeams": [
130 "string"
131 ],
132 "assignedUserIds": [
133 0
134 ],
135 "assignedUserDtos": [
136 {
137 "id": 0,
138 "createdBy": "string",
139 "createdAt": "2019-08-24T14:15:22Z",
140 "userName": "string",
141 "firstName": "string",
142 "lastName": "string",
143 "email": "string",
144 "roleIds": [
145 {
146 "id": 0,
147 "createdBy": "string",
148 "createdAt": "2019-08-24T14:15:22Z",
149 "modifiedBy": "string",
150 "modifiedAt": "2019-08-24T14:15:22Z",
151 "roleName": "string",
152 "entity": "string",
153 "new": true
154 }
155 ],
156 "internalTeamNames": [
157 "string"
158 ],
159 "internalTeamIds": [
160 0
161 ],
162 "internalTeamDisplayIds": [
163 "string"
164 ],
165 "premiseIds": [
166 0
167 ],
168 "premiseNames": [
169 "string"
170 ],
171 "userAvailable": true,
172 "temporaryWorkload": 0,
173 "preferredCultureCode": "string"
174 }
175 ],
176 "assignedUsers": [
177 "string"
178 ],
179 "assetPriority": "string",
180 "assetPriorityId": 0,
181 "assetPriorityDisplayId": "string",
182 "assetPriorityType": "string",
183 "assetAvailable": true,
184 "exactPlacement": "string",
185 "fosId": 0,
186 "downtimeStatus": "string",
187 "premiseFromNrm": true,
188 "modifiedAt": "2019-08-24T14:15:22Z"
189 },
190 "premiseId": 0,
191 "premiseName": "string",
192 "premiseDto": {
193 "id": 0,
194 "createdBy": "string",
195 "createdAt": "2019-08-24T14:15:22Z",
196 "displayId": "string",
197 "premiseName": "string",
198 "description": "string",
199 "address": "string",
200 "internalTeamNames": [
201 "string"
202 ],
203 "internalTeamIds": [
204 0
205 ],
206 "premiseAvailable": true,
207 "premiseFromNrm": true,
208 "nlmId": 0,
209 "nlmDisplayId": "string",
210 "nlmUsed": true,
211 "manager": 0,
212 "managerName": "string",
213 "imageId": 0,
214 "area": "string",
215 "modifiedAt": "2019-08-24T14:15:22Z"
216 },
217 "sensorAvailable": true,
218 "modifiedAt": "2019-08-24T14:15:22Z"
219 },
220 "userIds": [
221 0
222 ],
223 "userDTOs": [
224 {
225 "id": 0,
226 "createdBy": "string",
227 "createdAt": "2019-08-24T14:15:22Z",
228 "userName": "string",
229 "firstName": "string",
230 "lastName": "string",
231 "email": "string",
232 "roleIds": [
233 {
234 "id": 0,
235 "createdBy": "string",
236 "createdAt": "2019-08-24T14:15:22Z",
237 "modifiedBy": "string",
238 "modifiedAt": "2019-08-24T14:15:22Z",
239 "roleName": "string",
240 "entity": "string",
241 "new": true
242 }
243 ],
244 "internalTeamNames": [
245 "string"
246 ],
247 "internalTeamIds": [
248 0
249 ],
250 "internalTeamDisplayIds": [
251 "string"
252 ],
253 "premiseIds": [
254 0
255 ],
256 "premiseNames": [
257 "string"
258 ],
259 "userAvailable": true,
260 "temporaryWorkload": 0,
261 "preferredCultureCode": "string"
262 }
263 ],
264 "teamIds": [
265 0
266 ],
267 "teamDTOs": [
268 {
269 "id": 0,
270 "createdBy": "string",
271 "createdAt": "2019-08-24T14:15:22Z",
272 "displayId": "string",
273 "name": "string",
274 "email": "string",
275 "phone": "string",
276 "manager": "string",
277 "requestCategoryName": [
278 "string"
279 ],
280 "requestCategoryId": [
281 0
282 ],
283 "requestCategoryDisplayId": [
284 "string"
285 ],
286 "description": "string",
287 "internalTeamUser": [
288 0
289 ],
290 "members": 0,
291 "mainAssets": [
292 0
293 ],
294 "premiseNames": [
295 "string"
296 ],
297 "internalTeamAvailable": true,
298 "premiseIds": [
299 0
300 ]
301 }
302 ],
303 "notificationTitle": "string",
304 "notificationMessage": "string",
305 "notifyByEmail": true,
306 "notifyInApp": true,
307 "inspectionName": "string",
308 "inspectionTemplateId": 0,
309 "inspectionTemplate": {
310 "id": 0,
311 "createdBy": "string",
312 "createdAt": "2019-08-24T14:15:22Z",
313 "displayId": "string",
314 "name": "string",
315 "description": "string",
316 "dueDate": "2019-08-24",
317 "closeDate": "2019-08-24",
318 "createdDate": "2019-08-24",
319 "startDate": "2019-08-24",
320 "endDate": "2019-08-24",
321 "startTime": {
322 "hour": 0,
323 "minute": 0,
324 "second": 0,
325 "nano": 0
326 },
327 "endTime": {
328 "hour": 0,
329 "minute": 0,
330 "second": 0,
331 "nano": 0
332 },
333 "isCreatedBy": "string",
334 "isTemplate": true,
335 "inspectionAvailable": true,
336 "inspectionType": "string",
337 "templateId": 0,
338 "premiseId": 0,
339 "premiseDto": {
340 "id": 0,
341 "createdBy": "string",
342 "createdAt": "2019-08-24T14:15:22Z",
343 "displayId": "string",
344 "premiseName": "string",
345 "description": "string",
346 "address": "string",
347 "internalTeamNames": [
348 "string"
349 ],
350 "internalTeamIds": [
351 0
352 ],
353 "premiseAvailable": true,
354 "premiseFromNrm": true,
355 "nlmId": 0,
356 "nlmDisplayId": "string",
357 "nlmUsed": true,
358 "manager": 0,
359 "managerName": "string",
360 "imageId": 0,
361 "area": "string",
362 "modifiedAt": "2019-08-24T14:15:22Z"
363 },
364 "premiseFromNrm": true,
365 "premiseDisplayId": "string",
366 "mainAssetIds": [
367 0
368 ],
369 "mainAssetId": 0,
370 "mainAssetDto": {
371 "id": 0,
372 "createdBy": "string",
373 "createdAt": "2019-08-24T14:15:22Z",
374 "displayId": "string",
375 "name": "string",
376 "description": "string",
377 "qrCode": "string",
378 "barCode": "string",
379 "imageId": 0,
380 "model": "string",
381 "manufacturer": "string",
382 "serialNumber": "string",
383 "cost": "81.08",
384 "premiseId": 0,
385 "premiseDisplayId": "string",
386 "premiseDto": {
387 "id": 0,
388 "createdBy": "string",
389 "createdAt": "2019-08-24T14:15:22Z",
390 "displayId": "string",
391 "premiseName": "string",
392 "description": "string",
393 "address": "string",
394 "internalTeamNames": [
395 "string"
396 ],
397 "internalTeamIds": [
398 0
399 ],
400 "premiseAvailable": true,
401 "premiseFromNrm": true,
402 "nlmId": 0,
403 "nlmDisplayId": "string",
404 "nlmUsed": true,
405 "manager": 0,
406 "managerName": "string",
407 "imageId": 0,
408 "area": "string",
409 "modifiedAt": "2019-08-24T14:15:22Z"
410 },
411 "acquisitionDate": "2019-08-24",
412 "endOfLife": "2019-08-24",
413 "assetStatusId": 0,
414 "assetStatus": "string",
415 "assetStatusType": "string",
416 "parentAssetId": 0,
417 "parentAssetDisplayId": "string",
418 "parentAsset": "string",
419 "parentAssetDto": {},
420 "upcomingMaintenanceDate": "2019-08-24",
421 "assetCategoryIds": [
422 0
423 ],
424 "assetCategories": [
425 "string"
426 ],
427 "internalTeamIds": [
428 0
429 ],
430 "internalTeamDtos": [
431 {
432 "id": 0,
433 "createdBy": "string",
434 "createdAt": "2019-08-24T14:15:22Z",
435 "displayId": "string",
436 "name": "string",
437 "email": "string",
438 "phone": "string",
439 "manager": "string",
440 "requestCategoryName": [
441 "string"
442 ],
443 "requestCategoryId": [
444 0
445 ],
446 "requestCategoryDisplayId": [
447 "string"
448 ],
449 "description": "string",
450 "internalTeamUser": [
451 0
452 ],
453 "members": 0,
454 "mainAssets": [
455 0
456 ],
457 "premiseNames": [
458 "string"
459 ],
460 "internalTeamAvailable": true,
461 "premiseIds": [
462 0
463 ]
464 }
465 ],
466 "internalTeams": [
467 "string"
468 ],
469 "assignedUserIds": [
470 0
471 ],
472 "assignedUserDtos": [
473 {
474 "id": 0,
475 "createdBy": "string",
476 "createdAt": "2019-08-24T14:15:22Z",
477 "userName": "string",
478 "firstName": "string",
479 "lastName": "string",
480 "email": "string",
481 "roleIds": [
482 {
483 "id": 0,
484 "createdBy": "string",
485 "createdAt": "2019-08-24T14:15:22Z",
486 "modifiedBy": "string",
487 "modifiedAt": "2019-08-24T14:15:22Z",
488 "roleName": "string",
489 "entity": "string",
490 "new": true
491 }
492 ],
493 "internalTeamNames": [
494 "string"
495 ],
496 "internalTeamIds": [
497 0
498 ],
499 "internalTeamDisplayIds": [
500 "string"
501 ],
502 "premiseIds": [
503 0
504 ],
505 "premiseNames": [
506 "string"
507 ],
508 "userAvailable": true,
509 "temporaryWorkload": 0,
510 "preferredCultureCode": "string"
511 }
512 ],
513 "assignedUsers": [
514 "string"
515 ],
516 "assetPriority": "string",
517 "assetPriorityId": 0,
518 "assetPriorityDisplayId": "string",
519 "assetPriorityType": "string",
520 "assetAvailable": true,
521 "exactPlacement": "string",
522 "fosId": 0,
523 "downtimeStatus": "string",
524 "premiseFromNrm": true,
525 "modifiedAt": "2019-08-24T14:15:22Z"
526 },
527 "mainAssetDisplayId": "string",
528 "inspectionCategoryIds": [
529 0
530 ],
531 "inspectionCategories": [
532 "string"
533 ],
534 "inspectionCategoryId": 0,
535 "inspectionCategory": "string",
536 "inspectionConditionId": 0,
537 "inspectionCondition": "string",
538 "inspectionConditionType": "string",
539 "inspectionStatusId": 0,
540 "inspectionStatus": "string",
541 "inspectionStatusType": "string",
542 "inspectionItemIds": [
543 0
544 ],
545 "internalTeamIds": [
546 0
547 ],
548 "internalTeamDtos": [
549 {
550 "id": 0,
551 "createdBy": "string",
552 "createdAt": "2019-08-24T14:15:22Z",
553 "displayId": "string",
554 "name": "string",
555 "email": "string",
556 "phone": "string",
557 "manager": "string",
558 "requestCategoryName": [
559 "string"
560 ],
561 "requestCategoryId": [
562 0
563 ],
564 "requestCategoryDisplayId": [
565 "string"
566 ],
567 "description": "string",
568 "internalTeamUser": [
569 0
570 ],
571 "members": 0,
572 "mainAssets": [
573 0
574 ],
575 "premiseNames": [
576 "string"
577 ],
578 "internalTeamAvailable": true,
579 "premiseIds": [
580 0
581 ]
582 }
583 ],
584 "internalTeams": [
585 "string"
586 ],
587 "assignedUserIds": [
588 0
589 ],
590 "assignedUserDtos": [
591 {
592 "id": 0,
593 "createdBy": "string",
594 "createdAt": "2019-08-24T14:15:22Z",
595 "userName": "string",
596 "firstName": "string",
597 "lastName": "string",
598 "email": "string",
599 "roleIds": [
600 {
601 "id": 0,
602 "createdBy": "string",
603 "createdAt": "2019-08-24T14:15:22Z",
604 "modifiedBy": "string",
605 "modifiedAt": "2019-08-24T14:15:22Z",
606 "roleName": "string",
607 "entity": "string",
608 "new": true
609 }
610 ],
611 "internalTeamNames": [
612 "string"
613 ],
614 "internalTeamIds": [
615 0
616 ],
617 "internalTeamDisplayIds": [
618 "string"
619 ],
620 "premiseIds": [
621 0
622 ],
623 "premiseNames": [
624 "string"
625 ],
626 "userAvailable": true,
627 "temporaryWorkload": 0,
628 "preferredCultureCode": "string"
629 }
630 ],
631 "assignedUsers": [
632 "string"
633 ],
634 "activity": "string",
635 "createdByTrigger": true,
636 "modifiedAt": "2019-08-24T14:15:22Z"
637 },
638 "workOrderName": "string",
639 "workOrderTemplateId": 0,
640 "workOrderTemplate": {
641 "id": 0,
642 "createdBy": "string",
643 "createdAt": "2019-08-24T14:15:22Z",
644 "displayId": "string",
645 "name": "string",
646 "imageId": 0,
647 "description": "string",
648 "vendorRating": 0,
649 "premiseId": 0,
650 "premiseDto": {
651 "id": 0,
652 "createdBy": "string",
653 "createdAt": "2019-08-24T14:15:22Z",
654 "displayId": "string",
655 "premiseName": "string",
656 "description": "string",
657 "address": "string",
658 "internalTeamNames": [
659 "string"
660 ],
661 "internalTeamIds": [
662 0
663 ],
664 "premiseAvailable": true,
665 "premiseFromNrm": true,
666 "nlmId": 0,
667 "nlmDisplayId": "string",
668 "nlmUsed": true,
669 "manager": 0,
670 "managerName": "string",
671 "imageId": 0,
672 "area": "string",
673 "modifiedAt": "2019-08-24T14:15:22Z"
674 },
675 "premiseFromNrm": true,
676 "premiseDisplayId": "string",
677 "nssProjectId": 0,
678 "nssTaskId": 0,
679 "nssTaskDisplayId": "string",
680 "orderDate": "2019-08-24",
681 "dueDate": "2019-08-24",
682 "startDate": "2019-08-24",
683 "endDate": "2019-08-24",
684 "startTime": {
685 "hour": 0,
686 "minute": 0,
687 "second": 0,
688 "nano": 0
689 },
690 "endTime": {
691 "hour": 0,
692 "minute": 0,
693 "second": 0,
694 "nano": 0
695 },
696 "modifiedAt": "2019-08-24T14:15:22Z",
697 "estimatedCost": "81.08",
698 "finalCost": "81.08",
699 "duration": 0,
700 "estimatedDayTime": 0,
701 "finalHourTime": "2.5",
702 "estimatedHourTime": "2.5",
703 "closeDate": "2019-08-24",
704 "inspection": "string",
705 "workOrderTypeId": 0,
706 "workOrderTypeName": "string",
707 "workOrderType": "string",
708 "workOrderPriorityId": 0,
709 "workOrderPriority": "string",
710 "workOrderPriorityType": "string",
711 "isTemplate": true,
712 "isWorkOrderTemplate": true,
713 "templateId": 0,
714 "isPartsInSufficient": true,
715 "partQuantityInfoList": [
716 {
717 "partId": 0,
718 "partDisplayId": "string",
719 "requestedQuantity": 0,
720 "availableQuantity": 0,
721 "usedQuantity": 0,
722 "sufficient": true,
723 "partial": true
724 }
725 ],
726 "parentWorkOrderId": 0,
727 "parentWorkOrderDisplayId": "string",
728 "parentWorkOrder": "string",
729 "mainAssetIds": [
730 0
731 ],
732 "mainAssetDto": {
733 "id": 0,
734 "createdBy": "string",
735 "createdAt": "2019-08-24T14:15:22Z",
736 "displayId": "string",
737 "name": "string",
738 "description": "string",
739 "qrCode": "string",
740 "barCode": "string",
741 "imageId": 0,
742 "model": "string",
743 "manufacturer": "string",
744 "serialNumber": "string",
745 "cost": "81.08",
746 "premiseId": 0,
747 "premiseDisplayId": "string",
748 "premiseDto": {
749 "id": 0,
750 "createdBy": "string",
751 "createdAt": "2019-08-24T14:15:22Z",
752 "displayId": "string",
753 "premiseName": "string",
754 "description": "string",
755 "address": "string",
756 "internalTeamNames": [
757 "string"
758 ],
759 "internalTeamIds": [
760 0
761 ],
762 "premiseAvailable": true,
763 "premiseFromNrm": true,
764 "nlmId": 0,
765 "nlmDisplayId": "string",
766 "nlmUsed": true,
767 "manager": 0,
768 "managerName": "string",
769 "imageId": 0,
770 "area": "string",
771 "modifiedAt": "2019-08-24T14:15:22Z"
772 },
773 "acquisitionDate": "2019-08-24",
774 "endOfLife": "2019-08-24",
775 "assetStatusId": 0,
776 "assetStatus": "string",
777 "assetStatusType": "string",
778 "parentAssetId": 0,
779 "parentAssetDisplayId": "string",
780 "parentAsset": "string",
781 "parentAssetDto": {},
782 "upcomingMaintenanceDate": "2019-08-24",
783 "assetCategoryIds": [
784 0
785 ],
786 "assetCategories": [
787 "string"
788 ],
789 "internalTeamIds": [
790 0
791 ],
792 "internalTeamDtos": [
793 {
794 "id": 0,
795 "createdBy": "string",
796 "createdAt": "2019-08-24T14:15:22Z",
797 "displayId": "string",
798 "name": "string",
799 "email": "string",
800 "phone": "string",
801 "manager": "string",
802 "requestCategoryName": [
803 "string"
804 ],
805 "requestCategoryId": [
806 0
807 ],
808 "requestCategoryDisplayId": [
809 "string"
810 ],
811 "description": "string",
812 "internalTeamUser": [
813 0
814 ],
815 "members": 0,
816 "mainAssets": [
817 0
818 ],
819 "premiseNames": [
820 "string"
821 ],
822 "internalTeamAvailable": true,
823 "premiseIds": [
824 0
825 ]
826 }
827 ],
828 "internalTeams": [
829 "string"
830 ],
831 "assignedUserIds": [
832 0
833 ],
834 "assignedUserDtos": [
835 {
836 "id": 0,
837 "createdBy": "string",
838 "createdAt": "2019-08-24T14:15:22Z",
839 "userName": "string",
840 "firstName": "string",
841 "lastName": "string",
842 "email": "string",
843 "roleIds": [
844 {
845 "id": 0,
846 "createdBy": "string",
847 "createdAt": "2019-08-24T14:15:22Z",
848 "modifiedBy": "string",
849 "modifiedAt": "2019-08-24T14:15:22Z",
850 "roleName": "string",
851 "entity": "string",
852 "new": true
853 }
854 ],
855 "internalTeamNames": [
856 "string"
857 ],
858 "internalTeamIds": [
859 0
860 ],
861 "internalTeamDisplayIds": [
862 "string"
863 ],
864 "premiseIds": [
865 0
866 ],
867 "premiseNames": [
868 "string"
869 ],
870 "userAvailable": true,
871 "temporaryWorkload": 0,
872 "preferredCultureCode": "string"
873 }
874 ],
875 "assignedUsers": [
876 "string"
877 ],
878 "assetPriority": "string",
879 "assetPriorityId": 0,
880 "assetPriorityDisplayId": "string",
881 "assetPriorityType": "string",
882 "assetAvailable": true,
883 "exactPlacement": "string",
884 "fosId": 0,
885 "downtimeStatus": "string",
886 "premiseFromNrm": true,
887 "modifiedAt": "2019-08-24T14:15:22Z"
888 },
889 "mainAssetDisplayId": "string",
890 "workOrderStatusId": 0,
891 "workOrderStatus": "string",
892 "workOrderStatusType": "string",
893 "requestIds": [
894 0
895 ],
896 "internalTeamIds": [
897 0
898 ],
899 "internalTeamDtos": [
900 {
901 "id": 0,
902 "createdBy": "string",
903 "createdAt": "2019-08-24T14:15:22Z",
904 "displayId": "string",
905 "name": "string",
906 "email": "string",
907 "phone": "string",
908 "manager": "string",
909 "requestCategoryName": [
910 "string"
911 ],
912 "requestCategoryId": [
913 0
914 ],
915 "requestCategoryDisplayId": [
916 "string"
917 ],
918 "description": "string",
919 "internalTeamUser": [
920 0
921 ],
922 "members": 0,
923 "mainAssets": [
924 0
925 ],
926 "premiseNames": [
927 "string"
928 ],
929 "internalTeamAvailable": true,
930 "premiseIds": [
931 0
932 ]
933 }
934 ],
935 "internalTeams": [
936 "string"
937 ],
938 "vendorId": 0,
939 "vendorDto": {
940 "id": 0,
941 "createdBy": "string",
942 "createdAt": "2019-08-24T14:15:22Z",
943 "displayId": "string",
944 "name": "string",
945 "description": "string",
946 "address": "string",
947 "contractEndDate": "2019-08-24",
948 "services": "string",
949 "vendorType": "string",
950 "vendorStatusId": 0,
951 "vendorStatus": "string",
952 "vendorStatusType": "string",
953 "businessTypeId": 0,
954 "businessType": "string",
955 "vendorRateId": 0,
956 "vendorRate": "string",
957 "vendorContactIds": [
958 0
959 ],
960 "premiseIds": [
961 0
962 ],
963 "firstPremiseDisplayId": "string",
964 "ownerUserName": "string",
965 "ownerDto": {
966 "id": 0,
967 "createdBy": "string",
968 "createdAt": "2019-08-24T14:15:22Z",
969 "userName": "string",
970 "firstName": "string",
971 "lastName": "string",
972 "email": "string",
973 "roleIds": [
974 {
975 "id": 0,
976 "createdBy": "string",
977 "createdAt": "2019-08-24T14:15:22Z",
978 "modifiedBy": "string",
979 "modifiedAt": "2019-08-24T14:15:22Z",
980 "roleName": "string",
981 "entity": "string",
982 "new": true
983 }
984 ],
985 "internalTeamNames": [
986 "string"
987 ],
988 "internalTeamIds": [
989 0
990 ],
991 "internalTeamDisplayIds": [
992 "string"
993 ],
994 "premiseIds": [
995 0
996 ],
997 "premiseNames": [
998 "string"
999 ],
1000 "userAvailable": true,
1001 "temporaryWorkload": 0,
1002 "preferredCultureCode": "string"
1003 },
1004 "vendorAvailable": true,
1005 "vendorRating": 0.1,
1006 "premiseDisplayIds": [
1007 "string"
1008 ]
1009 },
1010 "vendorName": "string",
1011 "workOrderTemplateSettings": {
1012 "id": 0,
1013 "createdBy": "string",
1014 "createdAt": "2019-08-24T14:15:22Z",
1015 "workOrderId": 0,
1016 "startDate": "2019-08-24",
1017 "dueDuration": 0,
1018 "dueMonths": 0,
1019 "endDate": "2019-08-24",
1020 "recurringWOPriorityId": 0,
1021 "recurringWOPriority": "string",
1022 "recurringWOPriorityType": "string",
1023 "isTemplate": true,
1024 "isRemoveByDate": true,
1025 "triggerByWorkOrderStatusId": 0,
1026 "triggerByWorkOrderStatus": "string",
1027 "triggerByWorkOrderStatusType": "string",
1028 "removeByWorkOrderStatusId": 0,
1029 "removeByWorkOrderStatus": "string",
1030 "removeByWorkOrderStatusType": "string"
1031 },
1032 "assignedUserIds": [
1033 0
1034 ],
1035 "assignedUserDtos": [
1036 {
1037 "id": 0,
1038 "createdBy": "string",
1039 "createdAt": "2019-08-24T14:15:22Z",
1040 "userName": "string",
1041 "firstName": "string",
1042 "lastName": "string",
1043 "email": "string",
1044 "roleIds": [
1045 {
1046 "id": 0,
1047 "createdBy": "string",
1048 "createdAt": "2019-08-24T14:15:22Z",
1049 "modifiedBy": "string",
1050 "modifiedAt": "2019-08-24T14:15:22Z",
1051 "roleName": "string",
1052 "entity": "string",
1053 "new": true
1054 }
1055 ],
1056 "internalTeamNames": [
1057 "string"
1058 ],
1059 "internalTeamIds": [
1060 0
1061 ],
1062 "internalTeamDisplayIds": [
1063 "string"
1064 ],
1065 "premiseIds": [
1066 0
1067 ],
1068 "premiseNames": [
1069 "string"
1070 ],
1071 "userAvailable": true,
1072 "temporaryWorkload": 0,
1073 "preferredCultureCode": "string"
1074 }
1075 ],
1076 "assignedUsers": [
1077 "string"
1078 ],
1079 "variableQuantity": 0,
1080 "workOrderAvailable": true,
1081 "exactPlacement": "string",
1082 "primaryWorkOrderId": 0,
1083 "primaryWorkOrderDto": {},
1084 "primaryWorkOrderDisplayId": "string",
1085 "isPrimary": true,
1086 "invoiceIds": [
1087 0
1088 ],
1089 "createdByTrigger": true,
1090 "internalCosts": "81.08",
1091 "invoiceTotal": "81.08",
1092 "partsTotal": "81.08",
1093 "inspectionItemId": 0,
1094 "partIdToAttach": 0,
1095 "recurringWOIsTemplate": true,
1096 "recurringWOStartDate": "2019-08-24",
1097 "recurringWOEndDate": "2019-08-24",
1098 "recurringWODueDuration": 0,
1099 "recurringWODueMonths": 0,
1100 "recurringWOPriority": "string",
1101 "recurringWOIsRemoveByDate": true,
1102 "triggerByWorkOrderStatus": "string",
1103 "removeByWorkOrderStatus": "string",
1104 "recurringWOPriorityType": "string",
1105 "triggerByWorkOrderStatusType": "string",
1106 "removeByWorkOrderStatusType": "string",
1107 "recurringWOPriorityId": 0,
1108 "triggerByWorkOrderStatusId": 0,
1109 "removeByWorkOrderStatusId": 0
1110 }
1111}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Delete Sensor Trigger¶
HTTP Request
DELETE /api/sensorTriggers/{id}
📋 Description: Deletes a specified sensor trigger from the system, ensuring that obsolete or unnecessary triggers are effectively removed to maintain optimal operational efficiency.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
204 |
No Content |
None |
Get All Sensor Triggers¶
HTTP Request
GET /api/sensorTriggers
📋 Description: Retrieves a list of sensor triggers, enabling users to monitor and manage sensor events effectively within their operational environment.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 0,
4 "createdBy": "string",
5 "createdAt": "2019-08-24T14:15:22Z",
6 "displayId": "string",
7 "name": "string",
8 "description": "string",
9 "triggerValue": "string",
10 "triggerType": "string",
11 "thresholdFrequency": "string",
12 "thresholdCondition": "string",
13 "startDate": "2019-08-24",
14 "sensorId": 0,
15 "sensorName": "string",
16 "sensorDto": {
17 "id": 0,
18 "createdBy": "string",
19 "createdAt": "2019-08-24T14:15:22Z",
20 "displayId": "string",
21 "name": "string",
22 "imageId": 0,
23 "description": "string",
24 "measurementType": "string",
25 "measurementFrequency": "string",
26 "sensorSourceId": 0,
27 "sensorSourceName": "string",
28 "sensorTypeId": 0,
29 "sensorTypeName": "string",
30 "sensorScaleId": 0,
31 "sensorScaleName": "string",
32 "assetId": 0,
33 "assetName": "string",
34 "mainAssetDto": {
35 "id": 0,
36 "createdBy": "string",
37 "createdAt": "2019-08-24T14:15:22Z",
38 "displayId": "string",
39 "name": "string",
40 "description": "string",
41 "qrCode": "string",
42 "barCode": "string",
43 "imageId": 0,
44 "model": "string",
45 "manufacturer": "string",
46 "serialNumber": "string",
47 "cost": "81.08",
48 "premiseId": 0,
49 "premiseDisplayId": "string",
50 "premiseDto": {
51 "id": 0,
52 "createdBy": "string",
53 "createdAt": "2019-08-24T14:15:22Z",
54 "displayId": "string",
55 "premiseName": "string",
56 "description": "string",
57 "address": "string",
58 "internalTeamNames": [
59 "string"
60 ],
61 "internalTeamIds": [
62 0
63 ],
64 "premiseAvailable": true,
65 "premiseFromNrm": true,
66 "nlmId": 0,
67 "nlmDisplayId": "string",
68 "nlmUsed": true,
69 "manager": 0,
70 "managerName": "string",
71 "imageId": 0,
72 "area": "string",
73 "modifiedAt": "2019-08-24T14:15:22Z"
74 },
75 "acquisitionDate": "2019-08-24",
76 "endOfLife": "2019-08-24",
77 "assetStatusId": 0,
78 "assetStatus": "string",
79 "assetStatusType": "string",
80 "parentAssetId": 0,
81 "parentAssetDisplayId": "string",
82 "parentAsset": "string",
83 "parentAssetDto": {},
84 "upcomingMaintenanceDate": "2019-08-24",
85 "assetCategoryIds": [
86 0
87 ],
88 "assetCategories": [
89 "string"
90 ],
91 "internalTeamIds": [
92 0
93 ],
94 "internalTeamDtos": [
95 {
96 "id": 0,
97 "createdBy": "string",
98 "createdAt": "2019-08-24T14:15:22Z",
99 "displayId": "string",
100 "name": "string",
101 "email": "string",
102 "phone": "string",
103 "manager": "string",
104 "requestCategoryName": [
105 "string"
106 ],
107 "requestCategoryId": [
108 0
109 ],
110 "requestCategoryDisplayId": [
111 "string"
112 ],
113 "description": "string",
114 "internalTeamUser": [
115 0
116 ],
117 "members": 0,
118 "mainAssets": [
119 0
120 ],
121 "premiseNames": [
122 "string"
123 ],
124 "internalTeamAvailable": true,
125 "premiseIds": [
126 0
127 ]
128 }
129 ],
130 "internalTeams": [
131 "string"
132 ],
133 "assignedUserIds": [
134 0
135 ],
136 "assignedUserDtos": [
137 {
138 "id": 0,
139 "createdBy": "string",
140 "createdAt": "2019-08-24T14:15:22Z",
141 "userName": "string",
142 "firstName": "string",
143 "lastName": "string",
144 "email": "string",
145 "roleIds": [
146 {
147 "id": 0,
148 "createdBy": "string",
149 "createdAt": "2019-08-24T14:15:22Z",
150 "modifiedBy": "string",
151 "modifiedAt": "2019-08-24T14:15:22Z",
152 "roleName": "string",
153 "entity": "string",
154 "new": true
155 }
156 ],
157 "internalTeamNames": [
158 "string"
159 ],
160 "internalTeamIds": [
161 0
162 ],
163 "internalTeamDisplayIds": [
164 "string"
165 ],
166 "premiseIds": [
167 0
168 ],
169 "premiseNames": [
170 "string"
171 ],
172 "userAvailable": true,
173 "temporaryWorkload": 0,
174 "preferredCultureCode": "string"
175 }
176 ],
177 "assignedUsers": [
178 "string"
179 ],
180 "assetPriority": "string",
181 "assetPriorityId": 0,
182 "assetPriorityDisplayId": "string",
183 "assetPriorityType": "string",
184 "assetAvailable": true,
185 "exactPlacement": "string",
186 "fosId": 0,
187 "downtimeStatus": "string",
188 "premiseFromNrm": true,
189 "modifiedAt": "2019-08-24T14:15:22Z"
190 },
191 "premiseId": 0,
192 "premiseName": "string",
193 "premiseDto": {
194 "id": 0,
195 "createdBy": "string",
196 "createdAt": "2019-08-24T14:15:22Z",
197 "displayId": "string",
198 "premiseName": "string",
199 "description": "string",
200 "address": "string",
201 "internalTeamNames": [
202 "string"
203 ],
204 "internalTeamIds": [
205 0
206 ],
207 "premiseAvailable": true,
208 "premiseFromNrm": true,
209 "nlmId": 0,
210 "nlmDisplayId": "string",
211 "nlmUsed": true,
212 "manager": 0,
213 "managerName": "string",
214 "imageId": 0,
215 "area": "string",
216 "modifiedAt": "2019-08-24T14:15:22Z"
217 },
218 "sensorAvailable": true,
219 "modifiedAt": "2019-08-24T14:15:22Z"
220 }
221 }
222]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing a sensor trigger event, encapsulating relevant details such as sensor ID, trigger type, and timestamp, to facilitate real-time monitoring and response in operational environments.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» createdBy |
string |
false |
none |
Username of who created this resource |
» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
» displayId |
string |
false |
none |
Unique identifier for the display |
» name |
string |
false |
none |
Name of the resource |
» description |
string |
false |
none |
Description of the resource |
» triggerValue |
string |
false |
none |
Value that indicates the specific condition or threshold that activates the associated sensor trigger within the system. |
» triggerType |
string |
false |
none |
Type of the trigger |
» thresholdFrequency |
string |
false |
none |
Specifies the frequency threshold for sensor-triggered events, enabling precise monitoring and response within operational parameters. |
» thresholdCondition |
string |
false |
none |
Specifies the condition that triggers the sensor, enabling proactive monitoring and response to predefined thresholds. |
» startDate |
string(date) |
false |
none |
Start date of the resource |
» sensorId |
integer(int64) |
false |
none |
Unique identifier for the sensor |
» sensorName |
string |
false |
none |
Name of the sensor |
» sensorDto |
false |
none |
Data transfer object representing a sensor’s attributes and operational data, facilitating real-time monitoring and analysis for enhanced decision-making in enterprise environments. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» createdBy |
string |
false |
none |
Username of who created this resource |
»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»» displayId |
string |
false |
none |
Unique identifier for the display |
»» name |
string |
false |
none |
Name of the resource |
»» imageId |
integer(int64) |
false |
none |
Unique identifier for the image |
»» description |
string |
false |
none |
Description of the resource |
»» measurementType |
string |
false |
none |
Type of the measurement |
»» measurementFrequency |
string |
false |
none |
Specifies the frequency at which sensor measurements are taken, enabling effective monitoring and analysis of data trends. |
»» sensorSourceId |
integer(int64) |
false |
none |
Unique identifier for the sensor source |
»» sensorSourceName |
string |
false |
none |
Name of the sensor source |
»» sensorTypeId |
integer(int64) |
false |
none |
Unique identifier for the sensor type |
»» sensorTypeName |
string |
false |
none |
Name of the sensor type |
»» sensorScaleId |
integer(int64) |
false |
none |
Unique identifier for the sensor scale |
»» sensorScaleName |
string |
false |
none |
Name of the sensor scale |
»» assetId |
integer(int64) |
false |
none |
Unique identifier for the asset |
»» assetName |
string |
false |
none |
Name of the asset |
»» mainAssetDto |
false |
none |
MainAssetDTO is a data transfer object that encapsulates key information about a primary asset within the organization, including its attributes, status, and associated metadata, facilitating effective asset management and decision-making. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» createdBy |
string |
false |
none |
Username of who created this resource |
»»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» name |
string |
false |
none |
Name of the resource |
»»» description |
string |
false |
none |
Description of the resource |
»»» qrCode |
string |
false |
none |
Code for the qr |
»»» barCode |
string |
false |
none |
Code for the bar |
»»» imageId |
integer(int64) |
false |
none |
Unique identifier for the image |
»»» model |
string |
false |
none |
Specifies the model associated with the main asset, providing essential context for asset classification and management. |
»»» manufacturer |
string |
false |
none |
Name of the manufacturer associated with the asset, providing essential information for inventory management and supplier relations. |
»»» serialNumber |
string |
false |
none |
Unique identifier for the asset, used to track and manage inventory within the system. |
»»» cost |
string |
false |
none |
Represents the total cost associated with the main asset, providing essential financial information for budgeting and resource allocation. |
»»» premiseId |
integer(int64) |
false |
none |
Unique identifier for the premise |
»»» premiseDisplayId |
string |
false |
none |
Unique identifier for the premise display |
»»» premiseDto |
false |
none |
Data transfer object representing a premise, encapsulating essential details such as location, type, and associated attributes to facilitate effective decision-making in real estate and operational planning. |
|
»»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»»» createdBy |
string |
false |
none |
Username of who created this resource |
»»»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»»» premiseName |
string |
false |
none |
Name of the premise |
»»»» description |
string |
false |
none |
Description of the resource |
»»»» address |
string |
true |
none |
Represents the physical location associated with the premise, essential for logistics and service delivery. |
»»»» internalTeamNames |
[string] |
false |
none |
List of names representing the internal teams associated with the premise, facilitating streamlined collaboration and resource allocation within the organization. |
»»»» internalTeamIds |
[integer] |
false |
none |
List of unique identifiers representing the internal teams associated with the premise, facilitating streamlined collaboration and resource allocation. |
»»»» premiseAvailable |
boolean |
false |
none |
Indicates whether the premise is available for use within the specified context. |
»»»» premiseFromNrm |
boolean |
false |
none |
Indicates whether the premise is sourced from the National Resource Management (NRM) framework, facilitating compliance and reporting within environmental management processes. |
»»»» nlmId |
integer(int64) |
false |
none |
Unique identifier for the nlm |
»»»» nlmDisplayId |
string |
false |
none |
Unique identifier for the nlm display |
»»»» nlmUsed |
boolean |
false |
none |
Indicates whether the National Labor Market (NLM) resources have been utilized in the premise evaluation process. |
»»»» manager |
integer(int64) |
false |
none |
Unique identifier for the manager associated with the premise, facilitating effective organizational hierarchy and resource management. |
»»»» managerName |
string |
false |
none |
Name of the manager |
»»»» imageId |
integer(int64) |
false |
none |
Unique identifier for the image |
»»»» area |
string |
false |
none |
Represents the geographic area associated with the premise, providing essential context for location-based services and analysis. |
»»»» modifiedAt |
string(date-time) |
false |
none |
Timestamp when this resource was last modified |
»»» acquisitionDate |
string(date) |
false |
none |
Date of the acquisition |
»»» endOfLife |
string(date) |
false |
none |
Indicates the end-of-life date for the asset, providing critical information for lifecycle management and planning. |
»»» assetStatusId |
integer(int64) |
false |
none |
Unique identifier for the asset status |
»»» assetStatus |
string |
false |
none |
Status of the asset |
»»» assetStatusType |
string |
false |
none |
Type of the asset status |
»»» parentAssetId |
integer(int64) |
false |
none |
Unique identifier for the parent asset |
»»» parentAssetDisplayId |
string |
false |
none |
Unique identifier for the parent asset display |
»»» parentAsset |
string |
false |
none |
Identifier for the parent asset associated with the main asset, facilitating hierarchical relationships within asset management. |
»»» parentAssetDto |
false |
none |
MainAssetDTO is a data transfer object that encapsulates key information about a primary asset within the organization, including its attributes, status, and associated metadata, facilitating effective asset management and decision-making. |
|
»»» upcomingMaintenanceDate |
string(date) |
false |
none |
Date of the upcoming maintenance |
»»» assetCategoryIds |
[integer] |
false |
none |
Array of unique identifiers representing the categories to which the asset belongs, facilitating effective asset classification and management. |
»»» assetCategories |
[string] |
false |
none |
Array of asset categories that classify the main assets within the system, facilitating better organization and management of asset data. |
»»» internalTeamIds |
[integer] |
false |
none |
Array of unique identifiers representing the internal teams associated with the main asset, facilitating streamlined collaboration and resource allocation. |
»»» internalTeamDtos |
false |
none |
An array of MainAssetDTO objects representing the internal teams associated with the asset, facilitating effective resource management and collaboration within the organization. |
|
»»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»»» createdBy |
string |
false |
none |
Username of who created this resource |
»»»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»»» name |
string |
false |
none |
Name of the resource |
string |
false |
none |
Email address of the internal team member, used for communication and notifications within the organization. |
|
»»»» phone |
string |
false |
none |
Contact number for the internal team, facilitating communication and collaboration within the organization. |
»»»» manager |
string |
false |
none |
Represents the name or identifier of the team manager responsible for overseeing the internal team. |
»»»» requestCategoryName |
[string] |
false |
none |
Name of the request category |
»»»» requestCategoryId |
[integer] |
false |
none |
Unique identifier for the request category |
»»»» requestCategoryDisplayId |
[string] |
false |
none |
Unique identifier for the request category display |
»»»» description |
string |
false |
none |
Description of the resource |
»»»» internalTeamUser |
[integer] |
false |
none |
An array of InternalTeamDTO objects representing the users within the internal team, facilitating collaboration and resource management. |
»»»» members |
integer(int32) |
false |
none |
Represents the total number of members within the internal team, providing insight into team size for resource allocation and management. |
»»»» mainAssets |
[integer] |
false |
none |
An array of internal team assets that represent the key resources and capabilities utilized within the organization. |
»»»» premiseNames |
[string] |
false |
none |
List of names associated with the premises relevant to the internal team, facilitating efficient identification and management of locations within the organization. |
»»»» internalTeamAvailable |
boolean |
false |
none |
Indicates the availability of the internal team for project allocation and resource planning. |
»»»» premiseIds |
[integer] |
false |
none |
Array of unique identifiers representing the premises associated with the internal team. |
»»» internalTeams |
[string] |
false |
none |
An array of internal teams associated with the main asset, facilitating collaboration and resource allocation within the organization. |
»»» assignedUserIds |
[integer] |
false |
none |
Array of unique identifiers representing users assigned to the main asset, facilitating effective resource management and accountability. |
»»» assignedUserDtos |
false |
none |
Array of user assignments associated with the main asset, providing insights into resource allocation and accountability. |
|
»»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»»» createdBy |
string |
false |
none |
Username of who created this resource |
»»»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»»»» userName |
string |
false |
none |
Name of the user |
»»»» firstName |
string |
false |
none |
Name of the first |
»»»» lastName |
string |
false |
none |
Name of the last |
string |
false |
none |
Email address of the user, used for communication and account verification purposes within the system. |
|
»»»» roleIds |
false |
none |
Array of unique identifiers representing the roles assigned to the user, facilitating role-based access and permissions within the system. |
|
»»»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»»»» createdBy |
string |
false |
none |
Username of who created this resource |
»»»»» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
»»»»» modifiedBy |
string |
false |
none |
Username of who last modified this resource |
»»»»» modifiedAt |
string(date-time) |
false |
none |
Timestamp when this resource was last modified |
»»»»» roleName |
string |
false |
none |
Name of the role |
»»»»» entity |
string |
false |
none |
Represents the specific role associated with the entity within the organizational structure, facilitating effective resource allocation and management. |
»»»»» new |
boolean |
false |
none |
Indicates whether the role is newly created within the system, facilitating effective management of organizational changes. |
»»»» internalTeamNames |
[string] |
false |
none |
List of names representing the internal teams associated with the user, facilitating effective collaboration and resource allocation within the organization. |
»»»» internalTeamIds |
[integer] |
false |
none |
An array of unique identifiers representing the internal teams associated with the user, facilitating team management and collaboration within the organization. |
»»»» internalTeamDisplayIds |
[string] |
false |
none |
An array of unique identifiers representing the internal teams associated with the user, facilitating streamlined team management and collaboration. |
»»»» premiseIds |
[integer] |
false |
none |
Array of unique identifiers representing the premises associated with the user, facilitating efficient management and tracking of user-related locations. |
»»»» premiseNames |
[string] |
false |
none |
List of names associated with the user’s premises, providing essential context for location-based services and operations. |
»»»» userAvailable |
boolean |
false |
none |
Indicates whether the user is available for assignment or engagement within the system. |
»»»» temporaryWorkload |
integer(int32) |
false |
none |
Represents the temporary workload allocation for the user, measured in integer units, to facilitate effective resource management and planning. |
»»»» preferredCultureCode |
string |
false |
none |
Code for the preferred culture |
»»» assignedUsers |
[string] |
false |
none |
List of users assigned to the main asset, facilitating effective resource management and collaboration within the organization. |
»»» assetPriority |
string |
false |
none |
Priority of the asset |
»»» assetPriorityId |
integer(int64) |
false |
none |
Unique identifier for the asset priority |
»»» assetPriorityDisplayId |
string |
false |
none |
Unique identifier for the asset priority display |
»»» assetPriorityType |
string |
false |
none |
Type of the asset priority |
»»» assetAvailable |
boolean |
false |
none |
Indicates whether the asset is currently available for allocation or use within the system. |
»»» exactPlacement |
string |
false |
none |
Specifies the precise location or context in which the main asset is intended to be utilized within the business framework. |
»»» fosId |
integer(int64) |
false |
none |
Unique identifier for the fos |
»»» downtimeStatus |
string |
false |
none |
Status of the downtime |
»»» premiseFromNrm |
boolean |
false |
none |
Indicates whether the asset is sourced from the National Resource Management (NRM) framework, facilitating compliance and resource tracking. |
»»» modifiedAt |
string(date-time) |
false |
none |
Timestamp when this resource was last modified |
»» premiseId |
integer(int64) |
false |
none |
Unique identifier for the premise |
»» premiseName |
string |
false |
none |
Name of the premise |
»» premiseDto |
false |
none |
Data transfer object representing a premise, encapsulating essential details such as location, type, and associated attributes to facilitate effective decision-making in real estate and operational planning. |
|
»» sensorAvailable |
boolean |
false |
none |
Indicates the availability status of the sensor, enabling efficient resource management and operational decision-making. |
»» modifiedAt |
string(date-time) |
false |
none |
Timestamp when this resource was last modified |
Create Sensor Trigger¶
HTTP Request
POST /api/sensorTriggers
📋 Description: Creates a new sensor trigger within the system, enabling automated responses based on specific sensor data inputs to enhance operational efficiency.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the configuration details for sensor triggers, including parameters for activation conditions and notification settings. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "description": "string",
8 "triggerValue": "string",
9 "triggerType": "string",
10 "thresholdFrequency": "string",
11 "thresholdCondition": "string",
12 "startDate": "2019-08-24",
13 "sensorId": 0,
14 "sensorName": "string",
15 "sensorDto": {
16 "id": 0,
17 "createdBy": "string",
18 "createdAt": "2019-08-24T14:15:22Z",
19 "displayId": "string",
20 "name": "string",
21 "imageId": 0,
22 "description": "string",
23 "measurementType": "string",
24 "measurementFrequency": "string",
25 "sensorSourceId": 0,
26 "sensorSourceName": "string",
27 "sensorTypeId": 0,
28 "sensorTypeName": "string",
29 "sensorScaleId": 0,
30 "sensorScaleName": "string",
31 "assetId": 0,
32 "assetName": "string",
33 "mainAssetDto": {
34 "id": 0,
35 "createdBy": "string",
36 "createdAt": "2019-08-24T14:15:22Z",
37 "displayId": "string",
38 "name": "string",
39 "description": "string",
40 "qrCode": "string",
41 "barCode": "string",
42 "imageId": 0,
43 "model": "string",
44 "manufacturer": "string",
45 "serialNumber": "string",
46 "cost": "81.08",
47 "premiseId": 0,
48 "premiseDisplayId": "string",
49 "premiseDto": {
50 "id": 0,
51 "createdBy": "string",
52 "createdAt": "2019-08-24T14:15:22Z",
53 "displayId": "string",
54 "premiseName": "string",
55 "description": "string",
56 "address": "string",
57 "internalTeamNames": [
58 "string"
59 ],
60 "internalTeamIds": [
61 0
62 ],
63 "premiseAvailable": true,
64 "premiseFromNrm": true,
65 "nlmId": 0,
66 "nlmDisplayId": "string",
67 "nlmUsed": true,
68 "manager": 0,
69 "managerName": "string",
70 "imageId": 0,
71 "area": "string",
72 "modifiedAt": "2019-08-24T14:15:22Z"
73 },
74 "acquisitionDate": "2019-08-24",
75 "endOfLife": "2019-08-24",
76 "assetStatusId": 0,
77 "assetStatus": "string",
78 "assetStatusType": "string",
79 "parentAssetId": 0,
80 "parentAssetDisplayId": "string",
81 "parentAsset": "string",
82 "parentAssetDto": {},
83 "upcomingMaintenanceDate": "2019-08-24",
84 "assetCategoryIds": [
85 0
86 ],
87 "assetCategories": [
88 "string"
89 ],
90 "internalTeamIds": [
91 0
92 ],
93 "internalTeamDtos": [
94 {
95 "id": 0,
96 "createdBy": "string",
97 "createdAt": "2019-08-24T14:15:22Z",
98 "displayId": "string",
99 "name": "string",
100 "email": "string",
101 "phone": "string",
102 "manager": "string",
103 "requestCategoryName": [
104 "string"
105 ],
106 "requestCategoryId": [
107 0
108 ],
109 "requestCategoryDisplayId": [
110 "string"
111 ],
112 "description": "string",
113 "internalTeamUser": [
114 0
115 ],
116 "members": 0,
117 "mainAssets": [
118 0
119 ],
120 "premiseNames": [
121 "string"
122 ],
123 "internalTeamAvailable": true,
124 "premiseIds": [
125 0
126 ]
127 }
128 ],
129 "internalTeams": [
130 "string"
131 ],
132 "assignedUserIds": [
133 0
134 ],
135 "assignedUserDtos": [
136 {
137 "id": 0,
138 "createdBy": "string",
139 "createdAt": "2019-08-24T14:15:22Z",
140 "userName": "string",
141 "firstName": "string",
142 "lastName": "string",
143 "email": "string",
144 "roleIds": [
145 {
146 "id": 0,
147 "createdBy": "string",
148 "createdAt": "2019-08-24T14:15:22Z",
149 "modifiedBy": "string",
150 "modifiedAt": "2019-08-24T14:15:22Z",
151 "roleName": "string",
152 "entity": "string",
153 "new": true
154 }
155 ],
156 "internalTeamNames": [
157 "string"
158 ],
159 "internalTeamIds": [
160 0
161 ],
162 "internalTeamDisplayIds": [
163 "string"
164 ],
165 "premiseIds": [
166 0
167 ],
168 "premiseNames": [
169 "string"
170 ],
171 "userAvailable": true,
172 "temporaryWorkload": 0,
173 "preferredCultureCode": "string"
174 }
175 ],
176 "assignedUsers": [
177 "string"
178 ],
179 "assetPriority": "string",
180 "assetPriorityId": 0,
181 "assetPriorityDisplayId": "string",
182 "assetPriorityType": "string",
183 "assetAvailable": true,
184 "exactPlacement": "string",
185 "fosId": 0,
186 "downtimeStatus": "string",
187 "premiseFromNrm": true,
188 "modifiedAt": "2019-08-24T14:15:22Z"
189 },
190 "premiseId": 0,
191 "premiseName": "string",
192 "premiseDto": {
193 "id": 0,
194 "createdBy": "string",
195 "createdAt": "2019-08-24T14:15:22Z",
196 "displayId": "string",
197 "premiseName": "string",
198 "description": "string",
199 "address": "string",
200 "internalTeamNames": [
201 "string"
202 ],
203 "internalTeamIds": [
204 0
205 ],
206 "premiseAvailable": true,
207 "premiseFromNrm": true,
208 "nlmId": 0,
209 "nlmDisplayId": "string",
210 "nlmUsed": true,
211 "manager": 0,
212 "managerName": "string",
213 "imageId": 0,
214 "area": "string",
215 "modifiedAt": "2019-08-24T14:15:22Z"
216 },
217 "sensorAvailable": true,
218 "modifiedAt": "2019-08-24T14:15:22Z"
219 },
220 "userIds": [
221 0
222 ],
223 "userDTOs": [
224 {
225 "id": 0,
226 "createdBy": "string",
227 "createdAt": "2019-08-24T14:15:22Z",
228 "userName": "string",
229 "firstName": "string",
230 "lastName": "string",
231 "email": "string",
232 "roleIds": [
233 {
234 "id": 0,
235 "createdBy": "string",
236 "createdAt": "2019-08-24T14:15:22Z",
237 "modifiedBy": "string",
238 "modifiedAt": "2019-08-24T14:15:22Z",
239 "roleName": "string",
240 "entity": "string",
241 "new": true
242 }
243 ],
244 "internalTeamNames": [
245 "string"
246 ],
247 "internalTeamIds": [
248 0
249 ],
250 "internalTeamDisplayIds": [
251 "string"
252 ],
253 "premiseIds": [
254 0
255 ],
256 "premiseNames": [
257 "string"
258 ],
259 "userAvailable": true,
260 "temporaryWorkload": 0,
261 "preferredCultureCode": "string"
262 }
263 ],
264 "teamIds": [
265 0
266 ],
267 "teamDTOs": [
268 {
269 "id": 0,
270 "createdBy": "string",
271 "createdAt": "2019-08-24T14:15:22Z",
272 "displayId": "string",
273 "name": "string",
274 "email": "string",
275 "phone": "string",
276 "manager": "string",
277 "requestCategoryName": [
278 "string"
279 ],
280 "requestCategoryId": [
281 0
282 ],
283 "requestCategoryDisplayId": [
284 "string"
285 ],
286 "description": "string",
287 "internalTeamUser": [
288 0
289 ],
290 "members": 0,
291 "mainAssets": [
292 0
293 ],
294 "premiseNames": [
295 "string"
296 ],
297 "internalTeamAvailable": true,
298 "premiseIds": [
299 0
300 ]
301 }
302 ],
303 "notificationTitle": "string",
304 "notificationMessage": "string",
305 "notifyByEmail": true,
306 "notifyInApp": true,
307 "inspectionName": "string",
308 "inspectionTemplateId": 0,
309 "inspectionTemplate": {
310 "id": 0,
311 "createdBy": "string",
312 "createdAt": "2019-08-24T14:15:22Z",
313 "displayId": "string",
314 "name": "string",
315 "description": "string",
316 "dueDate": "2019-08-24",
317 "closeDate": "2019-08-24",
318 "createdDate": "2019-08-24",
319 "startDate": "2019-08-24",
320 "endDate": "2019-08-24",
321 "startTime": {
322 "hour": 0,
323 "minute": 0,
324 "second": 0,
325 "nano": 0
326 },
327 "endTime": {
328 "hour": 0,
329 "minute": 0,
330 "second": 0,
331 "nano": 0
332 },
333 "isCreatedBy": "string",
334 "isTemplate": true,
335 "inspectionAvailable": true,
336 "inspectionType": "string",
337 "templateId": 0,
338 "premiseId": 0,
339 "premiseDto": {
340 "id": 0,
341 "createdBy": "string",
342 "createdAt": "2019-08-24T14:15:22Z",
343 "displayId": "string",
344 "premiseName": "string",
345 "description": "string",
346 "address": "string",
347 "internalTeamNames": [
348 "string"
349 ],
350 "internalTeamIds": [
351 0
352 ],
353 "premiseAvailable": true,
354 "premiseFromNrm": true,
355 "nlmId": 0,
356 "nlmDisplayId": "string",
357 "nlmUsed": true,
358 "manager": 0,
359 "managerName": "string",
360 "imageId": 0,
361 "area": "string",
362 "modifiedAt": "2019-08-24T14:15:22Z"
363 },
364 "premiseFromNrm": true,
365 "premiseDisplayId": "string",
366 "mainAssetIds": [
367 0
368 ],
369 "mainAssetId": 0,
370 "mainAssetDto": {
371 "id": 0,
372 "createdBy": "string",
373 "createdAt": "2019-08-24T14:15:22Z",
374 "displayId": "string",
375 "name": "string",
376 "description": "string",
377 "qrCode": "string",
378 "barCode": "string",
379 "imageId": 0,
380 "model": "string",
381 "manufacturer": "string",
382 "serialNumber": "string",
383 "cost": "81.08",
384 "premiseId": 0,
385 "premiseDisplayId": "string",
386 "premiseDto": {
387 "id": 0,
388 "createdBy": "string",
389 "createdAt": "2019-08-24T14:15:22Z",
390 "displayId": "string",
391 "premiseName": "string",
392 "description": "string",
393 "address": "string",
394 "internalTeamNames": [
395 "string"
396 ],
397 "internalTeamIds": [
398 0
399 ],
400 "premiseAvailable": true,
401 "premiseFromNrm": true,
402 "nlmId": 0,
403 "nlmDisplayId": "string",
404 "nlmUsed": true,
405 "manager": 0,
406 "managerName": "string",
407 "imageId": 0,
408 "area": "string",
409 "modifiedAt": "2019-08-24T14:15:22Z"
410 },
411 "acquisitionDate": "2019-08-24",
412 "endOfLife": "2019-08-24",
413 "assetStatusId": 0,
414 "assetStatus": "string",
415 "assetStatusType": "string",
416 "parentAssetId": 0,
417 "parentAssetDisplayId": "string",
418 "parentAsset": "string",
419 "parentAssetDto": {},
420 "upcomingMaintenanceDate": "2019-08-24",
421 "assetCategoryIds": [
422 0
423 ],
424 "assetCategories": [
425 "string"
426 ],
427 "internalTeamIds": [
428 0
429 ],
430 "internalTeamDtos": [
431 {
432 "id": 0,
433 "createdBy": "string",
434 "createdAt": "2019-08-24T14:15:22Z",
435 "displayId": "string",
436 "name": "string",
437 "email": "string",
438 "phone": "string",
439 "manager": "string",
440 "requestCategoryName": [
441 "string"
442 ],
443 "requestCategoryId": [
444 0
445 ],
446 "requestCategoryDisplayId": [
447 "string"
448 ],
449 "description": "string",
450 "internalTeamUser": [
451 0
452 ],
453 "members": 0,
454 "mainAssets": [
455 0
456 ],
457 "premiseNames": [
458 "string"
459 ],
460 "internalTeamAvailable": true,
461 "premiseIds": [
462 0
463 ]
464 }
465 ],
466 "internalTeams": [
467 "string"
468 ],
469 "assignedUserIds": [
470 0
471 ],
472 "assignedUserDtos": [
473 {
474 "id": 0,
475 "createdBy": "string",
476 "createdAt": "2019-08-24T14:15:22Z",
477 "userName": "string",
478 "firstName": "string",
479 "lastName": "string",
480 "email": "string",
481 "roleIds": [
482 {
483 "id": 0,
484 "createdBy": "string",
485 "createdAt": "2019-08-24T14:15:22Z",
486 "modifiedBy": "string",
487 "modifiedAt": "2019-08-24T14:15:22Z",
488 "roleName": "string",
489 "entity": "string",
490 "new": true
491 }
492 ],
493 "internalTeamNames": [
494 "string"
495 ],
496 "internalTeamIds": [
497 0
498 ],
499 "internalTeamDisplayIds": [
500 "string"
501 ],
502 "premiseIds": [
503 0
504 ],
505 "premiseNames": [
506 "string"
507 ],
508 "userAvailable": true,
509 "temporaryWorkload": 0,
510 "preferredCultureCode": "string"
511 }
512 ],
513 "assignedUsers": [
514 "string"
515 ],
516 "assetPriority": "string",
517 "assetPriorityId": 0,
518 "assetPriorityDisplayId": "string",
519 "assetPriorityType": "string",
520 "assetAvailable": true,
521 "exactPlacement": "string",
522 "fosId": 0,
523 "downtimeStatus": "string",
524 "premiseFromNrm": true,
525 "modifiedAt": "2019-08-24T14:15:22Z"
526 },
527 "mainAssetDisplayId": "string",
528 "inspectionCategoryIds": [
529 0
530 ],
531 "inspectionCategories": [
532 "string"
533 ],
534 "inspectionCategoryId": 0,
535 "inspectionCategory": "string",
536 "inspectionConditionId": 0,
537 "inspectionCondition": "string",
538 "inspectionConditionType": "string",
539 "inspectionStatusId": 0,
540 "inspectionStatus": "string",
541 "inspectionStatusType": "string",
542 "inspectionItemIds": [
543 0
544 ],
545 "internalTeamIds": [
546 0
547 ],
548 "internalTeamDtos": [
549 {
550 "id": 0,
551 "createdBy": "string",
552 "createdAt": "2019-08-24T14:15:22Z",
553 "displayId": "string",
554 "name": "string",
555 "email": "string",
556 "phone": "string",
557 "manager": "string",
558 "requestCategoryName": [
559 "string"
560 ],
561 "requestCategoryId": [
562 0
563 ],
564 "requestCategoryDisplayId": [
565 "string"
566 ],
567 "description": "string",
568 "internalTeamUser": [
569 0
570 ],
571 "members": 0,
572 "mainAssets": [
573 0
574 ],
575 "premiseNames": [
576 "string"
577 ],
578 "internalTeamAvailable": true,
579 "premiseIds": [
580 0
581 ]
582 }
583 ],
584 "internalTeams": [
585 "string"
586 ],
587 "assignedUserIds": [
588 0
589 ],
590 "assignedUserDtos": [
591 {
592 "id": 0,
593 "createdBy": "string",
594 "createdAt": "2019-08-24T14:15:22Z",
595 "userName": "string",
596 "firstName": "string",
597 "lastName": "string",
598 "email": "string",
599 "roleIds": [
600 {
601 "id": 0,
602 "createdBy": "string",
603 "createdAt": "2019-08-24T14:15:22Z",
604 "modifiedBy": "string",
605 "modifiedAt": "2019-08-24T14:15:22Z",
606 "roleName": "string",
607 "entity": "string",
608 "new": true
609 }
610 ],
611 "internalTeamNames": [
612 "string"
613 ],
614 "internalTeamIds": [
615 0
616 ],
617 "internalTeamDisplayIds": [
618 "string"
619 ],
620 "premiseIds": [
621 0
622 ],
623 "premiseNames": [
624 "string"
625 ],
626 "userAvailable": true,
627 "temporaryWorkload": 0,
628 "preferredCultureCode": "string"
629 }
630 ],
631 "assignedUsers": [
632 "string"
633 ],
634 "activity": "string",
635 "createdByTrigger": true,
636 "modifiedAt": "2019-08-24T14:15:22Z"
637 },
638 "workOrderName": "string",
639 "workOrderTemplateId": 0,
640 "workOrderTemplate": {
641 "id": 0,
642 "createdBy": "string",
643 "createdAt": "2019-08-24T14:15:22Z",
644 "displayId": "string",
645 "name": "string",
646 "imageId": 0,
647 "description": "string",
648 "vendorRating": 0,
649 "premiseId": 0,
650 "premiseDto": {
651 "id": 0,
652 "createdBy": "string",
653 "createdAt": "2019-08-24T14:15:22Z",
654 "displayId": "string",
655 "premiseName": "string",
656 "description": "string",
657 "address": "string",
658 "internalTeamNames": [
659 "string"
660 ],
661 "internalTeamIds": [
662 0
663 ],
664 "premiseAvailable": true,
665 "premiseFromNrm": true,
666 "nlmId": 0,
667 "nlmDisplayId": "string",
668 "nlmUsed": true,
669 "manager": 0,
670 "managerName": "string",
671 "imageId": 0,
672 "area": "string",
673 "modifiedAt": "2019-08-24T14:15:22Z"
674 },
675 "premiseFromNrm": true,
676 "premiseDisplayId": "string",
677 "nssProjectId": 0,
678 "nssTaskId": 0,
679 "nssTaskDisplayId": "string",
680 "orderDate": "2019-08-24",
681 "dueDate": "2019-08-24",
682 "startDate": "2019-08-24",
683 "endDate": "2019-08-24",
684 "startTime": {
685 "hour": 0,
686 "minute": 0,
687 "second": 0,
688 "nano": 0
689 },
690 "endTime": {
691 "hour": 0,
692 "minute": 0,
693 "second": 0,
694 "nano": 0
695 },
696 "modifiedAt": "2019-08-24T14:15:22Z",
697 "estimatedCost": "81.08",
698 "finalCost": "81.08",
699 "duration": 0,
700 "estimatedDayTime": 0,
701 "finalHourTime": "2.5",
702 "estimatedHourTime": "2.5",
703 "closeDate": "2019-08-24",
704 "inspection": "string",
705 "workOrderTypeId": 0,
706 "workOrderTypeName": "string",
707 "workOrderType": "string",
708 "workOrderPriorityId": 0,
709 "workOrderPriority": "string",
710 "workOrderPriorityType": "string",
711 "isTemplate": true,
712 "isWorkOrderTemplate": true,
713 "templateId": 0,
714 "isPartsInSufficient": true,
715 "partQuantityInfoList": [
716 {
717 "partId": 0,
718 "partDisplayId": "string",
719 "requestedQuantity": 0,
720 "availableQuantity": 0,
721 "usedQuantity": 0,
722 "sufficient": true,
723 "partial": true
724 }
725 ],
726 "parentWorkOrderId": 0,
727 "parentWorkOrderDisplayId": "string",
728 "parentWorkOrder": "string",
729 "mainAssetIds": [
730 0
731 ],
732 "mainAssetDto": {
733 "id": 0,
734 "createdBy": "string",
735 "createdAt": "2019-08-24T14:15:22Z",
736 "displayId": "string",
737 "name": "string",
738 "description": "string",
739 "qrCode": "string",
740 "barCode": "string",
741 "imageId": 0,
742 "model": "string",
743 "manufacturer": "string",
744 "serialNumber": "string",
745 "cost": "81.08",
746 "premiseId": 0,
747 "premiseDisplayId": "string",
748 "premiseDto": {
749 "id": 0,
750 "createdBy": "string",
751 "createdAt": "2019-08-24T14:15:22Z",
752 "displayId": "string",
753 "premiseName": "string",
754 "description": "string",
755 "address": "string",
756 "internalTeamNames": [
757 "string"
758 ],
759 "internalTeamIds": [
760 0
761 ],
762 "premiseAvailable": true,
763 "premiseFromNrm": true,
764 "nlmId": 0,
765 "nlmDisplayId": "string",
766 "nlmUsed": true,
767 "manager": 0,
768 "managerName": "string",
769 "imageId": 0,
770 "area": "string",
771 "modifiedAt": "2019-08-24T14:15:22Z"
772 },
773 "acquisitionDate": "2019-08-24",
774 "endOfLife": "2019-08-24",
775 "assetStatusId": 0,
776 "assetStatus": "string",
777 "assetStatusType": "string",
778 "parentAssetId": 0,
779 "parentAssetDisplayId": "string",
780 "parentAsset": "string",
781 "parentAssetDto": {},
782 "upcomingMaintenanceDate": "2019-08-24",
783 "assetCategoryIds": [
784 0
785 ],
786 "assetCategories": [
787 "string"
788 ],
789 "internalTeamIds": [
790 0
791 ],
792 "internalTeamDtos": [
793 {
794 "id": 0,
795 "createdBy": "string",
796 "createdAt": "2019-08-24T14:15:22Z",
797 "displayId": "string",
798 "name": "string",
799 "email": "string",
800 "phone": "string",
801 "manager": "string",
802 "requestCategoryName": [
803 "string"
804 ],
805 "requestCategoryId": [
806 0
807 ],
808 "requestCategoryDisplayId": [
809 "string"
810 ],
811 "description": "string",
812 "internalTeamUser": [
813 0
814 ],
815 "members": 0,
816 "mainAssets": [
817 0
818 ],
819 "premiseNames": [
820 "string"
821 ],
822 "internalTeamAvailable": true,
823 "premiseIds": [
824 0
825 ]
826 }
827 ],
828 "internalTeams": [
829 "string"
830 ],
831 "assignedUserIds": [
832 0
833 ],
834 "assignedUserDtos": [
835 {
836 "id": 0,
837 "createdBy": "string",
838 "createdAt": "2019-08-24T14:15:22Z",
839 "userName": "string",
840 "firstName": "string",
841 "lastName": "string",
842 "email": "string",
843 "roleIds": [
844 {
845 "id": 0,
846 "createdBy": "string",
847 "createdAt": "2019-08-24T14:15:22Z",
848 "modifiedBy": "string",
849 "modifiedAt": "2019-08-24T14:15:22Z",
850 "roleName": "string",
851 "entity": "string",
852 "new": true
853 }
854 ],
855 "internalTeamNames": [
856 "string"
857 ],
858 "internalTeamIds": [
859 0
860 ],
861 "internalTeamDisplayIds": [
862 "string"
863 ],
864 "premiseIds": [
865 0
866 ],
867 "premiseNames": [
868 "string"
869 ],
870 "userAvailable": true,
871 "temporaryWorkload": 0,
872 "preferredCultureCode": "string"
873 }
874 ],
875 "assignedUsers": [
876 "string"
877 ],
878 "assetPriority": "string",
879 "assetPriorityId": 0,
880 "assetPriorityDisplayId": "string",
881 "assetPriorityType": "string",
882 "assetAvailable": true,
883 "exactPlacement": "string",
884 "fosId": 0,
885 "downtimeStatus": "string",
886 "premiseFromNrm": true,
887 "modifiedAt": "2019-08-24T14:15:22Z"
888 },
889 "mainAssetDisplayId": "string",
890 "workOrderStatusId": 0,
891 "workOrderStatus": "string",
892 "workOrderStatusType": "string",
893 "requestIds": [
894 0
895 ],
896 "internalTeamIds": [
897 0
898 ],
899 "internalTeamDtos": [
900 {
901 "id": 0,
902 "createdBy": "string",
903 "createdAt": "2019-08-24T14:15:22Z",
904 "displayId": "string",
905 "name": "string",
906 "email": "string",
907 "phone": "string",
908 "manager": "string",
909 "requestCategoryName": [
910 "string"
911 ],
912 "requestCategoryId": [
913 0
914 ],
915 "requestCategoryDisplayId": [
916 "string"
917 ],
918 "description": "string",
919 "internalTeamUser": [
920 0
921 ],
922 "members": 0,
923 "mainAssets": [
924 0
925 ],
926 "premiseNames": [
927 "string"
928 ],
929 "internalTeamAvailable": true,
930 "premiseIds": [
931 0
932 ]
933 }
934 ],
935 "internalTeams": [
936 "string"
937 ],
938 "vendorId": 0,
939 "vendorDto": {
940 "id": 0,
941 "createdBy": "string",
942 "createdAt": "2019-08-24T14:15:22Z",
943 "displayId": "string",
944 "name": "string",
945 "description": "string",
946 "address": "string",
947 "contractEndDate": "2019-08-24",
948 "services": "string",
949 "vendorType": "string",
950 "vendorStatusId": 0,
951 "vendorStatus": "string",
952 "vendorStatusType": "string",
953 "businessTypeId": 0,
954 "businessType": "string",
955 "vendorRateId": 0,
956 "vendorRate": "string",
957 "vendorContactIds": [
958 0
959 ],
960 "premiseIds": [
961 0
962 ],
963 "firstPremiseDisplayId": "string",
964 "ownerUserName": "string",
965 "ownerDto": {
966 "id": 0,
967 "createdBy": "string",
968 "createdAt": "2019-08-24T14:15:22Z",
969 "userName": "string",
970 "firstName": "string",
971 "lastName": "string",
972 "email": "string",
973 "roleIds": [
974 {
975 "id": 0,
976 "createdBy": "string",
977 "createdAt": "2019-08-24T14:15:22Z",
978 "modifiedBy": "string",
979 "modifiedAt": "2019-08-24T14:15:22Z",
980 "roleName": "string",
981 "entity": "string",
982 "new": true
983 }
984 ],
985 "internalTeamNames": [
986 "string"
987 ],
988 "internalTeamIds": [
989 0
990 ],
991 "internalTeamDisplayIds": [
992 "string"
993 ],
994 "premiseIds": [
995 0
996 ],
997 "premiseNames": [
998 "string"
999 ],
1000 "userAvailable": true,
1001 "temporaryWorkload": 0,
1002 "preferredCultureCode": "string"
1003 },
1004 "vendorAvailable": true,
1005 "vendorRating": 0.1,
1006 "premiseDisplayIds": [
1007 "string"
1008 ]
1009 },
1010 "vendorName": "string",
1011 "workOrderTemplateSettings": {
1012 "id": 0,
1013 "createdBy": "string",
1014 "createdAt": "2019-08-24T14:15:22Z",
1015 "workOrderId": 0,
1016 "startDate": "2019-08-24",
1017 "dueDuration": 0,
1018 "dueMonths": 0,
1019 "endDate": "2019-08-24",
1020 "recurringWOPriorityId": 0,
1021 "recurringWOPriority": "string",
1022 "recurringWOPriorityType": "string",
1023 "isTemplate": true,
1024 "isRemoveByDate": true,
1025 "triggerByWorkOrderStatusId": 0,
1026 "triggerByWorkOrderStatus": "string",
1027 "triggerByWorkOrderStatusType": "string",
1028 "removeByWorkOrderStatusId": 0,
1029 "removeByWorkOrderStatus": "string",
1030 "removeByWorkOrderStatusType": "string"
1031 },
1032 "assignedUserIds": [
1033 0
1034 ],
1035 "assignedUserDtos": [
1036 {
1037 "id": 0,
1038 "createdBy": "string",
1039 "createdAt": "2019-08-24T14:15:22Z",
1040 "userName": "string",
1041 "firstName": "string",
1042 "lastName": "string",
1043 "email": "string",
1044 "roleIds": [
1045 {
1046 "id": 0,
1047 "createdBy": "string",
1048 "createdAt": "2019-08-24T14:15:22Z",
1049 "modifiedBy": "string",
1050 "modifiedAt": "2019-08-24T14:15:22Z",
1051 "roleName": "string",
1052 "entity": "string",
1053 "new": true
1054 }
1055 ],
1056 "internalTeamNames": [
1057 "string"
1058 ],
1059 "internalTeamIds": [
1060 0
1061 ],
1062 "internalTeamDisplayIds": [
1063 "string"
1064 ],
1065 "premiseIds": [
1066 0
1067 ],
1068 "premiseNames": [
1069 "string"
1070 ],
1071 "userAvailable": true,
1072 "temporaryWorkload": 0,
1073 "preferredCultureCode": "string"
1074 }
1075 ],
1076 "assignedUsers": [
1077 "string"
1078 ],
1079 "variableQuantity": 0,
1080 "workOrderAvailable": true,
1081 "exactPlacement": "string",
1082 "primaryWorkOrderId": 0,
1083 "primaryWorkOrderDto": {},
1084 "primaryWorkOrderDisplayId": "string",
1085 "isPrimary": true,
1086 "invoiceIds": [
1087 0
1088 ],
1089 "createdByTrigger": true,
1090 "internalCosts": "81.08",
1091 "invoiceTotal": "81.08",
1092 "partsTotal": "81.08",
1093 "inspectionItemId": 0,
1094 "partIdToAttach": 0,
1095 "recurringWOIsTemplate": true,
1096 "recurringWOStartDate": "2019-08-24",
1097 "recurringWOEndDate": "2019-08-24",
1098 "recurringWODueDuration": 0,
1099 "recurringWODueMonths": 0,
1100 "recurringWOPriority": "string",
1101 "recurringWOIsRemoveByDate": true,
1102 "triggerByWorkOrderStatus": "string",
1103 "removeByWorkOrderStatus": "string",
1104 "recurringWOPriorityType": "string",
1105 "triggerByWorkOrderStatusType": "string",
1106 "removeByWorkOrderStatusType": "string",
1107 "recurringWOPriorityId": 0,
1108 "triggerByWorkOrderStatusId": 0,
1109 "removeByWorkOrderStatusId": 0
1110 }
1111}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
201 |
Created |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "description": "string",
8 "triggerValue": "string",
9 "triggerType": "string",
10 "thresholdFrequency": "string",
11 "thresholdCondition": "string",
12 "startDate": "2019-08-24",
13 "sensorId": 0,
14 "sensorName": "string",
15 "sensorDto": {
16 "id": 0,
17 "createdBy": "string",
18 "createdAt": "2019-08-24T14:15:22Z",
19 "displayId": "string",
20 "name": "string",
21 "imageId": 0,
22 "description": "string",
23 "measurementType": "string",
24 "measurementFrequency": "string",
25 "sensorSourceId": 0,
26 "sensorSourceName": "string",
27 "sensorTypeId": 0,
28 "sensorTypeName": "string",
29 "sensorScaleId": 0,
30 "sensorScaleName": "string",
31 "assetId": 0,
32 "assetName": "string",
33 "mainAssetDto": {
34 "id": 0,
35 "createdBy": "string",
36 "createdAt": "2019-08-24T14:15:22Z",
37 "displayId": "string",
38 "name": "string",
39 "description": "string",
40 "qrCode": "string",
41 "barCode": "string",
42 "imageId": 0,
43 "model": "string",
44 "manufacturer": "string",
45 "serialNumber": "string",
46 "cost": "81.08",
47 "premiseId": 0,
48 "premiseDisplayId": "string",
49 "premiseDto": {
50 "id": 0,
51 "createdBy": "string",
52 "createdAt": "2019-08-24T14:15:22Z",
53 "displayId": "string",
54 "premiseName": "string",
55 "description": "string",
56 "address": "string",
57 "internalTeamNames": [
58 "string"
59 ],
60 "internalTeamIds": [
61 0
62 ],
63 "premiseAvailable": true,
64 "premiseFromNrm": true,
65 "nlmId": 0,
66 "nlmDisplayId": "string",
67 "nlmUsed": true,
68 "manager": 0,
69 "managerName": "string",
70 "imageId": 0,
71 "area": "string",
72 "modifiedAt": "2019-08-24T14:15:22Z"
73 },
74 "acquisitionDate": "2019-08-24",
75 "endOfLife": "2019-08-24",
76 "assetStatusId": 0,
77 "assetStatus": "string",
78 "assetStatusType": "string",
79 "parentAssetId": 0,
80 "parentAssetDisplayId": "string",
81 "parentAsset": "string",
82 "parentAssetDto": {},
83 "upcomingMaintenanceDate": "2019-08-24",
84 "assetCategoryIds": [
85 0
86 ],
87 "assetCategories": [
88 "string"
89 ],
90 "internalTeamIds": [
91 0
92 ],
93 "internalTeamDtos": [
94 {
95 "id": 0,
96 "createdBy": "string",
97 "createdAt": "2019-08-24T14:15:22Z",
98 "displayId": "string",
99 "name": "string",
100 "email": "string",
101 "phone": "string",
102 "manager": "string",
103 "requestCategoryName": [
104 "string"
105 ],
106 "requestCategoryId": [
107 0
108 ],
109 "requestCategoryDisplayId": [
110 "string"
111 ],
112 "description": "string",
113 "internalTeamUser": [
114 0
115 ],
116 "members": 0,
117 "mainAssets": [
118 0
119 ],
120 "premiseNames": [
121 "string"
122 ],
123 "internalTeamAvailable": true,
124 "premiseIds": [
125 0
126 ]
127 }
128 ],
129 "internalTeams": [
130 "string"
131 ],
132 "assignedUserIds": [
133 0
134 ],
135 "assignedUserDtos": [
136 {
137 "id": 0,
138 "createdBy": "string",
139 "createdAt": "2019-08-24T14:15:22Z",
140 "userName": "string",
141 "firstName": "string",
142 "lastName": "string",
143 "email": "string",
144 "roleIds": [
145 {
146 "id": 0,
147 "createdBy": "string",
148 "createdAt": "2019-08-24T14:15:22Z",
149 "modifiedBy": "string",
150 "modifiedAt": "2019-08-24T14:15:22Z",
151 "roleName": "string",
152 "entity": "string",
153 "new": true
154 }
155 ],
156 "internalTeamNames": [
157 "string"
158 ],
159 "internalTeamIds": [
160 0
161 ],
162 "internalTeamDisplayIds": [
163 "string"
164 ],
165 "premiseIds": [
166 0
167 ],
168 "premiseNames": [
169 "string"
170 ],
171 "userAvailable": true,
172 "temporaryWorkload": 0,
173 "preferredCultureCode": "string"
174 }
175 ],
176 "assignedUsers": [
177 "string"
178 ],
179 "assetPriority": "string",
180 "assetPriorityId": 0,
181 "assetPriorityDisplayId": "string",
182 "assetPriorityType": "string",
183 "assetAvailable": true,
184 "exactPlacement": "string",
185 "fosId": 0,
186 "downtimeStatus": "string",
187 "premiseFromNrm": true,
188 "modifiedAt": "2019-08-24T14:15:22Z"
189 },
190 "premiseId": 0,
191 "premiseName": "string",
192 "premiseDto": {
193 "id": 0,
194 "createdBy": "string",
195 "createdAt": "2019-08-24T14:15:22Z",
196 "displayId": "string",
197 "premiseName": "string",
198 "description": "string",
199 "address": "string",
200 "internalTeamNames": [
201 "string"
202 ],
203 "internalTeamIds": [
204 0
205 ],
206 "premiseAvailable": true,
207 "premiseFromNrm": true,
208 "nlmId": 0,
209 "nlmDisplayId": "string",
210 "nlmUsed": true,
211 "manager": 0,
212 "managerName": "string",
213 "imageId": 0,
214 "area": "string",
215 "modifiedAt": "2019-08-24T14:15:22Z"
216 },
217 "sensorAvailable": true,
218 "modifiedAt": "2019-08-24T14:15:22Z"
219 }
220}
Find Sensor Triggers¶
HTTP Request
POST /api/sensorTriggers/search
📋 Description: Submits a request to search for sensor triggers based on specified criteria, enabling efficient identification and management of sensor-related events within the system.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the search results for sensor triggers should be returned in a paginated format to enhance data management and user experience. |
|
body |
body |
true |
Request body containing the criteria for searching sensor triggers, including parameters such as trigger type, status, and relevant metadata. |
Body Parameters
1{
2 "displayIdLike": "string",
3 "nameLike": "string",
4 "descriptionLike": "string",
5 "triggerValueLike": "string",
6 "triggerTypeLike": "string",
7 "thresholdFrequencyLike": "string",
8 "thresholdConditionLike": "string",
9 "sensorIdIn": [
10 0
11 ]
12}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalPages": 0,
3 "totalElements": 0,
4 "pageable": {
5 "paged": true,
6 "unpaged": true,
7 "pageNumber": 0,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "first": true,
18 "last": true,
19 "size": 0,
20 "content": [
21 {
22 "id": 0,
23 "createdBy": "string",
24 "createdAt": "2019-08-24T14:15:22Z",
25 "displayId": "string",
26 "name": "string",
27 "description": "string",
28 "triggerValue": "string",
29 "triggerType": "string",
30 "thresholdFrequency": "string",
31 "thresholdCondition": "string",
32 "startDate": "2019-08-24",
33 "sensorId": 0,
34 "sensorName": "string",
35 "sensorDto": {
36 "id": 0,
37 "createdBy": "string",
38 "createdAt": "2019-08-24T14:15:22Z",
39 "displayId": "string",
40 "name": "string",
41 "imageId": 0,
42 "description": "string",
43 "measurementType": "string",
44 "measurementFrequency": "string",
45 "sensorSourceId": 0,
46 "sensorSourceName": "string",
47 "sensorTypeId": 0,
48 "sensorTypeName": "string",
49 "sensorScaleId": 0,
50 "sensorScaleName": "string",
51 "assetId": 0,
52 "assetName": "string",
53 "mainAssetDto": {
54 "id": 0,
55 "createdBy": "string",
56 "createdAt": "2019-08-24T14:15:22Z",
57 "displayId": "string",
58 "name": "string",
59 "description": "string",
60 "qrCode": "string",
61 "barCode": "string",
62 "imageId": 0,
63 "model": "string",
64 "manufacturer": "string",
65 "serialNumber": "string",
66 "cost": "81.08",
67 "premiseId": 0,
68 "premiseDisplayId": "string",
69 "premiseDto": {
70 "id": 0,
71 "createdBy": "string",
72 "createdAt": "2019-08-24T14:15:22Z",
73 "displayId": "string",
74 "premiseName": "string",
75 "description": "string",
76 "address": "string",
77 "internalTeamNames": [
78 "string"
79 ],
80 "internalTeamIds": [
81 0
82 ],
83 "premiseAvailable": true,
84 "premiseFromNrm": true,
85 "nlmId": 0,
86 "nlmDisplayId": "string",
87 "nlmUsed": true,
88 "manager": 0,
89 "managerName": "string",
90 "imageId": 0,
91 "area": "string",
92 "modifiedAt": "2019-08-24T14:15:22Z"
93 },
94 "acquisitionDate": "2019-08-24",
95 "endOfLife": "2019-08-24",
96 "assetStatusId": 0,
97 "assetStatus": "string",
98 "assetStatusType": "string",
99 "parentAssetId": 0,
100 "parentAssetDisplayId": "string",
101 "parentAsset": "string",
102 "parentAssetDto": {},
103 "upcomingMaintenanceDate": "2019-08-24",
104 "assetCategoryIds": [
105 0
106 ],
107 "assetCategories": [
108 "string"
109 ],
110 "internalTeamIds": [
111 0
112 ],
113 "internalTeamDtos": [
114 {
115 "id": 0,
116 "createdBy": "string",
117 "createdAt": "2019-08-24T14:15:22Z",
118 "displayId": "string",
119 "name": "string",
120 "email": "string",
121 "phone": "string",
122 "manager": "string",
123 "requestCategoryName": [
124 "string"
125 ],
126 "requestCategoryId": [
127 0
128 ],
129 "requestCategoryDisplayId": [
130 "string"
131 ],
132 "description": "string",
133 "internalTeamUser": [
134 0
135 ],
136 "members": 0,
137 "mainAssets": [
138 0
139 ],
140 "premiseNames": [
141 "string"
142 ],
143 "internalTeamAvailable": true,
144 "premiseIds": [
145 0
146 ]
147 }
148 ],
149 "internalTeams": [
150 "string"
151 ],
152 "assignedUserIds": [
153 0
154 ],
155 "assignedUserDtos": [
156 {
157 "id": 0,
158 "createdBy": "string",
159 "createdAt": "2019-08-24T14:15:22Z",
160 "userName": "string",
161 "firstName": "string",
162 "lastName": "string",
163 "email": "string",
164 "roleIds": [
165 {
166 "id": 0,
167 "createdBy": "string",
168 "createdAt": "2019-08-24T14:15:22Z",
169 "modifiedBy": "string",
170 "modifiedAt": "2019-08-24T14:15:22Z",
171 "roleName": "string",
172 "entity": "string",
173 "new": true
174 }
175 ],
176 "internalTeamNames": [
177 "string"
178 ],
179 "internalTeamIds": [
180 0
181 ],
182 "internalTeamDisplayIds": [
183 "string"
184 ],
185 "premiseIds": [
186 0
187 ],
188 "premiseNames": [
189 "string"
190 ],
191 "userAvailable": true,
192 "temporaryWorkload": 0,
193 "preferredCultureCode": "string"
194 }
195 ],
196 "assignedUsers": [
197 "string"
198 ],
199 "assetPriority": "string",
200 "assetPriorityId": 0,
201 "assetPriorityDisplayId": "string",
202 "assetPriorityType": "string",
203 "assetAvailable": true,
204 "exactPlacement": "string",
205 "fosId": 0,
206 "downtimeStatus": "string",
207 "premiseFromNrm": true,
208 "modifiedAt": "2019-08-24T14:15:22Z"
209 },
210 "premiseId": 0,
211 "premiseName": "string",
212 "premiseDto": {
213 "id": 0,
214 "createdBy": "string",
215 "createdAt": "2019-08-24T14:15:22Z",
216 "displayId": "string",
217 "premiseName": "string",
218 "description": "string",
219 "address": "string",
220 "internalTeamNames": [
221 "string"
222 ],
223 "internalTeamIds": [
224 0
225 ],
226 "premiseAvailable": true,
227 "premiseFromNrm": true,
228 "nlmId": 0,
229 "nlmDisplayId": "string",
230 "nlmUsed": true,
231 "manager": 0,
232 "managerName": "string",
233 "imageId": 0,
234 "area": "string",
235 "modifiedAt": "2019-08-24T14:15:22Z"
236 },
237 "sensorAvailable": true,
238 "modifiedAt": "2019-08-24T14:15:22Z"
239 }
240 }
241 ],
242 "number": 0,
243 "sort": {
244 "unsorted": true,
245 "sorted": true,
246 "empty": true
247 },
248 "empty": true
249}
Get Threshold Frequencies¶
HTTP Request
GET /api/sensorTriggers/value
📋 Description: Retrieves the current values of sensor triggers, enabling real-time monitoring and analysis for operational decision-making.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Get Trigger Types¶
HTTP Request
GET /api/sensorTriggers/type
📋 Description: Fetches the list of available sensor trigger types, enabling users to identify and utilize specific triggers for monitoring and automation purposes.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Get Trigger With Event¶
HTTP Request
GET /api/sensorTriggers/event/{id}
📋 Description: Retrieves detailed information about a specific sensor trigger event identified by the unique event ID, enabling users to monitor and analyze sensor activity effectively.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "description": "string",
8 "triggerValue": "string",
9 "triggerType": "string",
10 "thresholdFrequency": "string",
11 "thresholdCondition": "string",
12 "startDate": "2019-08-24",
13 "sensorId": 0,
14 "sensorName": "string",
15 "sensorDto": {
16 "id": 0,
17 "createdBy": "string",
18 "createdAt": "2019-08-24T14:15:22Z",
19 "displayId": "string",
20 "name": "string",
21 "imageId": 0,
22 "description": "string",
23 "measurementType": "string",
24 "measurementFrequency": "string",
25 "sensorSourceId": 0,
26 "sensorSourceName": "string",
27 "sensorTypeId": 0,
28 "sensorTypeName": "string",
29 "sensorScaleId": 0,
30 "sensorScaleName": "string",
31 "assetId": 0,
32 "assetName": "string",
33 "mainAssetDto": {
34 "id": 0,
35 "createdBy": "string",
36 "createdAt": "2019-08-24T14:15:22Z",
37 "displayId": "string",
38 "name": "string",
39 "description": "string",
40 "qrCode": "string",
41 "barCode": "string",
42 "imageId": 0,
43 "model": "string",
44 "manufacturer": "string",
45 "serialNumber": "string",
46 "cost": "81.08",
47 "premiseId": 0,
48 "premiseDisplayId": "string",
49 "premiseDto": {
50 "id": 0,
51 "createdBy": "string",
52 "createdAt": "2019-08-24T14:15:22Z",
53 "displayId": "string",
54 "premiseName": "string",
55 "description": "string",
56 "address": "string",
57 "internalTeamNames": [
58 "string"
59 ],
60 "internalTeamIds": [
61 0
62 ],
63 "premiseAvailable": true,
64 "premiseFromNrm": true,
65 "nlmId": 0,
66 "nlmDisplayId": "string",
67 "nlmUsed": true,
68 "manager": 0,
69 "managerName": "string",
70 "imageId": 0,
71 "area": "string",
72 "modifiedAt": "2019-08-24T14:15:22Z"
73 },
74 "acquisitionDate": "2019-08-24",
75 "endOfLife": "2019-08-24",
76 "assetStatusId": 0,
77 "assetStatus": "string",
78 "assetStatusType": "string",
79 "parentAssetId": 0,
80 "parentAssetDisplayId": "string",
81 "parentAsset": "string",
82 "parentAssetDto": {},
83 "upcomingMaintenanceDate": "2019-08-24",
84 "assetCategoryIds": [
85 0
86 ],
87 "assetCategories": [
88 "string"
89 ],
90 "internalTeamIds": [
91 0
92 ],
93 "internalTeamDtos": [
94 {
95 "id": 0,
96 "createdBy": "string",
97 "createdAt": "2019-08-24T14:15:22Z",
98 "displayId": "string",
99 "name": "string",
100 "email": "string",
101 "phone": "string",
102 "manager": "string",
103 "requestCategoryName": [
104 "string"
105 ],
106 "requestCategoryId": [
107 0
108 ],
109 "requestCategoryDisplayId": [
110 "string"
111 ],
112 "description": "string",
113 "internalTeamUser": [
114 0
115 ],
116 "members": 0,
117 "mainAssets": [
118 0
119 ],
120 "premiseNames": [
121 "string"
122 ],
123 "internalTeamAvailable": true,
124 "premiseIds": [
125 0
126 ]
127 }
128 ],
129 "internalTeams": [
130 "string"
131 ],
132 "assignedUserIds": [
133 0
134 ],
135 "assignedUserDtos": [
136 {
137 "id": 0,
138 "createdBy": "string",
139 "createdAt": "2019-08-24T14:15:22Z",
140 "userName": "string",
141 "firstName": "string",
142 "lastName": "string",
143 "email": "string",
144 "roleIds": [
145 {
146 "id": 0,
147 "createdBy": "string",
148 "createdAt": "2019-08-24T14:15:22Z",
149 "modifiedBy": "string",
150 "modifiedAt": "2019-08-24T14:15:22Z",
151 "roleName": "string",
152 "entity": "string",
153 "new": true
154 }
155 ],
156 "internalTeamNames": [
157 "string"
158 ],
159 "internalTeamIds": [
160 0
161 ],
162 "internalTeamDisplayIds": [
163 "string"
164 ],
165 "premiseIds": [
166 0
167 ],
168 "premiseNames": [
169 "string"
170 ],
171 "userAvailable": true,
172 "temporaryWorkload": 0,
173 "preferredCultureCode": "string"
174 }
175 ],
176 "assignedUsers": [
177 "string"
178 ],
179 "assetPriority": "string",
180 "assetPriorityId": 0,
181 "assetPriorityDisplayId": "string",
182 "assetPriorityType": "string",
183 "assetAvailable": true,
184 "exactPlacement": "string",
185 "fosId": 0,
186 "downtimeStatus": "string",
187 "premiseFromNrm": true,
188 "modifiedAt": "2019-08-24T14:15:22Z"
189 },
190 "premiseId": 0,
191 "premiseName": "string",
192 "premiseDto": {
193 "id": 0,
194 "createdBy": "string",
195 "createdAt": "2019-08-24T14:15:22Z",
196 "displayId": "string",
197 "premiseName": "string",
198 "description": "string",
199 "address": "string",
200 "internalTeamNames": [
201 "string"
202 ],
203 "internalTeamIds": [
204 0
205 ],
206 "premiseAvailable": true,
207 "premiseFromNrm": true,
208 "nlmId": 0,
209 "nlmDisplayId": "string",
210 "nlmUsed": true,
211 "manager": 0,
212 "managerName": "string",
213 "imageId": 0,
214 "area": "string",
215 "modifiedAt": "2019-08-24T14:15:22Z"
216 },
217 "sensorAvailable": true,
218 "modifiedAt": "2019-08-24T14:15:22Z"
219 },
220 "userIds": [
221 0
222 ],
223 "userDTOs": [
224 {
225 "id": 0,
226 "createdBy": "string",
227 "createdAt": "2019-08-24T14:15:22Z",
228 "userName": "string",
229 "firstName": "string",
230 "lastName": "string",
231 "email": "string",
232 "roleIds": [
233 {
234 "id": 0,
235 "createdBy": "string",
236 "createdAt": "2019-08-24T14:15:22Z",
237 "modifiedBy": "string",
238 "modifiedAt": "2019-08-24T14:15:22Z",
239 "roleName": "string",
240 "entity": "string",
241 "new": true
242 }
243 ],
244 "internalTeamNames": [
245 "string"
246 ],
247 "internalTeamIds": [
248 0
249 ],
250 "internalTeamDisplayIds": [
251 "string"
252 ],
253 "premiseIds": [
254 0
255 ],
256 "premiseNames": [
257 "string"
258 ],
259 "userAvailable": true,
260 "temporaryWorkload": 0,
261 "preferredCultureCode": "string"
262 }
263 ],
264 "teamIds": [
265 0
266 ],
267 "teamDTOs": [
268 {
269 "id": 0,
270 "createdBy": "string",
271 "createdAt": "2019-08-24T14:15:22Z",
272 "displayId": "string",
273 "name": "string",
274 "email": "string",
275 "phone": "string",
276 "manager": "string",
277 "requestCategoryName": [
278 "string"
279 ],
280 "requestCategoryId": [
281 0
282 ],
283 "requestCategoryDisplayId": [
284 "string"
285 ],
286 "description": "string",
287 "internalTeamUser": [
288 0
289 ],
290 "members": 0,
291 "mainAssets": [
292 0
293 ],
294 "premiseNames": [
295 "string"
296 ],
297 "internalTeamAvailable": true,
298 "premiseIds": [
299 0
300 ]
301 }
302 ],
303 "notificationTitle": "string",
304 "notificationMessage": "string",
305 "notifyByEmail": true,
306 "notifyInApp": true,
307 "inspectionName": "string",
308 "inspectionTemplateId": 0,
309 "inspectionTemplate": {
310 "id": 0,
311 "createdBy": "string",
312 "createdAt": "2019-08-24T14:15:22Z",
313 "displayId": "string",
314 "name": "string",
315 "description": "string",
316 "dueDate": "2019-08-24",
317 "closeDate": "2019-08-24",
318 "createdDate": "2019-08-24",
319 "startDate": "2019-08-24",
320 "endDate": "2019-08-24",
321 "startTime": {
322 "hour": 0,
323 "minute": 0,
324 "second": 0,
325 "nano": 0
326 },
327 "endTime": {
328 "hour": 0,
329 "minute": 0,
330 "second": 0,
331 "nano": 0
332 },
333 "isCreatedBy": "string",
334 "isTemplate": true,
335 "inspectionAvailable": true,
336 "inspectionType": "string",
337 "templateId": 0,
338 "premiseId": 0,
339 "premiseDto": {
340 "id": 0,
341 "createdBy": "string",
342 "createdAt": "2019-08-24T14:15:22Z",
343 "displayId": "string",
344 "premiseName": "string",
345 "description": "string",
346 "address": "string",
347 "internalTeamNames": [
348 "string"
349 ],
350 "internalTeamIds": [
351 0
352 ],
353 "premiseAvailable": true,
354 "premiseFromNrm": true,
355 "nlmId": 0,
356 "nlmDisplayId": "string",
357 "nlmUsed": true,
358 "manager": 0,
359 "managerName": "string",
360 "imageId": 0,
361 "area": "string",
362 "modifiedAt": "2019-08-24T14:15:22Z"
363 },
364 "premiseFromNrm": true,
365 "premiseDisplayId": "string",
366 "mainAssetIds": [
367 0
368 ],
369 "mainAssetId": 0,
370 "mainAssetDto": {
371 "id": 0,
372 "createdBy": "string",
373 "createdAt": "2019-08-24T14:15:22Z",
374 "displayId": "string",
375 "name": "string",
376 "description": "string",
377 "qrCode": "string",
378 "barCode": "string",
379 "imageId": 0,
380 "model": "string",
381 "manufacturer": "string",
382 "serialNumber": "string",
383 "cost": "81.08",
384 "premiseId": 0,
385 "premiseDisplayId": "string",
386 "premiseDto": {
387 "id": 0,
388 "createdBy": "string",
389 "createdAt": "2019-08-24T14:15:22Z",
390 "displayId": "string",
391 "premiseName": "string",
392 "description": "string",
393 "address": "string",
394 "internalTeamNames": [
395 "string"
396 ],
397 "internalTeamIds": [
398 0
399 ],
400 "premiseAvailable": true,
401 "premiseFromNrm": true,
402 "nlmId": 0,
403 "nlmDisplayId": "string",
404 "nlmUsed": true,
405 "manager": 0,
406 "managerName": "string",
407 "imageId": 0,
408 "area": "string",
409 "modifiedAt": "2019-08-24T14:15:22Z"
410 },
411 "acquisitionDate": "2019-08-24",
412 "endOfLife": "2019-08-24",
413 "assetStatusId": 0,
414 "assetStatus": "string",
415 "assetStatusType": "string",
416 "parentAssetId": 0,
417 "parentAssetDisplayId": "string",
418 "parentAsset": "string",
419 "parentAssetDto": {},
420 "upcomingMaintenanceDate": "2019-08-24",
421 "assetCategoryIds": [
422 0
423 ],
424 "assetCategories": [
425 "string"
426 ],
427 "internalTeamIds": [
428 0
429 ],
430 "internalTeamDtos": [
431 {
432 "id": 0,
433 "createdBy": "string",
434 "createdAt": "2019-08-24T14:15:22Z",
435 "displayId": "string",
436 "name": "string",
437 "email": "string",
438 "phone": "string",
439 "manager": "string",
440 "requestCategoryName": [
441 "string"
442 ],
443 "requestCategoryId": [
444 0
445 ],
446 "requestCategoryDisplayId": [
447 "string"
448 ],
449 "description": "string",
450 "internalTeamUser": [
451 0
452 ],
453 "members": 0,
454 "mainAssets": [
455 0
456 ],
457 "premiseNames": [
458 "string"
459 ],
460 "internalTeamAvailable": true,
461 "premiseIds": [
462 0
463 ]
464 }
465 ],
466 "internalTeams": [
467 "string"
468 ],
469 "assignedUserIds": [
470 0
471 ],
472 "assignedUserDtos": [
473 {
474 "id": 0,
475 "createdBy": "string",
476 "createdAt": "2019-08-24T14:15:22Z",
477 "userName": "string",
478 "firstName": "string",
479 "lastName": "string",
480 "email": "string",
481 "roleIds": [
482 {
483 "id": 0,
484 "createdBy": "string",
485 "createdAt": "2019-08-24T14:15:22Z",
486 "modifiedBy": "string",
487 "modifiedAt": "2019-08-24T14:15:22Z",
488 "roleName": "string",
489 "entity": "string",
490 "new": true
491 }
492 ],
493 "internalTeamNames": [
494 "string"
495 ],
496 "internalTeamIds": [
497 0
498 ],
499 "internalTeamDisplayIds": [
500 "string"
501 ],
502 "premiseIds": [
503 0
504 ],
505 "premiseNames": [
506 "string"
507 ],
508 "userAvailable": true,
509 "temporaryWorkload": 0,
510 "preferredCultureCode": "string"
511 }
512 ],
513 "assignedUsers": [
514 "string"
515 ],
516 "assetPriority": "string",
517 "assetPriorityId": 0,
518 "assetPriorityDisplayId": "string",
519 "assetPriorityType": "string",
520 "assetAvailable": true,
521 "exactPlacement": "string",
522 "fosId": 0,
523 "downtimeStatus": "string",
524 "premiseFromNrm": true,
525 "modifiedAt": "2019-08-24T14:15:22Z"
526 },
527 "mainAssetDisplayId": "string",
528 "inspectionCategoryIds": [
529 0
530 ],
531 "inspectionCategories": [
532 "string"
533 ],
534 "inspectionCategoryId": 0,
535 "inspectionCategory": "string",
536 "inspectionConditionId": 0,
537 "inspectionCondition": "string",
538 "inspectionConditionType": "string",
539 "inspectionStatusId": 0,
540 "inspectionStatus": "string",
541 "inspectionStatusType": "string",
542 "inspectionItemIds": [
543 0
544 ],
545 "internalTeamIds": [
546 0
547 ],
548 "internalTeamDtos": [
549 {
550 "id": 0,
551 "createdBy": "string",
552 "createdAt": "2019-08-24T14:15:22Z",
553 "displayId": "string",
554 "name": "string",
555 "email": "string",
556 "phone": "string",
557 "manager": "string",
558 "requestCategoryName": [
559 "string"
560 ],
561 "requestCategoryId": [
562 0
563 ],
564 "requestCategoryDisplayId": [
565 "string"
566 ],
567 "description": "string",
568 "internalTeamUser": [
569 0
570 ],
571 "members": 0,
572 "mainAssets": [
573 0
574 ],
575 "premiseNames": [
576 "string"
577 ],
578 "internalTeamAvailable": true,
579 "premiseIds": [
580 0
581 ]
582 }
583 ],
584 "internalTeams": [
585 "string"
586 ],
587 "assignedUserIds": [
588 0
589 ],
590 "assignedUserDtos": [
591 {
592 "id": 0,
593 "createdBy": "string",
594 "createdAt": "2019-08-24T14:15:22Z",
595 "userName": "string",
596 "firstName": "string",
597 "lastName": "string",
598 "email": "string",
599 "roleIds": [
600 {
601 "id": 0,
602 "createdBy": "string",
603 "createdAt": "2019-08-24T14:15:22Z",
604 "modifiedBy": "string",
605 "modifiedAt": "2019-08-24T14:15:22Z",
606 "roleName": "string",
607 "entity": "string",
608 "new": true
609 }
610 ],
611 "internalTeamNames": [
612 "string"
613 ],
614 "internalTeamIds": [
615 0
616 ],
617 "internalTeamDisplayIds": [
618 "string"
619 ],
620 "premiseIds": [
621 0
622 ],
623 "premiseNames": [
624 "string"
625 ],
626 "userAvailable": true,
627 "temporaryWorkload": 0,
628 "preferredCultureCode": "string"
629 }
630 ],
631 "assignedUsers": [
632 "string"
633 ],
634 "activity": "string",
635 "createdByTrigger": true,
636 "modifiedAt": "2019-08-24T14:15:22Z"
637 },
638 "workOrderName": "string",
639 "workOrderTemplateId": 0,
640 "workOrderTemplate": {
641 "id": 0,
642 "createdBy": "string",
643 "createdAt": "2019-08-24T14:15:22Z",
644 "displayId": "string",
645 "name": "string",
646 "imageId": 0,
647 "description": "string",
648 "vendorRating": 0,
649 "premiseId": 0,
650 "premiseDto": {
651 "id": 0,
652 "createdBy": "string",
653 "createdAt": "2019-08-24T14:15:22Z",
654 "displayId": "string",
655 "premiseName": "string",
656 "description": "string",
657 "address": "string",
658 "internalTeamNames": [
659 "string"
660 ],
661 "internalTeamIds": [
662 0
663 ],
664 "premiseAvailable": true,
665 "premiseFromNrm": true,
666 "nlmId": 0,
667 "nlmDisplayId": "string",
668 "nlmUsed": true,
669 "manager": 0,
670 "managerName": "string",
671 "imageId": 0,
672 "area": "string",
673 "modifiedAt": "2019-08-24T14:15:22Z"
674 },
675 "premiseFromNrm": true,
676 "premiseDisplayId": "string",
677 "nssProjectId": 0,
678 "nssTaskId": 0,
679 "nssTaskDisplayId": "string",
680 "orderDate": "2019-08-24",
681 "dueDate": "2019-08-24",
682 "startDate": "2019-08-24",
683 "endDate": "2019-08-24",
684 "startTime": {
685 "hour": 0,
686 "minute": 0,
687 "second": 0,
688 "nano": 0
689 },
690 "endTime": {
691 "hour": 0,
692 "minute": 0,
693 "second": 0,
694 "nano": 0
695 },
696 "modifiedAt": "2019-08-24T14:15:22Z",
697 "estimatedCost": "81.08",
698 "finalCost": "81.08",
699 "duration": 0,
700 "estimatedDayTime": 0,
701 "finalHourTime": "2.5",
702 "estimatedHourTime": "2.5",
703 "closeDate": "2019-08-24",
704 "inspection": "string",
705 "workOrderTypeId": 0,
706 "workOrderTypeName": "string",
707 "workOrderType": "string",
708 "workOrderPriorityId": 0,
709 "workOrderPriority": "string",
710 "workOrderPriorityType": "string",
711 "isTemplate": true,
712 "isWorkOrderTemplate": true,
713 "templateId": 0,
714 "isPartsInSufficient": true,
715 "partQuantityInfoList": [
716 {
717 "partId": 0,
718 "partDisplayId": "string",
719 "requestedQuantity": 0,
720 "availableQuantity": 0,
721 "usedQuantity": 0,
722 "sufficient": true,
723 "partial": true
724 }
725 ],
726 "parentWorkOrderId": 0,
727 "parentWorkOrderDisplayId": "string",
728 "parentWorkOrder": "string",
729 "mainAssetIds": [
730 0
731 ],
732 "mainAssetDto": {
733 "id": 0,
734 "createdBy": "string",
735 "createdAt": "2019-08-24T14:15:22Z",
736 "displayId": "string",
737 "name": "string",
738 "description": "string",
739 "qrCode": "string",
740 "barCode": "string",
741 "imageId": 0,
742 "model": "string",
743 "manufacturer": "string",
744 "serialNumber": "string",
745 "cost": "81.08",
746 "premiseId": 0,
747 "premiseDisplayId": "string",
748 "premiseDto": {
749 "id": 0,
750 "createdBy": "string",
751 "createdAt": "2019-08-24T14:15:22Z",
752 "displayId": "string",
753 "premiseName": "string",
754 "description": "string",
755 "address": "string",
756 "internalTeamNames": [
757 "string"
758 ],
759 "internalTeamIds": [
760 0
761 ],
762 "premiseAvailable": true,
763 "premiseFromNrm": true,
764 "nlmId": 0,
765 "nlmDisplayId": "string",
766 "nlmUsed": true,
767 "manager": 0,
768 "managerName": "string",
769 "imageId": 0,
770 "area": "string",
771 "modifiedAt": "2019-08-24T14:15:22Z"
772 },
773 "acquisitionDate": "2019-08-24",
774 "endOfLife": "2019-08-24",
775 "assetStatusId": 0,
776 "assetStatus": "string",
777 "assetStatusType": "string",
778 "parentAssetId": 0,
779 "parentAssetDisplayId": "string",
780 "parentAsset": "string",
781 "parentAssetDto": {},
782 "upcomingMaintenanceDate": "2019-08-24",
783 "assetCategoryIds": [
784 0
785 ],
786 "assetCategories": [
787 "string"
788 ],
789 "internalTeamIds": [
790 0
791 ],
792 "internalTeamDtos": [
793 {
794 "id": 0,
795 "createdBy": "string",
796 "createdAt": "2019-08-24T14:15:22Z",
797 "displayId": "string",
798 "name": "string",
799 "email": "string",
800 "phone": "string",
801 "manager": "string",
802 "requestCategoryName": [
803 "string"
804 ],
805 "requestCategoryId": [
806 0
807 ],
808 "requestCategoryDisplayId": [
809 "string"
810 ],
811 "description": "string",
812 "internalTeamUser": [
813 0
814 ],
815 "members": 0,
816 "mainAssets": [
817 0
818 ],
819 "premiseNames": [
820 "string"
821 ],
822 "internalTeamAvailable": true,
823 "premiseIds": [
824 0
825 ]
826 }
827 ],
828 "internalTeams": [
829 "string"
830 ],
831 "assignedUserIds": [
832 0
833 ],
834 "assignedUserDtos": [
835 {
836 "id": 0,
837 "createdBy": "string",
838 "createdAt": "2019-08-24T14:15:22Z",
839 "userName": "string",
840 "firstName": "string",
841 "lastName": "string",
842 "email": "string",
843 "roleIds": [
844 {
845 "id": 0,
846 "createdBy": "string",
847 "createdAt": "2019-08-24T14:15:22Z",
848 "modifiedBy": "string",
849 "modifiedAt": "2019-08-24T14:15:22Z",
850 "roleName": "string",
851 "entity": "string",
852 "new": true
853 }
854 ],
855 "internalTeamNames": [
856 "string"
857 ],
858 "internalTeamIds": [
859 0
860 ],
861 "internalTeamDisplayIds": [
862 "string"
863 ],
864 "premiseIds": [
865 0
866 ],
867 "premiseNames": [
868 "string"
869 ],
870 "userAvailable": true,
871 "temporaryWorkload": 0,
872 "preferredCultureCode": "string"
873 }
874 ],
875 "assignedUsers": [
876 "string"
877 ],
878 "assetPriority": "string",
879 "assetPriorityId": 0,
880 "assetPriorityDisplayId": "string",
881 "assetPriorityType": "string",
882 "assetAvailable": true,
883 "exactPlacement": "string",
884 "fosId": 0,
885 "downtimeStatus": "string",
886 "premiseFromNrm": true,
887 "modifiedAt": "2019-08-24T14:15:22Z"
888 },
889 "mainAssetDisplayId": "string",
890 "workOrderStatusId": 0,
891 "workOrderStatus": "string",
892 "workOrderStatusType": "string",
893 "requestIds": [
894 0
895 ],
896 "internalTeamIds": [
897 0
898 ],
899 "internalTeamDtos": [
900 {
901 "id": 0,
902 "createdBy": "string",
903 "createdAt": "2019-08-24T14:15:22Z",
904 "displayId": "string",
905 "name": "string",
906 "email": "string",
907 "phone": "string",
908 "manager": "string",
909 "requestCategoryName": [
910 "string"
911 ],
912 "requestCategoryId": [
913 0
914 ],
915 "requestCategoryDisplayId": [
916 "string"
917 ],
918 "description": "string",
919 "internalTeamUser": [
920 0
921 ],
922 "members": 0,
923 "mainAssets": [
924 0
925 ],
926 "premiseNames": [
927 "string"
928 ],
929 "internalTeamAvailable": true,
930 "premiseIds": [
931 0
932 ]
933 }
934 ],
935 "internalTeams": [
936 "string"
937 ],
938 "vendorId": 0,
939 "vendorDto": {
940 "id": 0,
941 "createdBy": "string",
942 "createdAt": "2019-08-24T14:15:22Z",
943 "displayId": "string",
944 "name": "string",
945 "description": "string",
946 "address": "string",
947 "contractEndDate": "2019-08-24",
948 "services": "string",
949 "vendorType": "string",
950 "vendorStatusId": 0,
951 "vendorStatus": "string",
952 "vendorStatusType": "string",
953 "businessTypeId": 0,
954 "businessType": "string",
955 "vendorRateId": 0,
956 "vendorRate": "string",
957 "vendorContactIds": [
958 0
959 ],
960 "premiseIds": [
961 0
962 ],
963 "firstPremiseDisplayId": "string",
964 "ownerUserName": "string",
965 "ownerDto": {
966 "id": 0,
967 "createdBy": "string",
968 "createdAt": "2019-08-24T14:15:22Z",
969 "userName": "string",
970 "firstName": "string",
971 "lastName": "string",
972 "email": "string",
973 "roleIds": [
974 {
975 "id": 0,
976 "createdBy": "string",
977 "createdAt": "2019-08-24T14:15:22Z",
978 "modifiedBy": "string",
979 "modifiedAt": "2019-08-24T14:15:22Z",
980 "roleName": "string",
981 "entity": "string",
982 "new": true
983 }
984 ],
985 "internalTeamNames": [
986 "string"
987 ],
988 "internalTeamIds": [
989 0
990 ],
991 "internalTeamDisplayIds": [
992 "string"
993 ],
994 "premiseIds": [
995 0
996 ],
997 "premiseNames": [
998 "string"
999 ],
1000 "userAvailable": true,
1001 "temporaryWorkload": 0,
1002 "preferredCultureCode": "string"
1003 },
1004 "vendorAvailable": true,
1005 "vendorRating": 0.1,
1006 "premiseDisplayIds": [
1007 "string"
1008 ]
1009 },
1010 "vendorName": "string",
1011 "workOrderTemplateSettings": {
1012 "id": 0,
1013 "createdBy": "string",
1014 "createdAt": "2019-08-24T14:15:22Z",
1015 "workOrderId": 0,
1016 "startDate": "2019-08-24",
1017 "dueDuration": 0,
1018 "dueMonths": 0,
1019 "endDate": "2019-08-24",
1020 "recurringWOPriorityId": 0,
1021 "recurringWOPriority": "string",
1022 "recurringWOPriorityType": "string",
1023 "isTemplate": true,
1024 "isRemoveByDate": true,
1025 "triggerByWorkOrderStatusId": 0,
1026 "triggerByWorkOrderStatus": "string",
1027 "triggerByWorkOrderStatusType": "string",
1028 "removeByWorkOrderStatusId": 0,
1029 "removeByWorkOrderStatus": "string",
1030 "removeByWorkOrderStatusType": "string"
1031 },
1032 "assignedUserIds": [
1033 0
1034 ],
1035 "assignedUserDtos": [
1036 {
1037 "id": 0,
1038 "createdBy": "string",
1039 "createdAt": "2019-08-24T14:15:22Z",
1040 "userName": "string",
1041 "firstName": "string",
1042 "lastName": "string",
1043 "email": "string",
1044 "roleIds": [
1045 {
1046 "id": 0,
1047 "createdBy": "string",
1048 "createdAt": "2019-08-24T14:15:22Z",
1049 "modifiedBy": "string",
1050 "modifiedAt": "2019-08-24T14:15:22Z",
1051 "roleName": "string",
1052 "entity": "string",
1053 "new": true
1054 }
1055 ],
1056 "internalTeamNames": [
1057 "string"
1058 ],
1059 "internalTeamIds": [
1060 0
1061 ],
1062 "internalTeamDisplayIds": [
1063 "string"
1064 ],
1065 "premiseIds": [
1066 0
1067 ],
1068 "premiseNames": [
1069 "string"
1070 ],
1071 "userAvailable": true,
1072 "temporaryWorkload": 0,
1073 "preferredCultureCode": "string"
1074 }
1075 ],
1076 "assignedUsers": [
1077 "string"
1078 ],
1079 "variableQuantity": 0,
1080 "workOrderAvailable": true,
1081 "exactPlacement": "string",
1082 "primaryWorkOrderId": 0,
1083 "primaryWorkOrderDto": {},
1084 "primaryWorkOrderDisplayId": "string",
1085 "isPrimary": true,
1086 "invoiceIds": [
1087 0
1088 ],
1089 "createdByTrigger": true,
1090 "internalCosts": "81.08",
1091 "invoiceTotal": "81.08",
1092 "partsTotal": "81.08",
1093 "inspectionItemId": 0,
1094 "partIdToAttach": 0
1095 }
1096}
Get Threshold Conditions¶
HTTP Request
GET /api/sensorTriggers/condition
📋 Description: Retrieves the current sensor trigger conditions, enabling users to monitor and manage sensor-related events effectively.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]