Get Asset

/assets/:id

Get a single existing asset.

Get Asset [GET]

Authorization: Admin, Web, Mobile

Parameters

  • includeFormsCount boolean  (optional) Default:falseExample: includeFormsCount=true

    Whether to include the key for the number of forms within the asset.

  • includeFormsCompletedCount boolean  (optional) Default:falseExample: includeFormsCompletedCount=true

    Whether to include the key for the number of forms completed within the asset.

  • includePrioritiesCount boolean  (optional) Default:falseExample: includePrioritiesCount=true

    Whether to include the key for the number of high, medium, and low priorities within the forms on the asset.

  • includePrioritiesResolvedCount boolean  (optional) Default:falseExample: includePrioritiesResolvedCount=true

    Whether to include the key for the number of resolved priorities within the forms on the asset.

  • includeAnswerFilesCount boolean  (optional) Default:falseExample: includeAnswerFilesCount=true

    Whether to include the key for the number of files (photos) on the answers within the forms on the asset.

Response 200

Body
{
  "item": {
    "id": 522540,
    "guid": "434b89eb-0923-4f32-a5f5-4e382d7d473b",
    "id1": "PO90819",
    "id2": "GC908",
    "accountId": 19820,
    "locationId": 60092,
    "description": "14' Gantry Crane",
    "createdAt": "2014-02-28T17:30:42.56",
    "createdBy": {
      "id": 1011,
      "firtName": "Homer",
      "lastName": "Simpson"
    },
    "lat": 33.785882,
    "lon": -84.394221,
    "latLonDate": "2014-02-28T17:30:42.56",
    "latLonAccuracyInMeters": 10,
    "urgentNote": "cut power",
    "statusId": 897,
    "status": "In Service",
    "rowStatus": 1,
    "areaName": "Base 3",
    "modifiedAt": "2014-02-28T17:30:42.883",
    "account": {
      "id": 9082,
      "num": "1001",
      "name": "Springfield Nuclear Plant",
      "nameNum": "Springfield Nuclear Plant:1001",
      "address": "123 Peachtree Street",
      "rowStatus": 1,
      "city": "Springfield",
      "state": null,
      "zip": "30022",
      "country": "US"
    },
    "location": {
      "id": 5093,
      "name": "Ground Floor",
      "num": "908"
    },
    "classification": {
      "id": 152,
      "name": "Gantry Cranes",
      "rowStatus": 1,
      "imageUrlSmall": "https://archive.inspectall.com/...Small",
      "categoryId": 9088,
      "id1Name": "Identifier",
      "id1Required": true,
      "id2Name": "TagID2",
      "id2Active": true,
      "statusActive": true,
      "urgentNoteActive": true,
      "defaultReport": "ItemDetailReport",
      "category": {
        "id": 17,
        "name": "Cranes",
        "rowStatus": 1
      }
    },
    "attributes": [
      {
        "id": 37862,
        "classAttributeId": 4478,
        "value": "ACME"
      },
      {
        "id": 37863,
        "classAttributeId": 4479,
        "value": 14,
        "unitOfMeasure": "feet"
      },
      {
        "id": 39082,
        "classAttributeId": 4480,
        "value": "09/15/2014"
      }
    ],
    "classificationId": 897,
    "areaId": "434b89eb-0923-4f32-a5f5-4e382d7d473b"
  }
}

Still need help? Contact Us Contact Us