InspectionDetail
Inspection UUID. bookingId equals inspectionId.
Aggregated inspection status (single enum string).
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.
Aborted - Order not readyOmitted unless an actual inspection date has been recorded.
expectedDate objectrequired
Expected inspection date (ISO-8601).
Expected shipment date (ISO-8601).
The organization which confirmed the booking. Returns null when not
confirmed.
Computed from the confirm activity timestamp. Omitted when there is
no confirm activity.
The user who created the booking.
assignedToOrganization objectnullable
The organization the inspection is assigned to. Null/absent when there is no assignment.
assignedToInspector objectnullable
The inspector the inspection is assigned to. Null/absent when there is no assignment.
clientInformation objectrequired
Province/state of the linked local organization. null unless a
local organization is linked.
WyomingPostal code of the linked local organization. null unless a local
organization is linked.
82052ISO alpha-2 country code.
contact objectnullable
Key contact for an organization, including its identifier. The parent
contact property is null when no contact is on file.
contact_idContact Name[email protected]12345678901234567890vendorInformation objectrequired
Province/state of the linked local organization. null unless a
local organization is linked.
WyomingPostal code of the linked local organization. null unless a local
organization is linked.
82052ISO alpha-2 country code.
contact objectnullable
Key contact for an organization, including its identifier. The parent
contact property is null when no contact is on file.
contact_idContact Name[email protected]12345678901234567890factoryInformation objectrequired
Province/state of the linked local organization. null unless a
local organization is linked.
WyomingPostal code of the linked local organization. null unless a local
organization is linked.
82052ISO alpha-2 country code.
contact objectnullable
Key contact for an organization, including its identifier. The parent
contact property is null when no contact is on file.
contact_idContact Name[email protected]12345678901234567890locationPicker object
gpsLocation object
The name of the inspection form used.
Workflow name. Null when no workflow is assigned.
inspectionInformation objectrequired
FRIFinal Random InspectionbillingInformation object
contact objectnullable
Key contact for an organization. When included, all contact fields are
present as strings (may be empty). The parent contact property is
null when no contact is on file.
Contact Name[email protected]12345678901234567890detailOfPIPO object
pipoInformation object
styles object[]
solids object[]nullable
AQL-derived pull sample size for this item. Only present when the
request passes include_pull_sample=1 and the workmanship step is
configured with an AQL table.
measurements object[]
Tolerance mode of the POM. Null means absolute.
Possible values: [percentage, absolute]
Name of the measurement chart type the POM is tagged to (e.g. "Body Chart"). Null when the POM has no chart type.
sizes object[]
questionnaire object
questions object[]
validation objectrequired
Maps to BookingQuestion.required (same as AMS
questionnaire.questions[].validation.mandatory).
cqps object[]
Critical Quality Points (CQPs) recorded on the inspection. Which inspection types
carry CQPs depends on the CQP form configuration.
Present only when the request passes include_cqps=1.
- Flat list across all inspected products; each item carries its
product. - Ordered by product
customId, then capture order. []when the inspection has no CQPs.
reviewed once the CQP was marked as reviewed during conduction.
Possible values: [pending, reviewed]
product objectrequired
The inspected style or item the CQP belongs to, identified by entityType and customId.
pdt (style) or itm (item).
STY-2026-0417Blue HoodieNeedle controlConfirm needle-control procedure.CQP type (the requirement calls it severity). Known values: safety, functional,
regulation.
safetymitigations object[]nullable
product_spec, material, production_process.
material_preparation, cutting, forming_molding, printing_dyeing, sewing,
assembly, surface_finishing, washing, finishing, labeling, packing, other.
As stored. Known keys listed.
verifications object[]nullable
pre_production, during_production, post_production.
certified_lab_test, process_verification_checklist, inspection.
third_party, brand_retailer, supplier_factory.
As stored. Known keys listed.
Self-assessment note by the supplier / factory.
attachments object[]nullable
Attachments of the self-assessment note.
A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.
reviewNote objectnullable
Review note recorded by the reviewer during conduction. As stored.
attachments object[]nullable
A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.
Review note recorded by the reviewer during conduction. As stored.
{
"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": {
"id": "string",
"name": "string",
"email": "string",
"employeeId": "string"
},
"clientInformation": {
"organizationId": "string",
"localOrganizationId": "string",
"localOrganizationIds": [
"string"
],
"localState": "Wyoming",
"localPostalCode": "82052",
"name": "string",
"address": "string",
"city": "string",
"country": "string",
"contact": {
"contactId": "contact_id",
"name": "Contact Name",
"mobileNumber": "1234567890",
"telephoneNumber": "1234567890"
}
},
"vendorInformation": {
"organizationId": "string",
"localOrganizationId": "string",
"localOrganizationIds": [
"string"
],
"localState": "Wyoming",
"localPostalCode": "82052",
"name": "string",
"address": "string",
"city": "string",
"country": "string",
"contact": {
"contactId": "contact_id",
"name": "Contact Name",
"mobileNumber": "1234567890",
"telephoneNumber": "1234567890"
}
},
"factoryInformation": {
"organizationId": "string",
"localOrganizationId": "string",
"localOrganizationIds": [
"string"
],
"localState": "Wyoming",
"localPostalCode": "82052",
"name": "string",
"address": "string",
"city": "string",
"country": "string",
"contact": {
"contactId": "contact_id",
"name": "Contact Name",
"mobileNumber": "1234567890",
"telephoneNumber": "1234567890"
}
},
"locationPicker": {
"address": "string",
"gpsLocation": {
"latitude": "string",
"longitude": "string"
}
},
"inspectionForm": "string",
"workflowName": "string",
"inspectionInformation": {
"typeOfInspection": "FRI",
"typeOfInspectionName": "Final Random Inspection"
},
"tags": [
"string"
],
"billingInformation": {
"name": "string",
"address": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string",
"contact": {
"name": "Contact Name",
"mobileNumber": "1234567890",
"telephoneNumber": "1234567890"
}
},
"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",
"quantity": 0,
"availableQuantity": 0,
"cartonQuantity": 0,
"availableCartonQuantity": 0,
"casePackQuantity": 0,
"itemPullSample": 0
}
],
"assortments": [
{}
],
"measurements": [
{
"caption": "string",
"pom": "string",
"unit": "string",
"isPomCritical": true,
"tolerance": 0,
"toleranceLower": 0,
"toleranceUpper": 0,
"toleranceType": "percentage",
"chartType": "string",
"sizes": [
{
"size": "string",
"measurement": "string"
}
]
}
]
}
]
},
"questionnaire": {
"questions": [
{
"id": "string",
"description": "string",
"questionType": "string",
"options": [
{}
],
"validation": {
"mandatory": true
}
}
]
},
"cqps": [
{
"status": "pending",
"product": {
"entityType": "string",
"customId": "STY-2026-0417",
"name": "Blue Hoodie"
},
"name": "Needle control",
"description": "Confirm needle-control procedure.",
"cqpType": "safety",
"mitigations": [
{
"controlLayerType": "string",
"productionStep": "string",
"specification": "string",
"productionControlCheck": "string",
"qualityControlCheck": "string"
}
],
"verifications": [
{
"stageType": "string",
"methodType": "string",
"inspectionTypes": [
"string"
],
"acceptanceCriteria": "string",
"assignedTo": "string"
}
],
"comment": "string",
"attachments": [
{
"fileUrl": "string",
"fileName": "string",
"fileContentType": "string"
}
],
"reviewNote": {
"comment": "string",
"attachments": [
{
"fileUrl": "string",
"fileName": "string",
"fileContentType": "string"
}
]
}
}
]
}