Skip to main content
GET
/
qualityControl
/
{id}
Get quality control entry
curl --request GET \
  --url http:localhost:3000/v2/qualityControl/{id} \
  --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

id
string<objectid>
required

Quality control entry ID

Response

Quality control entry details

Quality control assessment for objects and rooms including ratings, comments, and detailed room checks Base class for all entities in the system, providing common properties and methods.

rating
number
required

Overall quality rating (0.0 to 5.0)

Required range: 0 <= x <= 5
Example:

4.5

objectId
string<objectid>
required

ID of the object being assessed

_id
string<objectid>

Unique identifier of the entity Unique identifier for the quality control entry

number
integer

Unique number of the entity, used for identification

companyId
string<objectid>

The ID of the company this entity belongs to

status
object

Entity Status information

comment
string | null

General comments about the quality control assessment

objectManagerId
string<objectid>

ID of the object manager who performed the assessment

verified
boolean
default:false

Whether the quality control has been verified

roomChecks
object[]

Detailed room-by-room quality checks

images
string<uri>[]

General images for this quality control