CM Faults

CM Fault’s Status

GET /_cm/faults

Description Fetch the boolean value of “Looseness”, “Misalignment”, “Imbalance” for a Asset, which represents the fault in asset.

Http Method GET

ENDPOINT /_cm/faults

Request Header Authorization Basic <token>

Request Parameters

URL Parameters

  • asset_id (string, required): The ID of the associated asset.

Sample Request

curl --location 'https://app.4pointx.com/_cm/faults?asset_id=547618d4-c481-48e5-b2a0-ae810a94883a' \
--header 'Authorization: Basic <token>'

Sample Response

Success

{
  "Looseness": false,
  "Misalignment": false,
  "Imbalance": false
}

Error

{
  "error": {
    "status": 401,
    "message": "Unauthorized access to module by general-user"
  }
}
{
  "error": {
    "status": 400,
    "message": "Invalid Asset Id"
  }
}