Verkehrssicherung
Die Endpunkte dieser Endpunktberechtigung finden Sie im Controller "SafetyInsepction" verfügbar
Um Verkehrssicherungen bearbeiten zu können, muss die Endpunktberechtigung "Sicherheitsüberprüfungen ändern" aktiviert werden.
Abfragen zur Verkehrssicherung können in den Objektdaten vorgenommen werden.
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
Neue Verkehrssicherung anlegen
Version 1.2
post
Autorisierungen
Abfrageparameter
apiKeystringErforderlich
Rumpf
LandIdinteger · int32 | nullfähigOptional
BuildingIdinteger · int32 | nullfähigOptional
InspectionDatestring · dateOptionalExample:
2025-10-14
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
InspectionPeriodFromstring · date-timeOptional
InspectionPeriodTostring · date-time | nullfähigOptional
AuditorPersonIdinteger · int32 | nullfähigOptional
ProtocolFileIdinteger · int32 | nullfähigOptional
Descriptionstring | nullfähigOptional
IdNumstring | nullfähigOptional
Antworten
201
Created
400
Bad Request
401
Unauthorized
post
POST /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 230
{
"LandId": 1,
"BuildingId": 1,
"InspectionDate": "2025-10-14",
"InspectionPeriodFrom": "2025-10-14T18:18:28.039Z",
"InspectionPeriodTo": "2025-10-14T18:18:28.039Z",
"AuditorPersonId": 1,
"ProtocolFileId": 1,
"Description": "text",
"IdNum": "text"
}
{
"Id": 1,
"IdNum": "text"
}
Verkehrssicherung bearbeiten
Version 1.2
put
Autorisierungen
Pfadparameter
safetyInspectionIdinteger · int32Erforderlich
Abfrageparameter
apiKeystringErforderlich
Rumpf
LandIdinteger · int32 | nullfähigOptional
BuildingIdinteger · int32 | nullfähigOptional
InspectionDatestring · dateOptionalExample:
2025-10-14
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
InspectionPeriodFromstring · date-timeOptional
InspectionPeriodTostring · date-time | nullfähigOptional
AuditorPersonIdinteger · int32 | nullfähigOptional
ProtocolFileIdinteger · int32 | nullfähigOptional
Descriptionstring | nullfähigOptional
Antworten
200
OK
400
Bad Request
401
Unauthorized
put
PUT /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection/{safetyInspectionId}?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 215
{
"LandId": 1,
"BuildingId": 1,
"InspectionDate": "2025-10-14",
"InspectionPeriodFrom": "2025-10-14T18:18:28.039Z",
"InspectionPeriodTo": "2025-10-14T18:18:28.039Z",
"AuditorPersonId": 1,
"ProtocolFileId": 1,
"Description": "text"
}
{
"Id": 1,
"IdNum": "text"
}
Verkehrssicherung löschen
Version 1.2
delete
Autorisierungen
Pfadparameter
safetyInspectionIdinteger · int32Erforderlich
Abfrageparameter
apiKeystringErforderlich
Antworten
200
OK
400
Bad Request
401
Unauthorized
delete
DELETE /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection/{safetyInspectionId}?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"Id": 1,
"IdNum": "text"
}
Verkehrssicherung Ergebnis anlegen
Version 1.2
post
Autorisierungen
Pfadparameter
safetyInspectionIdinteger · int32Erforderlich
Abfrageparameter
apiKeystringOptional
Rumpf
Namestring | nullfähigOptional
UnavailablebooleanOptional
IsOperativebooleanOptional
InImminentDangerbooleanOptional
CommissionIdinteger · int32 | nullfähigOptional
Commentstring | nullfähigOptional
Antworten
201
Created
Antwortinteger · int32
400
Bad Request
401
Unauthorized
post
POST /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection/{safetyInspectionId}/Result HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"Name": "text",
"Unavailable": true,
"IsOperative": true,
"InImminentDanger": true,
"CommissionId": 1,
"Comment": "text"
}
1
Verkehrssicherung Ergebnis bearbeiten
Version 1.2
put
Autorisierungen
Pfadparameter
safetyInspectionIdinteger · int32Erforderlich
safetyInspectionResultIdinteger · int32Erforderlich
Abfrageparameter
apiKeystringOptional
Rumpf
Namestring | nullfähigOptional
UnavailablebooleanOptional
IsOperativebooleanOptional
InImminentDangerbooleanOptional
CommissionIdinteger · int32 | nullfähigOptional
Commentstring | nullfähigOptional
Antworten
200
OK
Antwortinteger · int32
400
Bad Request
401
Unauthorized
put
PUT /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection/{safetyInspectionId}/Result/{safetyInspectionResultId} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"Name": "text",
"Unavailable": true,
"IsOperative": true,
"InImminentDanger": true,
"CommissionId": 1,
"Comment": "text"
}
1
Verkehrssicherung Ergebnis löschen
Version 1.2
delete
Autorisierungen
Pfadparameter
safetyInspectionIdinteger · int32Erforderlich
safetyInspectionResultIdinteger · int32Erforderlich
Abfrageparameter
apiKeystringOptional
Antworten
200
OK
Antwortinteger · int32
400
Bad Request
401
Unauthorized
delete
DELETE /openwowi/v1.2/SafetyInspectionEdit/SafetyInspection/{safetyInspectionId}/Result/{safetyInspectionResultId} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
1
Zuletzt aktualisiert