BookingDetailResponse
actualInspectionDatedate-time
Actual inspection date
Example:
2021-06-14T04:02:57.849000+00:00
bookingIdstring
Unique identifier of the booking
Example:
123456-c4a6-4fdb-b01f-2fe663be4460
bookingTypestring
Booking type e.g normal
Example:
normal
caseNumberstring
Case number of the booking defined by a configuration rule
Example:
3269012021-06-10ABC
clientInformation object
confirmedBystring
The organization which confirmed the booking
Example:
Acme Corp
confirmedDatedate-time
Date when the booking was confirmed
Example:
2021-05-20T09:44:23.727000+00:00
createdBystring
The user who created the booking
Example:
John Doe
createdDatedate-time
Creation date of the booking
Example:
2021-06-03T04:02:57.849000+00:00
detailOfPIPO object
expectedDate object
factoryInformation object
fromOrganizationIdstring
Organization ID where the booking is created
Example:
F001122
fromOrganizationNamestring
Example:
Padme Inc
inspectionInformation object
locationPicker object
questionnaire object
remarkstring
Remark on the booking
Example:
Updated to reflect changes
sampleSizeinteger
Sample size of inspection
Example:
0
serviceTypestring
Service Type of the inspection
Example:
TPR
statusstring
Booking status
Example:
NEW
toOrganizationIdstring
Organization ID which the booking is booked to
Example:
C112233
toOrganizationNamestring
Organization name which the booking is booking to
Example:
Lex Corp
unitstring
Unit used in inspections e.g piece
Example:
piece
updatedDatedate-time
Last updated date of the booking
Example:
2021-06-03T04:02:57.849000+00:00
vendorInformation object
workflowNamestringnullable
Workflow name used for the booking
Example:
DUPRO Apparel workflow
BookingDetailResponse
{
"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@email.com",
"mobileNumber": "1234567890",
"name": "Contact Name",
"telephoneNumber": "1234567890"
},
"country": "US",
"localOrganizationId": "F323333",
"localOrganizationIds": [
"F323333",
"F242146"
],
"name": "name",
"organizationId": "org_id"
},
"confirmedBy": "Acme Corp",
"confirmedDate": "2021-05-20T09:44:23.727000+00:00",
"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@email.com",
"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@email.com",
"mobileNumber": "1234567890",
"name": "Contact Name",
"telephoneNumber": "1234567890"
},
"country": "US",
"localOrganizationId": "F323333",
"localOrganizationIds": [
"F323333",
"F242146"
],
"name": "name",
"organizationId": "org_id"
},
"workflowName": "DUPRO Apparel workflow"
}