BookingResponse
Actual inspection date
2021-06-14T04:02:57.849000+00:00Unique identifier of the booking
123456-c4a6-4fdb-b01f-2fe663be4460Booking type e.g normal
normalCase number of the booking defined by a configuration rule
3269012021-06-10ABCclientInformation object
Information on the Brand or Retailer in the booking
addresscitycontact objectnullable
contact_id[email protected]1234567890Contact Name1234567890USLocal Custom ID of the organization
F323333The list of all connected Local Custom IDs of the organization
["F323333","F242146"]nameorg_idThe organization which confirmed the booking
Acme CorpThe user who created the booking
John DoeCreation date of the booking
2021-06-03T04:02:57.849000+00:00detailOfPIPO object
Details of PIPO
pipoInformation object
styles object[]
assortments object[]nullable
Possible values: non-empty
Possible values: >= 0
items object[]required
Possible values: >= 1
Precondition: must be configured in your Inspectorio's account.
brand_1Possible values: non-empty
class_id_1Possible values: non-empty
Possible values: >= 1
department_id_1Possible values: non-empty
shipment_term_1Possible values: non-empty
measurements object[]
Possible values: non-empty
Measurement is critical or not
truePossible values: non-empty
sizes object[]
Size name
Possible values: non-empty
MediumAccepted lower limit between the expected measure (standard) and the actual measure
2.1Accepted upper limit between the expected measure (standard) and the actual measure
2.1Possible values: [inch, cm, mm]
product_category_1Possible values: non-empty
solids object[]nullable
Precondition: must be configured in your Inspectorio's account.
brand_1Possible values: non-empty
Possible values: >= 0
Possible values: >= 0
class_id_1Possible values: non-empty
department_id_1Possible values: non-empty
Possible values: >= 1
shipment_term_1Possible values: non-empty
Possible values: non-empty
style_1expectedDate object
Expected date
2019-07-04T08:00:00.00Z2019-07-04T08:00:00.00ZfactoryInformation object
Information on the factory in the booking
addresscitycontact objectnullable
contact_id[email protected]1234567890Contact Name1234567890USLocal Custom ID of the organization
F323333The list of all connected Local Custom IDs of the organization
["F323333","F242146"]nameorg_idOrganization ID where the booking is created
F001122Padme IncinspectionInformation object
Inspection Information
FRIFinal Random InspectionlocationPicker object
Location picker of where the inspection takes place
gpsLocation object
questionnaire object
questions object[]
List of questions in the questionnaire
List of recursive questions from "questionnaire"
Description of the question
Shipment readinessFree text answer for the question
Not good but acceptableUnique identifier of a question
abc-123options object[]
List of answering options
Unique identifier of the option
Other option text
AcceptableList of recursive questions from "questionnaire"
Indicate whether this option is selected or not
truePreset answer in text
YesQuestion type e.g single select, multiple select
single selectUnique identifier of a response
1a2b3cvalidation objectrequired
Question validation
Indicate if the question is mandatory or not
trueRemark on the booking
Updated to reflect changesSample size of inspection
0Service Type of the inspection
TPRBooking status
NEWOrganization ID which the booking is booked to
C112233Organization name which the booking is booking to
Lex CorpUnit used in inspections e.g piece
pieceLast updated date of the booking
2021-06-03T04:02:57.849000+00:00vendorInformation object
Information on the Vendor or Supplier in the booking
addresscitycontact objectnullable
contact_id[email protected]1234567890Contact Name1234567890USLocal Custom ID of the organization
F323333The list of all connected Local Custom IDs of the organization
["F323333","F242146"]nameorg_id{
"actualInspectionDate": "2021-06-14T04:02:57.849000+00:00",
"bookingId": "123456-c4a6-4fdb-b01f-2fe663be4460",
"bookingType": "normal",
"caseNumber": "3269012021-06-10ABC",
"clientInformation": {
"address": "address",
"city": "city",
"contact": {
"contactId": "contact_id",
"email": "[email protected]",
"mobileNumber": "1234567890",
"name": "Contact Name",
"telephoneNumber": "1234567890"
},
"country": "US",
"localOrganizationId": "F323333",
"localOrganizationIds": [
"F323333",
"F242146"
],
"name": "name",
"organizationId": "org_id"
},
"confirmedBy": "Acme Corp",
"createdBy": "John Doe",
"createdDate": "2021-06-03T04:02:57.849000+00:00",
"detailOfPIPO": {
"pipoInformation": {
"opoNumber": "string",
"poNumber": "string",
"poTypes": [
"string"
],
"productLineId": "string",
"productLineName": "string"
},
"styles": [
{
"assortments": [
{
"assortmentId": "string",
"availableCartonQuantity": 0,
"cartonQuantity": 0,
"items": [
{
"availableQuantity": 0,
"brandId": "brand_1",
"brandName": "string",
"classId": "class_id_1",
"color": "string",
"configuration": 0,
"departmentId": "department_id_1",
"id": "string",
"itemId": "string",
"quantity": 0,
"shipmentTerm": "shipment_term_1",
"size": "string"
}
]
}
],
"measurements": [
{
"caption": "string",
"isPomCritical": "true",
"pom": "string",
"sizes": [
{
"measurement": "string",
"size": "Medium"
}
],
"tolerance": "string",
"toleranceLower": 2.1,
"toleranceUpper": 2.1,
"unit": "inch"
}
],
"productCategoryId": "product_category_1",
"productCategoryName": "string",
"solids": [
{
"availableCartonQuantity": 0,
"availableQuantity": 0,
"brandId": "brand_1",
"brandName": "string",
"cartonQuantity": 0,
"casePackQuantity": 0,
"classId": "class_id_1",
"color": "string",
"departmentId": "department_id_1",
"id": "string",
"itemId": "string",
"quantity": 0,
"shipmentTerm": "shipment_term_1",
"size": "string"
}
],
"styleId": "style_1",
"styleName": "string"
}
]
},
"expectedDate": {
"inspectionDate": "2019-07-04T08:00:00.00Z",
"shipmentDate": "2019-07-04T08:00:00.00Z"
},
"factoryInformation": {
"address": "address",
"city": "city",
"contact": {
"contactId": "contact_id",
"email": "[email protected]",
"mobileNumber": "1234567890",
"name": "Contact Name",
"telephoneNumber": "1234567890"
},
"country": "US",
"localOrganizationId": "F323333",
"localOrganizationIds": [
"F323333",
"F242146"
],
"name": "name",
"organizationId": "org_id"
},
"fromOrganizationId": "F001122",
"fromOrganizationName": "Padme Inc",
"inspectionInformation": {
"typeOfInspection": "FRI",
"typeOfInspectionName": "Final Random Inspection"
},
"locationPicker": {
"address": "string",
"gpsLocation": {
"latitude": "string",
"longitude": "string"
}
},
"questionnaire": {
"questions": [
{
"defaultSubQuestions": [],
"description": "Q1",
"freeTextAnswer": null,
"id": "fe_Bkycc4TIX",
"options": [
{
"id": "yes",
"questions": [
{
"defaultSubQuestions": [],
"description": "Q1-1",
"freeTextAnswer": null,
"id": "fe_ryT8oEpIQ",
"options": [
{
"id": "yes",
"questions": [],
"selected": false,
"text": "Yes"
},
{
"id": "no",
"questions": [],
"selected": false,
"text": "No"
},
{
"id": "na",
"questions": [],
"selected": false,
"text": "N/A"
}
],
"questionType": "yes_no",
"responseId": null,
"validation": {
"mandatory": true
}
},
{
"defaultSubQuestions": [],
"description": "Q1-2",
"freeTextAnswer": null,
"id": "fe_ry-DjNTU7",
"options": [
{
"id": "SklfiNaUQ",
"questions": [],
"selected": false,
"text": "M1"
},
{
"id": "S1EMoNaI7",
"questions": [],
"selected": false,
"text": "M2"
},
{
"id": "HySHj3mDX",
"questions": [],
"selected": false,
"text": "M3"
},
{
"id": "other",
"otherOptionText": null,
"questions": [],
"selected": false,
"text": "Other"
}
],
"questionType": "multi_select",
"responseId": "Sy8zjNaI7",
"validation": {
"mandatory": true
}
}
],
"selected": false,
"text": "Yes"
},
{
"id": "no",
"questions": [],
"selected": true,
"text": "No"
},
{
"id": "na",
"questions": [],
"selected": false,
"text": "N/A"
}
],
"questionType": "yes_no",
"responseId": null,
"validation": {
"mandatory": true
}
},
{
"defaultSubQuestions": [
{
"defaultSubQuestions": [],
"description": "Q2-1",
"freeTextAnswer": null,
"id": "fe_SySvsVTLm",
"options": [
{
"id": "rJFMs4T8Q",
"questions": [],
"selected": false,
"text": "S1"
},
{
"id": "Sy3Mj4TIm",
"questions": [],
"selected": false,
"text": "S2"
},
{
"id": "HkSDnNaLX",
"questions": [],
"selected": false,
"text": "S3"
},
{
"id": "other",
"otherOptionText": "Hello",
"questions": [],
"selected": true,
"text": "Other"
}
],
"questionType": "single_select",
"responseId": "ryCGs4TU7",
"validation": {
"mandatory": true
}
},
{
"defaultSubQuestions": [],
"description": "Q2-2",
"freeTextAnswer": null,
"id": "fe_Syw6NDpPX",
"options": [
{
"id": "yes",
"questions": [],
"selected": false,
"text": "Yes"
},
{
"id": "no",
"questions": [],
"selected": false,
"text": "No"
},
{
"id": "na",
"questions": [],
"selected": false,
"text": "N/A"
},
{
"id": "other",
"otherOptionText": "Hello again",
"questions": [],
"selected": true,
"text": "Other"
}
],
"questionType": "yes_no",
"responseId": null,
"validation": {
"mandatory": true
}
},
{
"defaultSubQuestions": [],
"description": "Q2-3",
"freeTextAnswer": null,
"id": "fe_SJs6Ew6wm",
"options": [
{
"id": "SklfiNaUQ",
"questions": [],
"selected": false,
"text": "M1"
},
{
"id": "S1EMoNaI7",
"questions": [],
"selected": false,
"text": "M2"
},
{
"id": "HySHj3mDX",
"questions": [],
"selected": true,
"text": "M3"
},
{
"id": "other",
"otherOptionText": "free text",
"questions": [],
"selected": true,
"text": "Other"
}
],
"questionType": "multi_select",
"responseId": "Sy8zjNaI7",
"validation": {
"mandatory": true
}
}
],
"description": "Q2",
"freeTextAnswer": "free text",
"id": "fe_ByBZiNTI7",
"options": [],
"questionType": "free_text",
"responseId": null,
"validation": {
"mandatory": true
}
}
]
},
"remark": "Updated to reflect changes",
"sampleSize": 0,
"serviceType": "TPR",
"status": "NEW",
"toOrganizationId": "C112233",
"toOrganizationName": "Lex Corp",
"unit": "piece",
"updatedDate": "2021-06-03T04:02:57.849000+00:00",
"vendorInformation": {
"address": "address",
"city": "city",
"contact": {
"contactId": "contact_id",
"email": "[email protected]",
"mobileNumber": "1234567890",
"name": "Contact Name",
"telephoneNumber": "1234567890"
},
"country": "US",
"localOrganizationId": "F323333",
"localOrganizationIds": [
"F323333",
"F242146"
],
"name": "name",
"organizationId": "org_id"
}
}