latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Root Cause Analysis Reports

Get root cause analysis report

get/rootcauseanalysisreports/{id}

Path parameters

idinteger required

ID of the rootCauseAnalysisReport

Query parameters

expandstring[]

To expand multiple fields: expand=main_asset&expand=main_asset_status

Response

Successfully retrieved rootCauseAnalysisReport's information

Example response

{
  "rootCauseAnalysisReport": {
    "id": 4242,
    "organizationId": 1,
    "mainAssetId": 963,
    "mainAssetStatusId": 8123,
    "createdAt": "2022-01-01T00:00:00.000Z",
    "updatedAt": "2022-01-01T00:00:00.000Z",
    "completedAt": "2022-01-01T00:00:00.000Z",
    "incidentStartedAt": "2022-01-01T00:00:00.000Z",
    "incidentEndedAt": "2022-01-01T00:00:00.000Z",
    "incidentDuration": 86400,
    "repairTime": 7200,
    "notes": {
      "text": "Loose coupling caused the conveyor to skip."
    },
    "creatorId": 23494,
    "updaterId": 23494,
    "archivedAt": "2022-01-01T00:00:00.000Z",
    "mainAsset": {
      "id": 963,
      "name": "Forklift",
      "description": "Forklift that is used to to move heavy equipments around the warehouse",
      "parentId": 852,
      "criticalityId": 150,
      "locationId": 852,
      "serialNumber": "000123ABC",
      "createdAt": "2022-01-01T00:00:00.000Z",
      "updatedAt": "2022-01-01T00:00:00.000Z",
      "creatorId": 851
    },
    "mainAssetStatus": {
      "id": 42,
      "customStatus": {
        "label": "Decommissioned",
        "createdAt": "2022-01-01T12:34:56.123Z",
        "updatedAt": "2022-01-01T12:34:56.123Z",
        "deletedAt": "2022-01-01T12:34:56.123Z"
      },
      "customStatusId": 53,
      "status": "OFFLINE",
      "downtimeType": "PLANNED",
      "startedAt": "2022-01-01T12:34:56.123Z",
      "endedAt": "2022-01-01T12:34:56.123Z",
      "description": "Overheated - needs servicing.",
      "createdAt": "2022-01-01T12:34:56.123Z",
      "updatedAt": "2022-01-01T12:34:56.123Z",
      "deletedAt": "2022-01-01T12:34:56.123Z"
    },
    "problems": [
      {
        "id": 7311,
        "category": {
          "id": 902,
          "label": "Mechanical Failure"
        },
        "stepOptions": [
          {
            "id": 5018,
            "label": "Worn bearings"
          }
        ],
        "notes": {
          "text": "Loose coupling caused the conveyor to skip."
        }
      }
    ]
  }
}