Request state of any job by slcID.
jobStatus/slcID of field communication job
GET
-
-
Entity | Type | Nullable | Description |
---|---|---|---|
jobStatus | array (mainEntity) | no |
Entity | Type | Nullable | Description |
---|---|---|---|
id | int | no | slcID of job |
date_created | timestamp | no | Date and time of job creation |
type_id | int (jobType) | no | job type |
state_id | int (jobState) | no | job state |
customer_id | int | no | slcID of customer |
date_updated | timestamp | yes | Date and time of last job update |
no_restarts | int | yes | number of job restarts |
device_id | int | yes | slcDeviceAddress |
device_ids | int[] | yes | slcDeviceAddresses (job types 12 and 13) |
gateway_id | int | yes | slcID of gateway |
successful_device_ids | int[] | yes | slcDeviceAddresses (job types 12 and 13) |
failed_device_ids | int[] | yes | slcDeviceAddresses (job types 12 and 13) |
Value | Description |
---|---|
1 | System-Einstellungen aktualisieren |
2 | Gatweway-Einstellungen aktualisieren |
3 | Betriebsmodus aktualisieren |
4 | Bewegungszähler zurücksetzen |
5 | Leuchte inaktiv schalten |
6 | Statische Gerätedaten ändern |
7 | Manuelle LED-Helligkeit wurde geändert |
8 | Gerätestatus und Sensordaten aktualisieren |
9 | Die "Übergeordneter Lichtschalter-Konfiguration" wurde geändert |
10 | Sendet einen "übergeordneter Lichtschalter" - Befehl aus |
11 | Nachbargeräte für Bewegungserkennung wurden geändert |
12 | Der gleiche Betriebsmodus wurde für mehrere Geräte gesetzt |
13 | Die gleiche "Übergeordneter Lichtschalter-Konfiguration" würde für mehrere Geräte gesetzt |
14 | Empfangsdaten (Mesh-Net) aktualisieren |
15 | Status-Log-Daten aktualisieren |
16 | Geräte-Roh-Kommando (Debug) |
17 | Gateway ExtOut Command |
18 | Device Update RalabMotionSensor Config |
19 | Device Reset Radar Motion Counters |
20 | Device Set LFC |
21 | Dist Measurement Value Config |
Value | Description |
---|---|
0 | Pendent |
1 | In Arbeit |
2 | Erledigt |
3 | Fehler |
4 | Archiv |
5 | Teilweise Fehlgeschlagen |
6 | Eskalation |
200 OK
{ "jobStatus": [ { "id": 533192, "customer_id": 165, "type_id": 1, "state_id": 2, "date_created": "2018-06-19T15:02:44+02:00", "date_updated": "2018-06-19T15:02:45+02:00" } ] }
400 Bad Request
{
"error": 5001
}
Code | Description |
5001 | job not found |