Skip to main content

Get Lab Test Package Detail

GET 

https://sight.inspectorio.com/api/v1/lab-tests/test-packages/:package_id

Get Lab Test Package Detail

Request​

Path Parameters

    package_id stringrequired

    Package ID

Query Parameters

    dataProvider string

    Data Provider ID

Responses​

Get Lab Test Package Detail

Schema
    data object
    idstring

    Package ID

    Example: PKG-001
    namestring

    Package name

    Example: Physical Testing Package
    descriptionstring

    Package description

    Example: Standard physical testing package for apparel
    revisionstring

    Package revision

    Example: Rev 2.1
    enabledboolean

    Package enabled status

    Example: true
    labTestTypes object[]

    Lab test types

  • Array [
  • shortNamestring

    Lab test type short name

    Example: PHY
    fullNamestring

    Lab test type full name

    Example: Physical Testing
  • ]
  • productLines object[]

    Product lines

  • Array [
  • idstring

    Product line ID

    Example: PL-001
    namestring

    Product line name

    Example: Apparel
  • ]
  • labTestProperties object[]

    Lab test properties

  • Array [
  • idstring

    Test property ID

    Example: TP-001
    namestring

    Test property name

    Example: Color Fastness to Washing
    standardstring

    Test property standard

    Example: ISO 105-C06
    revisionstring

    Test property revision

    Example: A2S
    revisionYearintegernullable

    Test property revision year

    Example: 2021
    validityDurationintegernullable

    Test property validity duration

    Example: 365
    conditionsinteger

    Number of conditions

    Example: 5
  • ]
  • viewingPermissionsstringnullable

    Viewing permissions

    Possible values: [all_orgs, selected_orgs]

    Example: selected_orgs
    selectedOrgs object[]nullable

    Selected organizations

  • Array [
  • namestring

    Organization name

    Example: Acme Testing Labs
  • ]

Authorization: apiKey

name: apiKeytype: apiKeyin: header
curl -L 'https://sight.inspectorio.com/api/v1/lab-tests/test-packages/:package_id' \
-H 'Accept: application/json' \
-H 'apiKey: <apiKey>'
Request Collapse all
Base URL
https://sight.inspectorio.com
Auth
Parameters
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!