InspectionDetailResponse
data object
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[]
sizes object[]
questionnaire object
questions object[]
validation objectrequired
Maps to BookingQuestion.required (same as AMS
questionnaire.questions[].validation.mandatory).
{
"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": {
"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,
"sizes": [
{
"size": "string",
"measurement": "string"
}
]
}
]
}
]
},
"questionnaire": {
"questions": [
{
"id": "string",
"description": "string",
"questionType": "string",
"options": [
{}
],
"validation": {
"mandatory": true
}
}
]
}
}
}