Mängel

Die Endpunkte dieser Endpunktberechtigung finden Sie im Controller "DefectEdit".

Mängel anlegen

Version 1.2


post
Authorizations
Query parameters
apiKeystringRequired
Body
Namestring | nullableOptional
Descriptionstring | nullableOptional
IsSolvedbooleanOptional
RemediationRefusedbooleanOptional
DueUntilstring · date | nullableOptionalExample: 2025-06-27Pattern: \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-27Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
Responses
201
Created
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-27Pattern: \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-27Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
Responses
200
OK
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
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