GET
/
qualityControl
/
object
/
{objectId}
List quality control by object
curl --request GET \
  --url http:localhost:3000/v2/qualityControl/object/{objectId} \
  --header 'x-API-Key: <api-key>'
[
  {
    "_id": "<string>",
    "number": 123,
    "companyId": "<string>",
    "status": {
      "status": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedAt": "2023-11-07T05:31:56Z",
      "lastModifiedBy": "<string>"
    },
    "rating": 4.5,
    "comment": "<string>",
    "objectId": "<string>",
    "objectManagerId": "<string>",
    "verified": false,
    "roomChecks": [
      {
        "roomId": "<string>",
        "levelId": "<string>",
        "comment": "<string>",
        "serviceChecks": [
          {
            "serviceTypeId": "<string>",
            "evaluation": 123,
            "evaluationType": "<string>",
            "rated": true
          }
        ],
        "controlImages": [
          {
            "imageURL": "<string>",
            "comment": "<string>",
            "label": "<string>"
          }
        ]
      }
    ],
    "images": [
      "<string>"
    ]
  }
]

Authorizations

x-API-Key
string
header
required

Path Parameters

objectId
string<objectid>
required

Object ID

Query Parameters

limit
integer
default:100

Maximum number of items to return

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of items to skip for pagination

Required range: x >= 0
sort
string

Sort field and direction (e.g. number:1, status.createdAt:-1)

Example:

"number:1"

Response

200
application/json

List of quality control entries

The response is of type Quality Control · object[].