Skip to main content

InspectionDetailResponse

data object
inspectionIduuid

Inspection UUID. bookingId equals inspectionId.

caseNumberstring
statusstring

Aggregated inspection status (single enum string).

reasonCodeReasonCodenullable

Inspection reason code, formatted as <Action> - <reason> where Action is one of Aborted / Waived / Rejected / Split / Reset. Resolved from the configured reason option answer when present, otherwise the free-text reason. null when no reason code applies to the inspection.

Example: Aborted - Order not ready
createdDatedate-timenullable
updatedDatedate-timenullable
actualInspectionDatedate-timenullable
expectedDate object
inspectionDatedate-timenullable

Expected inspection date (ISO-8601).

shipmentDatedate-timenullable

Expected shipment date (ISO-8601).

confirmedBystringnullable
confirmedDatedate-timenullable

Computed from the confirm activity timestamp; absent when there is no confirm activity.

createdBystringnullable

Inspection creator (creator name).

fromOrganizationIdstringnullable
fromOrganizationNamestringnullable
toOrganizationIdstringnullable
toOrganizationNamestringnullable
assignedToOrganization objectnullable

The organization the inspection is assigned to. Null/absent when there is no assignment.

idstringnullable
namestringnullable
localOrganizationIdsstring[]nullable
assignedToInspector objectnullable

The inspector the inspection is assigned to. Null/absent when there is no assignment.

systemIdintegernullable
namestringnullable
emailstringnullable
employeeIdstringnullable
clientInformation object
organizationIdstringnullable
localOrganizationIdstringnullable
localOrganizationIdsstring[]nullable
namestringnullable
addressstringnullable
citystringnullable
countrystringnullable

ISO alpha-2 country code.

contact object
namestringnullable
emailstringnullable
mobileNumberstringnullable
telephoneNumberstringnullable
vendorInformation object
organizationIdstringnullable
localOrganizationIdstringnullable
localOrganizationIdsstring[]nullable
namestringnullable
addressstringnullable
citystringnullable
countrystringnullable

ISO alpha-2 country code.

contact object
namestringnullable
emailstringnullable
mobileNumberstringnullable
telephoneNumberstringnullable
factoryInformation object
organizationIdstringnullable
localOrganizationIdstringnullable
localOrganizationIdsstring[]nullable
namestringnullable
addressstringnullable
citystringnullable
countrystringnullable

ISO alpha-2 country code.

