Sending process data
Process data describe one process for one part, for example one tightening. They contain the result of the process, the program and the curves that were recorded. Process data are shown in the process analysis.
The message format is based on the Open Production Protocol (OPP) version 1.
Prerequisites
-
The device exists in the configuration with a Technical ID, for example
cnc1-1. -
The measuring points of the curves exist and are assigned to the device type, for example
timeandtorque. You need them to select the axes in the process analysis. -
A technical client with the permission
measurements:write. See Authentication.
Request
POST /data-ingest/api/v1/tenants/{tenantId}/ingest HTTP/1.1
Host: <sot-host>
Authorization: Bearer <access token>
Content-Type: application/json
X-Message-Type: process
X-Api-Version: 1.0
{
"reference": {
"identifier": "cnc1-1",
"type": 0
},
"part": {
"identifier": "1792070811329",
"typeNumber": "Part Type 2",
"partResult": 5
},
"processContent": {
"processStartTimestamp": "2026-10-16T10:15:00Z",
"result": "nok",
"program": {
"id": "2",
"name": "Test Program 42"
},
"measurements": [
{
"name": "tightening",
"phaseId": "1",
"result": "nok",
"timestamp": "2026-10-16T10:15:00Z",
"series": [
{ "name": "time", "xAxis": true, "values": [0, 0.5, 1.0, 1.5, 2.0] },
{ "name": "torque", "values": [0, 4.2, 8.9, 12.4, 3.1] }
],
"specialValues": [
{
"name": "shutoff",
"seriesValues": [
{ "seriesName": "time", "value": 1.5 },
{ "seriesName": "torque", "value": 12.4 }
]
}
]
}
]
}
}
The service answers with 202 Accepted. A few seconds later, the process is shown in the process analysis of the device.
Message format
| Field | Required | Description |
|---|---|---|
|
yes |
Technical ID of the device. Maximum 80 characters. |
|
yes |
Use |
|
no |
Part ID, shown as Part ID. Maximum 80 characters. |
|
yes, if |
Part type, shown as Part Type ID. Maximum 80 characters. |
|
no |
Result of the part: |
|
yes |
Start of the process in UTC, ISO 8601. |
|
no |
Result of the process: |
|
no |
Program: |
|
yes |
At least one measurement, for example one per process phase. |
|
no |
Name, phase and result of the measurement. |
|
yes |
Time of the measurement in UTC, ISO 8601. |
|
yes |
Curves of the measurement. Every series has a |
|
no |
Points of interest of the curve, for example |
|
no |
Additional data as JSON object. |
| The complete request must not be larger than 1 MiB. For very long curves, reduce the sampling rate. |
Verifying the result
-
In the menu, click Devices and open the device.
-
Check that the Process Analysis shows the new process with the right result. See Process analysis.
-
Click the process and check the curve.
Prozessdaten senden
Prozessdaten beschreiben einen Prozess für ein Teil, zum Beispiel eine Verschraubung. Sie enthalten das Ergebnis des Prozesses, das Programm und die aufgezeichneten Kurven. Prozessdaten erscheinen in der Prozessanalyse.
Das Nachrichtenformat basiert auf dem Open Production Protocol (OPP), Version 1.
Voraussetzungen
-
Das Gerät ist in der Konfiguration angelegt und hat eine Technische ID (Technical ID), zum Beispiel
cnc1-1. -
Die Messpunkte der Kurven sind angelegt und dem Gerätetyp zugeordnet, zum Beispiel
timeundtorque. Sie werden für die Auswahl der Achsen in der Prozessanalyse benötigt. -
Ein technischer Client mit der Berechtigung
measurements:write. Siehe Authentifizierung.
Anfrage
POST /data-ingest/api/v1/tenants/{tenantId}/ingest HTTP/1.1
Host: <sot-host>
Authorization: Bearer <access token>
Content-Type: application/json
X-Message-Type: process
X-Api-Version: 1.0
{
"reference": {
"identifier": "cnc1-1",
"type": 0
},
"part": {
"identifier": "1792070811329",
"typeNumber": "Part Type 2",
"partResult": 5
},
"processContent": {
"processStartTimestamp": "2026-10-16T10:15:00Z",
"result": "nok",
"program": {
"id": "2",
"name": "Test Program 42"
},
"measurements": [
{
"name": "tightening",
"phaseId": "1",
"result": "nok",
"timestamp": "2026-10-16T10:15:00Z",
"series": [
{ "name": "time", "xAxis": true, "values": [0, 0.5, 1.0, 1.5, 2.0] },
{ "name": "torque", "values": [0, 4.2, 8.9, 12.4, 3.1] }
],
"specialValues": [
{
"name": "shutoff",
"seriesValues": [
{ "seriesName": "time", "value": 1.5 },
{ "seriesName": "torque", "value": 12.4 }
]
}
]
}
]
}
}
Der Dienst antwortet mit 202 Accepted. Wenige Sekunden später zeigt die Prozessanalyse des Geräts den Prozess an.
Nachrichtenformat
| Feld | Pflicht | Beschreibung |
|---|---|---|
|
ja |
Technische ID des Geräts. Maximal 80 Zeichen. |
|
ja |
|
|
nein |
Teile-ID, angezeigt als Teile-ID (Part ID). Maximal 80 Zeichen. |
|
ja, wenn |
Teiletyp, angezeigt als Teiletyp-ID (Part Type ID). Maximal 80 Zeichen. |
|
nein |
Ergebnis des Teils: |
|
ja |
Beginn des Prozesses in UTC, ISO 8601. |
|
nein |
Ergebnis des Prozesses: |
|
nein |
Programm: |
|
ja |
Mindestens eine Messung, zum Beispiel eine je Prozessphase. |
|
nein |
Name, Phase und Ergebnis der Messung. |
|
ja |
Zeitpunkt der Messung in UTC, ISO 8601. |
|
ja |
Kurven der Messung. Jede Reihe hat einen |
|
nein |
Markante Punkte der Kurve, zum Beispiel |
|
nein |
Zusätzliche Daten als JSON-Objekt. |
| Die gesamte Anfrage darf nicht größer als 1 MiB sein. Bei sehr langen Kurven die Abtastrate verringern. |
Ergebnis prüfen
-
Im Menü auf Geräte (Devices) klicken und das Gerät öffnen.
-
Prüfen, ob die Prozessanalyse (Process Analysis) den neuen Prozess mit dem richtigen Ergebnis zeigt. Siehe Prozessanalyse.
-
Auf den Prozess klicken und die Kurve prüfen.