icon picker
G4S Mile API Documentation

G4S Mile API documentation


API.jpg
This is an API documentation to connect with our service. All responses and input body uses json format.

API KEY DEV

n09eDGTyunY56Xv88lcxj8ZL7MRSpERB

API ITEM

Mile API - Standard Documentation

GUARD NAME ID

GD11121314 - Guard 1

ITEM EXAMPLE

{
"itemRefId":"354tertwe4fg",
"itemBelongsTo":"alfa",
"itemStartTime":"2019-02-12 01:00:00",
"itemEndTime":"2019-02-13 01:00:00"
"orNumber": [
{
"id":"106610750966",
"listItemSubTitle": "106610750966"
},
{
"id":"106610750967",
"listItemSubTitle": "106610750967"
},
{
"id":"106610750968",
"listItemSubTitle": "106610750967"
},
{
"id":"106610750969",
"listItemSubTitle": "106610750967"
},
{
"id":"1066107509670",
"listItemSubTitle": "106610750967"
}
],
"sealBag":[
{
"id": ";104999808118",
"listItemSubTitle":"104999808118",
"bagSeal": "104999808118"
},
{
"id": "104999808119",
"listItemSubTitle":"104999808119",
"bagSeal": "104999808119"
},
{
"id": "104999808110",
"listItemSubTitle":"104999808110",
"bagSeal": "104999808110"
},
{
"id": "104999808111",
"listItemSubTitle":"104999808111",
"bagSeal": "104999808111"
},
{
"id": "104999808112",
"listItemSubTitle":"104999808112",
"bagSeal": "104999808112"
},
{
"id": "104999808113",
"listItemSubTitle":"104999808113",
"bagSeal": "104999808113"
},
{
"id": "104999808114",
"listItemSubTitle":"104999808114",
"bagSeal": "104999808114"
},
{
"id": "104999808115",
"listItemSubTitle":"104999808115",
"bagSeal": "104999808115"
},
{
"id": "104999808116",
"listItemSubTitle":"104999808116",
"bagSeal": "104999808116"
},
{
"id": "104999808117",
"listItemSubTitle":"104999808117",
"bagSeal": "104999808117"
},
{
"id": "104999808120",
"listItemSubTitle":"104999808120",
"bagSeal": "104999808120"
},
{
"id": "104999808121",
"listItemSubTitle":"104999808121",
"bagSeal": "104999808121"
},
{
"id": "104999808122",
"listItemSubTitle":"104999808122",
"bagSeal": "104999808122"
},
{
"id": "104999808123",
"listItemSubTitle":"104999808123",
"bagSeal": "104999808123"
},
{
"id": "104999808124",
"listItemSubTitle":"104999808124",
"bagSeal": "104999808124"
}
]
}

Specific Task Definition

Task : Start

ADDITIONAL REQUEST PARAM

Table 11
Param Name
Description
 
Data Type
Required
taskCaption
Text that will be displayed on the front list as caption
taskTitle
Text that will be displayed on the frot list as title
isStrict
If this field = true, then the task need to be done before the driver can access another task
UserVar
Sub Field
runCode
vehicleNumber
driverName
custody1
custody2
phoneNumber
supply
bagSeal
vehicleCheckList
There are no rows in this table
4
Count
EXAMPLE
{
"flow": "start",
"taskStartTime":"2018-01-12 13:00:00",
"taskEndTime": "2019-12-12 13:00:00",
"taskOrder": 1,
"taskRefId":"44445",
"isStrict":true,
"taskCaption":"Start | 12:00 AM",
"taskTitle": "G4S Ciputat Office",
"taskSubTitle":"552199029470",
"taskAssignedTo":"username",
"UserVar": {
"locationId":"001",
"phoneNumber":"085712362647",
"runCode":"STS RUN 01",
"vehicleType":"Van",
"vehicleNumber":"142",
"vehicleLimit":"1.000.000.000",
"driverName":"Muhammad Alif Syafri",
"custody1":"Alfa Marzella",
"custody2":"Dika Maheswara",
"etoll":[
{
"id":"1242323432",
"listItemSubTitle":"1242323432",
"listItemContent":"Flazz BCA",
"sealEtoll":"10469697632",
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.