contact object
namestringnullable
emailstringnullable
mobileNumberstringnullable
telephoneNumberstringnullable
locationPicker object
addressstringnullable
gpsLocation object
latitudestringnullable
longitudestringnullable
inspectionFormstringnullable
workflowNamestringnullable
inspectionInformation object
typeOfInspectionstringnullable
typeOfInspectionNamestringnullable
tagsstring[]
billingInformation object
organizationIdstringnullable
localOrganizationIdsstring[]nullable
namestringnullable
addressstringnullable
citystringnullable
statestringnullable
postalCodestringnullable
countrystringnullable
contact object
namestringnullable
emailstringnullable
mobileNumberstringnullable
telephoneNumberstringnullable
detailOfPIPO object
pipoInformation object
poNumberstringnullable
opoNumberstringnullable
poTypesstring[]
productLineIdstringnullable
productLineNamestringnullable
styles object[]
  • Array [
  • styleIdstringnullable
    styleNamestringnullable
    productCategoryIdstringnullable
    productCategoryNamestringnullable
    solids object[]
  • Array [
  • idstringnullable
    itemIdstringnullable
    colorstringnullable
    sizestringnullable
    brandIdstringnullable
    brandNamestringnullable
    classIdstringnullable
    departmentIdstringnullable
    shipmentTermstringnullable
    quantityintegernullable
    availableQuantityintegernullable
    cartonQuantityintegernullable
    availableCartonQuantityintegernullable
    casePackQuantityintegernullable
  • ]
  • assortmentsobject[]
    measurements object[]
  • Array [
  • captionstringnullable
    pomstringnullable
    unitstringnullable
    isPomCriticalbooleannullable
    tolerancenumbernullable
    toleranceLowernumbernullable
    toleranceUppernumbernullable
    sizes object[]
  • Array [
  • sizestringnullable
    measurementstringnullable
  • ]
  • ]
  • ]
  • steps object[]
  • Array [
  • idstring
    namestring
    statusstringnullable
  • ]
  • itemPullSample object[]
  • Array [
  • itemIdstring
    sampleSizeinteger
  • ]
  • questionnaire object
    questions object[]
  • Array [
  • idstring
    descriptionstringnullable
    questionTypestring
    optionsobject[]
    validation object
    mandatoryboolean
  • ]
  • InspectionDetailResponse
    {
    "data": {
    "inspectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "caseNumber": "string",
    "status": "string",
    "reasonCode": "Aborted - Order not ready",
    "createdDate": "2024-07-29T15:51:28.071Z",
    "updatedDate": "2024-07-29T15:51:28.071Z",
    "actualInspectionDate": "2024-07-29T15:51:28.071Z",
    "expectedDate": {
    "inspectionDate": "2024-07-29T15:51:28.071Z",
    "shipmentDate": "2024-07-29T15:51:28.071Z"
    },
    "confirmedBy": "string",
    "confirmedDate": "2024-07-29T15:51:28.071Z",
    "createdBy": "string",
    "fromOrganizationId": "string",
    "fromOrganizationName": "string",
    "toOrganizationId": "string",
    "toOrganizationName": "string",
    "assignedToOrganization": {
    "id": "string",
    "name": "string",
    "localOrganizationIds": [
    "string"
    ]
    },
    "assignedToInspector": {
    "systemId": 0,
    "name": "string",
    "email": "string",
    "employeeId": "string"
    },
    "clientInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "vendorInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "factoryInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "locationPicker": {
    "address": "string",
    "gpsLocation": {
    "latitude": "string",
    "longitude": "string"
    }
    },
    "inspectionForm": "string",
    "workflowName": "string",
    "inspectionInformation": {
    "typeOfInspection": "string",
    "typeOfInspectionName": "string"
    },
    "tags": [
    "string"
    ],
    "billingInformation": {
    "organizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "state": "string",
    "postalCode": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "detailOfPIPO": {
    "pipoInformation": {
    "poNumber": "string",
    "opoNumber": "string",
    "poTypes": [
    "string"
    ],
    "productLineId": "string",
    "productLineName": "string"
    },
    "styles": [
    {
    "styleId": "string",
    "styleName": "string",
    "productCategoryId": "string",
    "productCategoryName": "string",
    "solids": [
    {
    "id": "string",
    "itemId": "string",
    "color": "string",
    "size": "string",
    "brandId": "string",
    "brandName": "string",
    "classId": "string",
    "departmentId": "string",
    "shipmentTerm": "string",
    "quantity": 0,
    "availableQuantity": 0,
    "cartonQuantity": 0,
    "availableCartonQuantity": 0,
    "casePackQuantity": 0
    }
    ],
    "assortments": [
    {}
    ],
    "measurements": [
    {
    "caption": "string",
    "pom": "string",
    "unit": "string",
    "isPomCritical": true,
    "tolerance": 0,
    "toleranceLower": 0,
    "toleranceUpper": 0,
    "sizes": [
    {
    "size": "string",
    "measurement": "string"
    }
    ]
    }
    ]
    }
    ]
    },
    "steps": [
    {
    "id": "string",
    "name": "string",
    "status": "string"
    }
    ],
    "itemPullSample": [
    {
    "itemId": "string",
    "sampleSize": 0
    }
    ],
    "questionnaire": {
    "questions": [
    {
    "id": "string",
    "description": "string",
    "questionType": "string",
    "options": [
    {}
    ],
    "validation": {
    "mandatory": true
    }
    }
    ]
    }
    }
    }