Key Api

Your key api is

300dfaa09d3079dbf9af803a6ae42209

BASE URL

Base_URL

https://mobile.tracks-app.com/restapi/

HEADER

Key

"key: 300dfaa09d3079dbf9af803a6ae42209",

Content-Type

"Content-Type: application/json"

Request Origin

For request Origin base on branch data, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/origin/

{

    "status": "success",

    "data": [

        {

            "kode": "2",

            "kabName": "JAKARTA"

        }

    ]

}

Response :

{

    "status": "success",

    "data": [

        {

            "kode": "2",

            "kabName": "JAKARTA"

        }

    ]

}

Request Destination

For request destination “base on kecamatan” data, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/destination/

{

    "status": "success",

    "data": [

        {

                    "ID": "1",

                   "Name": " Ende, Kab.  Ende"

        }

     ]

}

Response :

{

    "status": "success",

    "data": [

        {

                    "ID": "1",

                   "Name": " Ende, Kab.  Ende"

        }

     ]

}

Request Service

For request service, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/service/

{
    "status": "success",
    "data": [
        {
            "serviceID": "1",
            "serviceName": "REGULER"
    ]
}

Response :

{
    "status": "success",
    "data": [
        {
            "serviceID": "1",
            "serviceName": "REGULER"
    ]
}

Request Moda

For request moda, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/moda/

{
    "status": "success",
    "data": [
        {
            "modaID": "1",
            "modaBy": "DARAT"
        }
    ]
}

Response :

{
    "status": "success",
    "data": [
        {
            "modaID": "1",
            "modaBy": "DARAT"
        }
    ]
}

Request Content Delivery

For request content delivery, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/document

{
    "status": "success",
    "data": [
        {
            "ID": "1",
            "contentDelivery": "PACKAGE"
        }
    ]
}

Response :

{
    "status": "success",
    "data": [
        {
            "ID": "1",
            "contentDelivery": "PACKAGE"
        }
    ]
}

Request Price

For request price, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/master/prices/

Body

  • dari [int(7)]
  • tujuan [int(7)]

Request

{
     "dari" : "12",
     "tujuan" : "1",
}

{
"status": "success",
"data": [
    {
    "serviceID": "1",
    "Layanan": "LAYANAN UDARA",
    "minKG": "1.00",
    "KGP": "115000",
    "KGS": "115000.00",
    "Estimasi": "5",
    "Via": "UDARA",
    "ID": "9999",
    "Moda": "2",
    "Origin": "12",
    "Destination": "1",
    "divider": "6000"
    }
  ]
}

Response :

{
"status": "success",
"data": [
    {
    "serviceID": "1",
    "Layanan": "LAYANAN UDARA",
    "minKG": "1.00",
    "KGP": "115000",
    "KGS": "115000.00",
    "Estimasi": "5",
    "Via": "UDARA",
    "ID": "9999",
    "Moda": "2",
    "Origin": "12",
    "Destination": "1",
    "divider": "6000"
    }
  ]
}

Request Tracking

For request tracking, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/tracking/

Body

- awb [varchar(25)]

Request

{
"awb" : "AWB123456789"
}

{
"status": true,
"keterangan": "success",
"data":
    {
    "Konid": "AWB123456789",
    "namaPengirim": "JASP",
    "asal": "JAKARTA",
    "tujuan": "SENTANI, KAB. JAYAPURA",
    "alamatPengirim1": "ASP TANGERANG",
    "alamatPenerima1": "PONDOK PESANTREN NURUL ANWAR KOMBAR
    SENTANI SAMP",
    "alamatPenerima2": "PABRIK VITAAER - SENTANI",
    "kotaPengirim": "",
    "kotaPenerima": "",
    "namaPenerima": "LENI SENTANI",
    "Koli": "1",
    "Kilo": "1",
    "Diterima": "nailin",
    "Tgl_Diterima": "2022-06-04 06:27:46",
    "statusDiterima": "2",
    "picture": "shipmentstatus/2022/06/04/JKT22341000007.jpg",
    "ttd": "ttd/2022/06/04/JKT22341000007.jpeg",
    "keteranganDiterima": "",
    "CreatedUserId": "26",
    "createDate": "2022-05-18 16:36:58",
    "No_Manifest": "25",
    "No_DO": "003039769481"
    },
"trackingDetail":
  [
    {
    "AWB": " AWB123456789",
    "day": "Saturday",
    "tanggal": "04-Jun-2022",
    "waktu": "06:27",
    "Status": "KIRIMAN DITERIMA OLEH Penerima"
    }
  ]
}

Response :

{
"status": true,
"keterangan": "success",
"data":
    {
    "Konid": "AWB123456789",
    "namaPengirim": "JASP",
    "asal": "JAKARTA",
    "tujuan": "SENTANI, KAB. JAYAPURA",
    "alamatPengirim1": "ASP TANGERANG",
    "alamatPenerima1": "PONDOK PESANTREN NURUL ANWAR KOMBAR
    SENTANI SAMP",
    "alamatPenerima2": "PABRIK VITAAER - SENTANI",
    "kotaPengirim": "",
    "kotaPenerima": "",
    "namaPenerima": "LENI SENTANI",
    "Koli": "1",
    "Kilo": "1",
    "Diterima": "nailin",
    "Tgl_Diterima": "2022-06-04 06:27:46",
    "statusDiterima": "2",
    "picture": "shipmentstatus/2022/06/04/JKT22341000007.jpg",
    "ttd": "ttd/2022/06/04/JKT22341000007.jpeg",
    "keteranganDiterima": "",
    "CreatedUserId": "26",
    "createDate": "2022-05-18 16:36:58",
    "No_Manifest": "25",
    "No_DO": "003039769481"
    },
"trackingDetail":
  [
    {
    "AWB": " AWB123456789",
    "day": "Saturday",
    "tanggal": "04-Jun-2022",
    "waktu": "06:27",
    "Status": "KIRIMAN DITERIMA OLEH Penerima"
    }
  ]
}

Request Tracking Detail

For request tracking detail, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/tracking/detail/

Body

- awb [varchar(25)]

Request

{
"awb" : "AWB123456789"
}

{
"status": “success”,
"data": [
        {
        "AWB": " AWB123456789",
        "day": "Saturday",
        "tanggal": "04-Jun-2022",
        "waktu": "06:27",
        "Status": "KIRIMAN DITERIMA OLEH Penerima"
        }
    ]
}

Response :

{
"status": “success”,
"data": [
        {
        "AWB": " AWB123456789",
        "day": "Saturday",
        "tanggal": "04-Jun-2022",
        "waktu": "06:27",
        "Status": "KIRIMAN DITERIMA OLEH Penerima"
        }
    ]
}

Request Insert Booking

For request insert booking, your can use link this below:

Method

POST

https://mobile.tracks-app.com/restapi/v1/booking/insert/

Header

You can use this (based on customer account in master customer)

"key: 300dfaa09d3079dbf9af803a6ae42209",

"Content-Type: application/json",

"codeReferral: 22TRACKS-CUST0001"

Or this (cashsales)

"key: 300dfaa09d3079dbf9af803a6ae42209",

"Content-Type: application/json",

"codeReferral: 22TRACKS"

Body

  • userID [int(7)]
  • Asal [int(7)]
  • Tujuan [int(7)]
  • Satuan [int(7)]
  • moda [int(7)]
  • Koli [int(7)]
  • Product [int(7)]
  • Jenis_Barang [varchar(25)]
  • Keterangan [varchar(100)]
  • namaPengirim [varchar(25)]
  • alamatPengirim [varchar(100)]
  • kotaPengirim [varchar(25)]
  • telpPengirim [varchar(25)]
  • namaPenerima [varchar(25)]
  • alamatPenerima [varchar(100)]
  • kotaPenerima [varchar(25)]
  • telpPenerima [varchar(25)]
  • panjang[] [int(12)]
  • lebar[] [int(12)]
  • tinggi[] [int(12)]
  • berat[] [int(12)]

Request

{
    "userID":"1",
    "Asal":"12",
    "Tujuan":"1",
    "Satuan":"1",
    "moda":"2",
    "Koli":"1",
    "Product":"1",
    "Jenis_Barang":"Jenis Barang",
    "Keterangan":"Keterangan",
    "namaPengirim":"Nama Pengirim",
    "alamatPengirim":"Alamat Pengirim",
    "kotaPengirim":"Kota Pengirim",
    "telpPengirim":"Telp Pengirim",
    "namaPenerima":"Nama Penerima",
    "alamatPenerima":"Alamat Penerima",
    "kotaPenerima":"Kota Penerima",
    "telpPenerima":"Telp Penerima",
    "panjang":["0"],
    "lebar":["0"],
    "tinggi":["0"],
    "berat":["1"]
}

{
"status": true,
"keterangan": "Insert Berhasil",
"data":
    {
        "Konid": "API122062400001",
        "Tgl_Konos": "2022-06-24",
        "custID": "1",
        "Satuan": "1",
        "moda": "2",
        "Asal": "1",
        "Tujuan": "1",
        "Koli": "1",
        "Kilo": "1",
        "Product": "1",
        "Jenis_Biaya": 1,
        "Jenis_Barang": "Jenis Barang",
        "Keterangan": "Keterangan",
        "Pengirim": "Nama Pengirim",
        "namaPengirim": "Nama Pengirim",
        "alamatPengirim1": "Alamat Pengirim",
        "kotaPengirim": "Kota Pengirim",
        "telpPengirim": "Telp Pengirim",
        "namaPenerima": "Nama Penerima",
        "alamatPenerima1": "Alamat Penerima",
        "kotaPenerima": "Kota Penerima",
        "telpPenerima": "Telp Penerima",
        "Tarif": "115000.00",
        "Tarif_Kg1": "115000",
        "minKG": "1.00",
        "leadTime": "5",
        "Totbi": 115000,
        "createdUserId": "1",
        "branch": "0",
        "statusBooking": 0
    }
}

Response :

{
"status": true,
"keterangan": "Insert Berhasil",
"data":
    {
        "Konid": "API122062400001",
        "Tgl_Konos": "2022-06-24",
        "custID": "1",
        "Satuan": "1",
        "moda": "2",
        "Asal": "1",
        "Tujuan": "1",
        "Koli": "1",
        "Kilo": "1",
        "Product": "1",
        "Jenis_Biaya": 1,
        "Jenis_Barang": "Jenis Barang",
        "Keterangan": "Keterangan",
        "Pengirim": "Nama Pengirim",
        "namaPengirim": "Nama Pengirim",
        "alamatPengirim1": "Alamat Pengirim",
        "kotaPengirim": "Kota Pengirim",
        "telpPengirim": "Telp Pengirim",
        "namaPenerima": "Nama Penerima",
        "alamatPenerima1": "Alamat Penerima",
        "kotaPenerima": "Kota Penerima",
        "telpPenerima": "Telp Penerima",
        "Tarif": "115000.00",
        "Tarif_Kg1": "115000",
        "minKG": "1.00",
        "leadTime": "5",
        "Totbi": 115000,
        "createdUserId": "1",
        "branch": "0",
        "statusBooking": 0
    }
}

Lorem ipsum dolor sit amet, consectetur adipiscing elit.