Skip to content

List test components for lab

Request

Retrieve all test components (results) for the specified lab.

Security
PartnerApiKey and PartnerOAuth
Path
labIdinteger, (int64)required
accountIdinteger, (int64)required

Account identifier

locationIdinteger, (int64)required

Location identifier

Query
panelIdinteger, (int64)

Filter by panel ID. When set, returns only components under this panel. When omitted, no panel filter is applied.

packetIdinteger, (int64)

Filter by packet ID. When set, returns only components on this packet or under panels tied to this packet.

abnormalFlagstring(?i)BELOW_NORMAL|WITHIN_NORMAL|ABOVE_NORMAL

Filter by abnormal flag

Enum:"BELOW_NORMAL""WITHIN_NORMAL""ABOVE_NORMAL"
cursorstring, [ 0 .. 2048 ] characters

Pagination cursor from previous response

limitinteger, (int32), [ 1 .. 1000 ]

Number of results per page (max 1000)

Default:20
Example:limit=20
curl -i -X GET \
  'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/lab/{labId}/test-component?panelId=0&packetId=0&abnormalFlag=BELOW_NORMAL&cursor=string&limit=20' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Test components retrieved successfully

Bodyapplication/json
componentsArray of objects(TestComponentDTO)

List of test components

nextCursorstring

Opaque cursor for fetching the next page. Null if no more results.

Response
{ "components": [ {} ], "nextCursor": "string" }