Mängel

Mängel abrufen

Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.

Version 1.2


GET/openwowi/v1.2/CommercialInventory/Defects
Authorization
Query parameters
Response

OK

Body
Idinteger (int32)
Namenullable string
IdNumnullable string
Descriptionnullable string
IsSolvedboolean
RemediationRefusedboolean
InsertAutomaticResubmissionboolean
DueUntilnullable string (date)
Example: "2025-02-05"
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
TimeCreatenullable string (date)
Example: "2025-02-05"
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
TimeDamagenullable string (date)
Example: "2025-02-05"
Pattern: \d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
EconomicUnitnullable all of
Buildingnullable all of
UseUnitnullable all of
Componentnullable all of
Facilitynullable all of
PreviousDefectnullable all of
Commissionnullable all of
Handovernullable all of
RestorationDutynullable all of
Request
const response = await fetch('/openwowi/v1.2/CommercialInventory/Defects', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Id": 1,
    "Name": "text",
    "IdNum": "text",
    "Description": "text",
    "IsSolved": true,
    "RemediationRefused": true,
    "InsertAutomaticResubmission": true,
    "DueUntil": "2025-02-05",
    "TimeCreate": "2025-02-05",
    "TimeDamage": "2025-02-05",
    "EconomicUnit": {
      "Id": 1,
      "IdNum": "text",
      "Name": "text",
      "Location": "text"
    },
    "Building": {
      "Id": 1,
      "IdNum": "text"
    },
    "UseUnit": {
      "Id": 1,
      "UseUnitNumber": "text"
    },
    "Component": {
      "Id": 1,
      "Name": "text"
    },
    "Facility": {
      "Id": 1,
      "Name": "text"
    },
    "PreviousDefect": {
      "Id": 1,
      "IdNum": "text"
    },
    "Commission": {
      "Id": 1,
      "IdNum": "text",
      "Code": "text",
      "RecordingDate": "2025-02-05",
      "ReleaseDate": "2025-02-05",
      "PlacingDate": "2025-02-05",
      "AcceptanceDate": "2025-02-05",
      "CompletionDate": "2025-02-05",
      "CommissionType": {
        "Id": 1,
        "Code": "text"
      },
      "CommissionStatus": {
        "Id": 1,
        "Code": "text"
      }
    },
    "Handover": {
      "Id": 1,
      "IdNum": "text"
    },
    "RestorationDuty": {
      "Id": 1,
      "Type": "text",
      "Code": "text"
    }
  }
]

Last updated