icon picker
citDirect

CIT Direct

Digunakan untuk update data informasi yang diinput di-mobile setelah selesai melakukan transaksi sameday collection sekaligus delivery.

MOCKUP

CIT Direct.png

JSON param

{
"flow":"citDirect",
"taskRefId":"9999923",
"taskAssignedTo":"CS12345678@id.g4s.com",
"UserVar":{
"locationIdCollection":"001",
"locationIdDelivery":"001",
"arriveLocationCollection":"-6.173110,106.829361",
"arriveLocationDelivery":"-6.173110,106.829361",
"arriveTimeCollection":"2018-01-12 13:00:00",
"arriveTimeDelivery":"2018-01-12 13:00:00",
"startJobTimeCollection":"2018-12-12 13:00:00",
"startJobTimeDelivery":"2018-12-12 13:00:00",
"finishJobTimeCollection":"2018-12-12 13:00:00",
"finishJobTimeDelivery":"2018-12-12 13:00:00",
"departureTimeCollection":"2018-12-12 13:00:00",
"departureTimeDelivery":"2018-12-12 13:00:00",
"taskStatus":"complete|cancel",
"taskCancelReason":"",
"sealBag":[
{
"orSeal": "106610750966",
"bagSeal":"104610750962",
"itemChecked": true
},
{
"orSeal": "106610750966",
"bagSeal":"104610750963",
"itemChecked": true
}
],
"outerBagAmount":[
{
"amount":10000000,
"bagSeal":"104610750962",
"currency":"IDR",
"id":1549256274512
},
{
"amount":90000,
"bagSeal":"104610750962",
"currency":"USD",
"id":1549256274514
},
{
"amount":300000000,
"bagSeal":"104610750963",
"currency":"IDR",
"id":1549256274515
}
],
"sealInner":[
{
"bagSeal":"104610750962",
"innerSeal":"104610750965",
"currency":"IDR",
"amount":"500000"
},
{
"bagSeal":"104610750963",
"innerSeal":"104610750961",
"currency":"IDR",
"amount":"500000"
}
],
"denom":[
{
"orSeal":"106610750966",
"type":"coin",
"currency":"IDR",
"denom":"500",
"amount":"500000"
},
{
"orSeal":"106610750966",
"type":"coin",
"currency":"IDR",
"denom":"500",
"amount":"500000"
},
{
"orSeal":"106610750966",
"type":"note",
"currency":"IDR",
"denom":"5000",
"amount":"500000"
}
],
"proofListCollection":[
{
"orSeal":"106610750966",
"crewSignName":"Custody 1",
"crewSignImageLink":"https://imagelink",
"crewPhotoImageLink":"https://imagelink",
"clientSignName":"Client 1",
"clientSignImageLink":"https://imagelink",
"clientPhotoImageLink":"https://imagelink",
"collectionNote":"Kirim"
},
{
"orSeal":"106610750922",
"crewSignName":"Custody 1",
"crewSignImageLink":"https://imagelink",
"crewPhotoImageLink":"https://imagelink",
"clientSignName":"Client 1",
"clientSignImageLink":"https://imagelink",
"clientPhotoImageLink":"https://imagelink",
"collectionNote":"Kirim"
}
],
"proofListDelivery":[
{
"orSeal":"106610750966",
"crewSignName":"Custody 1",
"crewSignImageLink":"https://imagelink",
"crewPhotoImageLink":"https://imagelink",
"clientSignName":"Client 1",
"clientSignImageLink":"https://imagelink",
"clientPhotoImageLink":"https://imagelink",
"statementLetterImageLink":"https://imagelink",
"deliveryNote":"Kirim"
},
{
"orSeal":"106610750922",
"crewSignName":"Custody 1",
"crewSignImageLink":"https://imagelink",
"crewPhotoImageLink":"https://imagelink",
"clientSignName":"Client 1",
"clientSignImageLink":"https://imagelink",
"clientPhotoImageLink":"https://imagelink",
"statementLetterImageLink":"https://imagelink",
"deliveryNote":"Kirim"
}
]
}
}

JSON response

success = true (jika data berhasil di-update ke ASDS), sebaliknya false jika gagal.
{
"success": true,
"message": ""
}

Post-Processed JSON

{
"taskAssignedTo": "dony",
"exception_mgmt_status": 0,
"taskStatus": "done",
"taskContent": "FROM: Pos Indonesia, PT - KPC CIKUPA, JL.RAYA SERANG CIKUPA\\nTO: Bank Danamon - ( 169 ) Cikupa, Perumahan Citra Raya Blok L1 NO 8 R - Cikupa Tangerang",
"UserVar": {
"locationIdCollection": "001",
"finishDirectCollection": true,
"sealNumber": [
{
"isUsed": "true",
"listItemSubTitle": "ORDIRECT1",
"id": "ORDIRECT1"
},
{
"listItemSubTitle": "ORDIRECT2",
"id": "ORDIRECT2"
},
{
"listItemSubTitle": "ORDIRECT3",
"id": "ORDIRECT3"
}
],
"vehicleType": "STS RUN 01",
"arriveLocationDelivery": "-6.3577472,106.7319102",
"crew": {
"imei": "351580106243286",
"id": "cs12345",
"crewId": "cs12345",
"crewName": "Crew 1"
},
"clientSignNameCollection": "nej3",
"listSlipPhotoCollection": [
{
"photoUrl": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2020%2F05%2F13%2F1589346813763.84dead7c42bb7cf0424d.jpg?alt=media",
"id": "1589346806208"
},
{
"photoUrl": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2020%2F05%2F13%2F1589346813794.84dead7c42bb7cf0424d.jpg?alt=media",
"id": "1589346812727"
}
],
"countingMethod": "STC",
"signatureClient": {
"pathOnDb": "https://firebasestorage.googleapis.com/v0/b/paketidv2.appspot.com/o/g4s%2F2020%2F05%2F13%2F1589347240010..client1.jpg?alt=media",
"time": "2020-05-13 12:20:40",
"name": "client 1"
},
"windowTimeCollection": "10:00 - 12:00",
"denom": [
{
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.