JSON Child CitDelivery

Create Task

{
"flow": "citDelivery",
"taskTitle": "Bank Danamon Indonesia - Pos Indonesia, PT",
"taskContent": "Pos Indonesia, PT - (TGR) POS SERANG, Jl. VETERAN NO 3 SERANG",
"taskAssignedTo": "dony3",
"isStrict": false, // tidak harus false
"taskLabel": [
{
"labelName": "Belum Handover",
"labelColour": "#edaa53",
"id": "status" // id harus "status"
}
],
"UserVar": {
"motherCustody": "dony",
"motherDriver": "dony d",
"motherRunCode": "2A",
"motherVehicleNumber": "B 1234 AQ",
"isHandoverMothership": true, // harus true agar user menuju halaman handover mothership
"meetingPoint": "Meeting Point - PT - PSOI SERANG, Jl. VETTITERAN NO 30 SARENG",
"locationId": "002",
"locationIdMothership": "001",
"ETAMothership": "2021-02-17 15:00:00 +0700",
"ETA": "2021-02-17 17:00:00 +0700",
"deliveryAmount": "Rp 100.000.000",
"phoneNumber": "085712362647",
"location": "-6.173110,106.829361",
"QR": "INA02350",
"picClient": "PIC Danamon 1",
"qrValidation": "12345", // Qr Validation
"windowTime": "10:00 - 12:00",
"crewValidasi": [
{
"id": "cs12345",
"crewId": "cs12345",
"crewName": "Crew 1",
"imei": "351580106243286"
},
{
"id": "cs12346",
"crewId": "cs12346",
"crewName": "Crew 2",
"imei": "351581106243284"
},
{
"id": "cs12347",
"crewId": "cs12347",
"crewName": "Crew 3",
"imei": "356602072156022"
},
{
"id": "cs12347",
"crewId": "cs12347",
"crewName": "Crew 4",
"imei": "356602072156030"
}
],
"cpcSignature": [
{
"id": "CPC Cashier",
"listItemContent": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2018%2F12%2F10%2F1544405578336.b95584251f3566c6a7ff.indah.jpg?alt=media",
"listItemSubTitle": "G4S Cash Service I"
},
{
"id": "CPC Suvervisor",
"listItemContent": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2018%2F12%2F10%2F1544405578336.b95584251f3566c6a7ff.indah.jpg?alt=media",
"listItemSubTitle": "G4S Cash Service I"
}
],
"sealDelivery": [
{
"id": "106610750966",
"listItemSubTitle": "106610750966"
},
{
"id": "106610750967",
"listItemSubTitle": "106610750967"
}
],
"sealBag": [
{
"orSeal": "106610750966",
"listItemContent": "0",
"id": "104999808100",
"listItemSubTitle": "IDR",
"listItemChecked": true,
"bagSeal": "104999808100"
},
{
"orSeal": "106610750966",
"listItemContent": "0",
"id": "104999808101",
"listItemSubTitle": "IDR",
"listItemChecked": true,
"bagSeal": "104999808101"
},
{
"orSeal": "106610750967",
"listItemContent": "0",
"id": "104999808102",
"listItemSubTitle": "IDR",
"listItemChecked": true,
"bagSeal": "104999808102"
},
{
"orSeal": "106610750967",
"listItemContent": "0",
"id": "104999808103",
"listItemSubTitle": "IDR",
"listItemChecked": true,
"bagSeal": "104999808103"
}
]
}
}

Ready

