Mängel
Die Endpunkte dieser Endpunktberechtigung finden Sie im Controller "DefectEdit".
Um auf die Daten der Finanzierungen über die API zugreifen zu können, muss die Endpunktberechtigung "Mängel bearbeiten" aktiviert werden.
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
Mängel anlegen
Version 1.2
post
Authorizations
Query parameters
apiKeystringRequired
Body
Namestring | nullableOptional
Descriptionstring | nullableOptional
IsSolvedbooleanOptional
RemediationRefusedbooleanOptional
DueUntilstring · date | nullableOptionalExample:
2025-06-27
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
EconomicUnitIdinteger · int32Optional
UseUnitIdinteger · int32 | nullableOptional
BuildingIdinteger · int32 | nullableOptional
ComponentIdinteger · int32 | nullableOptional
FacilityIdinteger · int32 | nullableOptional
HandoverIdinteger · int32 | nullableOptional
CommissionIdinteger · int32 | nullableOptional
RestorationDutyIdinteger · int32 | nullableOptional
TimeDamagestring · date | nullableOptionalExample:
2025-06-27
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
Responses
201
Created
400
Bad Request
401
Unauthorized
post
POST /openwowi/v1.2/DefectEdit/Defect?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"Name": "text",
"Description": "text",
"IsSolved": true,
"RemediationRefused": true,
"DueUntil": "2025-06-27",
"EconomicUnitId": 1,
"UseUnitId": 1,
"BuildingId": 1,
"ComponentId": 1,
"FacilityId": 1,
"HandoverId": 1,
"CommissionId": 1,
"RestorationDutyId": 1,
"TimeDamage": "2025-06-27"
}
{
"Id": 1,
"IdNum": "text"
}
Mängel ändern
Version 1.2
put
Authorizations
Path parameters
defectIdinteger · int32Required
Query parameters
apiKeystringRequired
Body
Namestring | nullableOptional
Descriptionstring | nullableOptional
IsSolvedbooleanOptional
RemediationRefusedbooleanOptional
DueUntilstring · date | nullableOptionalExample:
2025-06-27
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
EconomicUnitIdinteger · int32Optional
UseUnitIdinteger · int32 | nullableOptional
BuildingIdinteger · int32 | nullableOptional
ComponentIdinteger · int32 | nullableOptional
FacilityIdinteger · int32 | nullableOptional
HandoverIdinteger · int32 | nullableOptional
CommissionIdinteger · int32 | nullableOptional
RestorationDutyIdinteger · int32 | nullableOptional
TimeDamagestring · date | nullableOptionalExample:
2025-06-27
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
Responses
200
OK
400
Bad Request
401
Unauthorized
put
PUT /openwowi/v1.2/DefectEdit/Defect/{defectId}?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"Name": "text",
"Description": "text",
"IsSolved": true,
"RemediationRefused": true,
"DueUntil": "2025-06-27",
"EconomicUnitId": 1,
"UseUnitId": 1,
"BuildingId": 1,
"ComponentId": 1,
"FacilityId": 1,
"HandoverId": 1,
"CommissionId": 1,
"RestorationDutyId": 1,
"TimeDamage": "2025-06-27"
}
{
"Id": 1,
"IdNum": "text"
}
Mängel löschen
Version 1.2
delete
Authorizations
Path parameters
defectIdinteger · int32Required
Query parameters
apiKeystringRequired
Responses
200
OK
400
Bad Request
401
Unauthorized
delete
DELETE /openwowi/v1.2/DefectEdit/Defect/{defectId}?apiKey=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"Id": 1,
"IdNum": "text"
}
Enumerationen für RestorationDutyId
ID
Code
Deutsch
1
None
Keine
2
Renter
Mieter
3
Owner
Vermieter
4
FollowUpRenter
Folgemieter
5
PreviousRenter
Vormieter
Last updated