back

Advanced Search Assessments

Scope: search_assessments
App Type: Agency
Authorization Type: Access token
Url: v3/search/assessments?lang={lang}&offset={offset}&limit={limit}
HTTP Method: POST

Request Information

Parameters

application/json

{
  "filter": {
    "assessmentId": "sample string 1",
    "assessmentTypeId": "sample string 2",
    "assessmentStatusId": "sample string 3",
    "assetId": "sample string 4",
    "assetIdDisplay": "sample string 5",
    "assetTypeId": "sample string 6",
    "assetName": "sample string 7",
    "scheduledDateFrom": "sample string 8",
    "scheduledDateTo": "sample string 9",
    "inspectionDateFrom": "sample string 10",
    "inspectionDateTo": "sample string 11",
    "departmentId": "sample string 12",
    "inspectorId": "sample string 13"
  }
}

Response Information

application/json

{
  "assetCAs": [
    {
      "id": "sample string 7",
      "display": "sample string 8",
      "asset": {
        "id": "sample string 1",
        "display": "sample string 2"
      },
      "status": {
        "id": "sample string 2",
        "display": "sample string 3",
        "name": "sample string 1"
      },
      "type": {
        "id": "sample string 1",
        "display": "sample string 2"
      },
      "scheduleDate": "sample string 1",
      "scheduleTime": "sample string 2",
      "inspectionDate": "sample string 3",
      "inspectionTime": "sample string 4",
      "department": {
        "id": "sample string 8",
        "display": "sample string 9",
        "agencyCode": "sample string 1",
        "bureauCode": "sample string 2",
        "divisionCode": "sample string 3",
        "sectionCode": "sample string 4",
        "groupCode": "sample string 5",
        "subgroupCode": "sample string 6",
        "subgroupCodeDesc": "sample string 7",
        "staff": [
          {
            "id": "sample string 12",
            "display": "sample string 13",
            "firstName": "sample string 1",
            "lastName": "sample string 2",
            "auditStatus": "sample string 3",
            "serviceProviderCode": "sample string 4",
            "userID": "sample string 5",
            "agencyCode": "sample string 6",
            "bureauCode": "sample string 7",
            "divisionCode": "sample string 8",
            "sectionCode": "sample string 9",
            "groupCode": "sample string 10",
            "officeCode": "sample string 11"
          }
        ]
      },
      "staffPerson": {
        "id": "sample string 12",
        "display": "sample string 13",
        "firstName": "sample string 1",
        "lastName": "sample string 2",
        "auditStatus": "sample string 3",
        "serviceProviderCode": "sample string 4",
        "userID": "sample string 5",
        "agencyCode": "sample string 6",
        "bureauCode": "sample string 7",
        "divisionCode": "sample string 8",
        "sectionCode": "sample string 9",
        "groupCode": "sample string 10",
        "officeCode": "sample string 11"
      },
      "timeSpent": "sample string 5",
      "comment": "sample string 6"
    }
  ],
  "page": {
    "totalRows": 1,
    "hasMore": true
  }
}