{
"taskSharedTo": [
"dony3"
],
"taskStartTime": "2020-11-09 14:25:37",
"taskAssignedTo": "dony3",
"flow": "citDelivery",
"taskLabel": [
{
"id": "status",
"labelColour": "#edaa53",
"labelName": "Ready" // dari "Outstanding" menjadi "Ready"
}
],
"location_id": [
"5c6cb93e6c4961364551f4ba"
],
"taskRefId": "DEL1604906730",
"taskStatus": "ongoing", // tetap ongoing
"taskEndTime": "2020-11-10 14:25:37",
"taskCreatedFrom": "API",
"taskCaption": "Delivery | 11:00 AM | 2.| DEL1604906730",
"organization_id": "5bf4dbf86c49616edb4b1318",
"location_locked": false,
"updatedFrom": "Mobile",
"lastUpdatePath": [
{
"data": "task/UserVar/startJobTime",
"id": "task/UserVar/startJobTime"
}
],
"isStrict": "true", // berubah menjadi true
"prevTaskCompletedTime": "2020-11-09 13:32:46 +0700",
"taskContent": "Pos Indonesia, PT - (TGR) POS SERANG, Jl. VETERAN NO 3 SERANG",
"org_name": "g4s",
"isDeleted": false,
"updatedAt": "2020-11-09 14:30:18",
"taskId": "8d56e4c308e59a3a86a0",
"taskCreatedTime": "2020-11-09 14:25:37",
"taskExpiredTime": "2020-11-10 14:25:37",
"locations": [
{
"_id": "5c6cb93e6c4961364551f4ba",
"is_enable_wallet": 0,
"description": "lebak bulus",
"display_name": "lebak bulus",
"total_user": 414,
"name": "lebak bulus",
"lat": -6.1749412,
"lng": 106.7896938
}
],
"UserVar": {
"motherCustody": "dony",
"motherDriver": "dony d",
"motherRunCode": "2A",
"motherVehicleNumber": "B 1234 AQ",
"isHandoverMothership": true,
"isAlreadyHandoverMothership": true, // jika selesai handover mothership
"sealBagMothership": [ // copyan dari UserVar.sealbag
{
"listItemChecked": true,
"bagSeal": "104999808100",
"taskRefId": "DEL1604906730",
"listItemContent": "0",
"id": "104999808100",
"orSeal": "106610750966",
"receiveFromMother": true,
"listItemSubTitle": "IDR"
},
{
"taskRefId": "DEL1604906730",
"receiveFromMother": true,
"listItemContent": "0",
"bagSeal": "104999808101",
"listItemSubTitle": "IDR",
"id": "104999808101",
"listItemChecked": true,
"orSeal": "106610750966"
},
{
"taskRefId": "DEL1604906730",
"listItemSubTitle": "IDR",
"listItemChecked": true,
"bagSeal": "104999808102",
"orSeal": "106610750967",
"id": "104999808102",
"listItemContent": "0",
"receiveFromMother": true
},
{
"listItemContent": "0",
"listItemChecked": true,
"orSeal": "106610750967",
"id": "104999808103",
"bagSeal": "104999808103",
"listItemSubTitle": "IDR",
"taskRefId": "DEL1604906730",
"receiveFromMother": true
}
],
"mothershipSignatureChild": { // TTD Mothership child 1
"time": "2020-11-09 14:29:47",
"pathOnDb": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2020%2F11%2F09%2Fsignature.signatureCrewNew.8d56e4c308e59a3a86a0.1604906945956.jpg?alt=media",
"name": "Crew 1"
},
"initialLog": "sealBag-mothership-2020-11-09 14:30:17 +0700",
"taskStatus": "Success Handover Mothership", // selesai Handover => "Success Handover Mothership"
"location": "-6.173110,106.829361",
"arriveTimeMothership": "2020-11-09 14:25:51 +0700", // arriveTime Mothership
"sealDelivery": [
{
"id": "106610750966",
"listItemSubTitle": "106610750966"
},
{
"listItemSubTitle": "106610750967",
"id": "106610750967"
}
],
"picClient": "PIC Danamon 1",
"mothershipSignatureChild2": { // TTD Mothership Child 2
"pathOnDb": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2020%2F11%2F09%2Fsignature.signatureCrewNew2.8d56e4c308e59a3a86a0.1604906961548.jpg?alt=media",
"time": "2020-11-09 14:29:48",
"name": "Crew 1"
},
"qrValidation": "12345",
"qrValidationTime": "2020-11-30 19:03:45 +0700", // waktu saat sukses qr validasi
"phoneNumber": "085712362647",
"arriveLocationMothership": "-6.173110,106.829361", // arriveLocation Mothership
"locationId": "001",
"office": "G4S - Lebak Bulus",
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.