Server End Point
https://api.ekamira.net/v1/
Token
API Production and Sanbox
Gunakan Nama Pengguna dan Kata Sandi untuk mengakses Token
Request :
Method : GET
curl --location 'https://api.ekamira.net/v1/token?user={username}&pass={password}
Response :
{
"status": "True",
"message": "Success",
"result": {
"name": "{Name}",
"key_production": "{Token Key Production}",
"key_sanbox": "{Token Key Sanbox}"
}
}
All Trips
API untuk melihat semua rute
Request :
Method : POST
curl --location --request POST 'https://api.ekamira.net/v1/alltrips' \
--header 'Authorization: Bearer {Token}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": [
{
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "11",
"destinationname": "SOLO"
},
{
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "13",
"destinationname": "SALATIGA"
}
]
}
Trip Available
API untuk melihat jadwal perjalanan yang tersedia berdasarkan tanggal yang di masukan
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/trips' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {Token}' \
--data '{
"date":"{yyyy-mm-dd}",
"iddeparture":"{iddeparture}",
"iddestination":"{iddestination}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": [
{
"route": {
"idroute": "7fe8afa6c108034e60ac61621755c5d8335bf1b244e17fd732e0fcbfc37c4c26",
"direction": "1",
"direction_label": "depart",
"seatavailable": 38,
"tol": "TOL",
"fare": 180000,
"date": "2023-04-19",
"time": "17:40",
"estimatedminutes": "405",
"estimatedarrival": "00:25",
"estimatedtimes": "6j 45m",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "18",
"destinationname": "MAGELANG",
"idboarding": "73",
"boardingname": "AGEN MOJOKERTO",
"boardingaddress": "",
"nameroute": "YOGYAKARTA",
"boardingpoint": [
{
"bpid": "0",
"bpcity": "SURABAYA",
"bpname": "TERMINAL BUNGURASIH",
"bplat": "-7.351189248599502",
"bplong": "112.72428436536194"
}
],
"droppoint": [
{
"dpid": "72",
"dpname": "TERMINAL MAGELANG",
"dpcontact": "081326272722",
"dpaddress": "",
"dplat": "",
"dplong": ""
}
],
"crew": {
"iddriver1": null,
"namedriver1": null,
"iddriver2": null,
"namedriver2": null,
"idcrew": null,
"namecrew": null,
"idnopol": null,
"nopol": null
}
}
},
{
"route": {
"idroute": "1c85aa9df0f2d0b8c8d5732a497946a0a0e251123fa017f3261a43a553886be7",
"direction": "1",
"direction_label": "depart",
"seatavailable": 40,
"tol": "NON-TOL",
"fare": "170000",
"date": "2023-04-19",
"time": "20:30",
"estimatedminutes": "465",
"estimatedarrival": "04:15",
"estimatedtimes": "7j 45m",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "18",
"destinationname": "MAGELANG",
"idboarding": "0",
"boardingname": "BUNGURASIH",
"boardingaddress": "TERMINAL BUNGURASIH",
"nameroute": "SEMARANG 1",
"boardingpoint": [
{
"bpid": "0",
"bpcity": "SURABAYA",
"bpname": "TERMINAL BUNGURASIH",
"bplat": "-7.351189248599502",
"bplong": "112.72428436536194"
}
],
"droppoint": [
{
"dpid": "72",
"dpname": "TERMINAL MAGELANG",
"dpcontact": "081326272722",
"dpaddress": "",
"dplat": "",
"dplong": ""
}
],
"crew": {
"iddriver1": null,
"namedriver1": null,
"iddriver2": null,
"namedriver2": null,
"idcrew": null,
"namecrew": null,
"idnopol": null,
"nopol": null
}
}
}
]
}
View Seats
API untuk melihat ketersediaan kursi bus
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/seats' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"idroute":"{Token}",
"date":"{yyyy-mm-dd}",
"iddeparture":"{iddeparture}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"trip": {
"totalseats": 40,
"unavailable": 2,
"available": 38,
"date": "2023-04-19",
"time": "17:40",
"departurename": "SURABAYA",
"nameroute": "YOGYAKARTA"
},
"crew": {
"namedriver1": null,
"namedriver2": null,
"namecrew": null,
"nopol": null
},
"result": [
{
"seat": "A1",
"status": "available",
"row": "1",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A2",
"status": "available",
"row": "1",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A3",
"status": "available",
"row": "2",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A4",
"status": "available",
"row": "2",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A5",
"status": "available",
"row": "3",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A6",
"status": "available",
"row": "3",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A7",
"status": "available",
"row": "4",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A8",
"status": "available",
"row": "4",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A9",
"status": "available",
"row": "5",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A10",
"status": "available",
"row": "5",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A11",
"status": "available",
"row": "6",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A12",
"status": "available",
"row": "6",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A13",
"status": "available",
"row": "7",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A14",
"status": "available",
"row": "7",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A15",
"status": "available",
"row": "8",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A16",
"status": "available",
"row": "8",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A17",
"status": "available",
"row": "9",
"column": "1",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "A18",
"status": "available",
"row": "9",
"column": "2",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B1",
"status": "unavailable",
"row": "1",
"column": "3",
"customer": {
"name": "JONI",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "18",
"destinationname": "MAGELANG"
}
},
{
"seat": "B2",
"status": "available",
"row": "1",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B3",
"status": "available",
"row": "2",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B4",
"status": "available",
"row": "2",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B5",
"status": "unavailable",
"row": "3",
"column": "3",
"customer": {
"name": "JONI",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "18",
"destinationname": "MAGELANG"
}
},
{
"seat": "B6",
"status": "available",
"row": "3",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B7",
"status": "available",
"row": "4",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B8",
"status": "available",
"row": "4",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B9",
"status": "available",
"row": "5",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B10",
"status": "available",
"row": "5",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B11",
"status": "available",
"row": "6",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B12",
"status": "available",
"row": "6",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B13",
"status": "available",
"row": "7",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B14",
"status": "available",
"row": "7",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B15",
"status": "available",
"row": "8",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B16",
"status": "available",
"row": "8",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B17",
"status": "available",
"row": "9",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B18",
"status": "available",
"row": "9",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B19",
"status": "available",
"row": "10",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B20",
"status": "available",
"row": "10",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B21",
"status": "available",
"row": "11",
"column": "3",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
},
{
"seat": "B22",
"status": "available",
"row": "11",
"column": "4",
"customer": {
"name": null,
"iddeparture": null,
"departurename": null,
"iddestination": null,
"destinationname": null
}
}
]
}
Bookings
API untuk membuat bookings Baru
Keterangan :
| name_customer | Text |
|---|---|
| telp | Number |
| idroute | Id yang didapat dati API Trip Available |
| idboarding | Number |
| iddestination | Number |
| passengercount | Number |
| seats | Data Kursi di pisah dengan tanda koma (,) Ex : A1,A3,B3 |
| dpid | ID Drop Point |
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/bookings' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"name_customer": "{name_customer}",
"telp": "{telp}",
"idroute": "{idroute}",
"iddeparture": "{iddeparture}",
"idboarding": "{idboarding}",
"iddestination": "{iddestination}",
"passengercount": "{passengercount}",
"seats": "{seat1,seat2,seat3}",
"iddroppoint" : "{dpid}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": {
"bookingcode": "GK90742",
"idinvoice": "aebdee185ca67de6c1a6cc88b51016de",
"invoicedate": "2023-04-17",
"name_customer": "JONI",
"telp": "085646002192",
"date": "2023-04-19",
"time": "17:40",
"direction": "1",
"direction_label": "depart",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "11",
"destinationname": "SOLO",
"idboarding": "73",
"boardingname": "AGEN MOJOKERTO",
"iddroppoint": "67",
"namedroppint": "AGEN BUS EKA TERMINAL BAWEN",
"passengercount": "3",
"seats": "A3,A4,A8",
"fareticket": "120000",
"faretol": "10000",
"fare": 130000,
"faretotal": 390000
}
}
View Bookings
API untuk melihat data Bookings yang sudah di buat
Gunakan Idinvoice, Tanggal Bookings atau Tanggal Keberangkatan untuk mencari Data Bookings
Minimal 1 parameter untuk proses pencarian
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/views' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"idinvoice": "{idinvoice}",
"invoicedate": "{yyyy-mm-dd}",
"departuredate": "{yyyy-mm-dd}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"count": 1,
"result": [
{
"bookingcode": "XQ38710",
"idinvoice": "ed05903f8b2544b4bff94100d35ac32a",
"invoicedate": "2023-04-14",
"name_customer": "JONI",
"telp": "085646002192",
"date": "2023-04-19",
"time": "17:40",
"direction": "1",
"direction_label": "depart",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "18",
"destinationname": "MAGELANG",
"idboarding": "0",
"boardingname": "BUNGURASIH",
"boardingaddress": "TERMINAL BUNGURASIH",
"passengercount": "2",
"seats": "B1,B5",
"fareticket": "170000",
"faretol": "10000",
"fare": 180000,
"faretotal": 360000,
"datecreate": "2023-04-14 03:21:31",
"statusinvoice": "PENDING",
"qrcode": "",
"datepayment": "",
"droppoint": [
{
"dpid": "67",
"dpname": "AGEN BUS EKA TERMINAL BAWEN",
"dpcontact": "081390398266",
"dpaddress": "JALAN PALAGAN, TERMINAL BAWEN GEDUNG B NO.20 KEC.BAWEN",
"dplat": "-7.3480942",
"dplong": "112.7107947"
}
],
"crew": {
"iddriver1": null,
"namedriver1": null,
"iddriver2": null,
"namedriver2": null,
"idcrew": null,
"namecrew": null,
"idnopol": null,
"nopol": null
}
}
]
}
Status
PENDING : Bookings Belum Konfirmasi Pembayaran
PAID : Bookings Sudah Terbayar
CANCEL : Bookings Batal
Update Bookings
API untuk Update Data Bookings yang sudah di buat
Yang bisa di rubah hanya untuk kolom
Nama, Telp, Kursi
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/updates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"idinvoice": "{idinvoice}",
"name_customer": "{name_customer}",
"telp": "{telp}",
"seats": "{seat1,seat2}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": {
"idinvoice": "b572a5c260dd0162556cf332211ad2af",
"name_customer": "DONI",
"telp": "081000099XX",
"seats": "A8,A10"
}
}
Confirm Bookings
API untuk konfirmasi booking sudah terbayar
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/confirm' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"idinvoice": "{idinvoice}",
"paymentdate": "{yyyy-mm-dd- hh:ii:ss}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": {
"status": "PAID",
"bookingcode": "FZ02387",
"idinvoice": "5c31abb5fb8aca7ff9d0e33b4b7019fc",
"idpayment": "7976044ed12a89206b31",
"invoicedate": "2023-04-17",
"name_customer": "JONI",
"telp": "085646002192",
"date": "2023-04-19",
"time": "17:40",
"direction": "1",
"direction_label": "depart",
"iddeparture": "1",
"departurename": "SURABAYA",
"iddestination": "11",
"destinationname": "SOLO",
"idboarding": "73",
"boardingname": "AGEN MOJOKERTO",
"passengercount": "1",
"seats": "A9",
"fareticket": "120000",
"faretol": "10000",
"fare": 130000,
"faretotal": 130000,
"qrcode": "360e29b734f7b0accff6b423a5d5a762"
}
}
Cancel Bookings
API untuk membatalkan invoice, batas default pembatalan invoice yang sudah terbayar adalah 24 jam sebelum keberangkatan
Request :
Method : POST
curl --location 'https://api.ekamira.net/v1/cancel' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"idinvoice":"{idinvoice}"
}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": {
"status": "CANCEL",
"bookingcode": "ZR74861",
"idinvoice": "eba3b1ea180ac76dd8feb7adebba7ae9"
}
}
City
API untuk melihat data kota
Request :
Method : POST
curl --location --request POST 'https://api.ekamira.net/v1/city' \
--header 'Authorization: Bearer {token}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": [
{
"id": "1",
"city": "SURABAYA",
"province": "JAWA TIMUR"
},
{
"id": "2",
"city": "MOJOKERTO",
"province": "JAWA TIMUR"
},
{
"id": "3",
"city": "JOMBANG",
"province": "JAWA TIMUR"
},
{
"id": "4",
"city": "KERTOSONO",
"province": "JAWA TIMUR"
},
{
"id": "5",
"city": "NGANJUK",
"province": "JAWA TIMUR"
},
{
"id": "6",
"city": "CARUBAN",
"province": "JAWA TIMUR"
},
{
"id": "7",
"city": "MADIUN",
"province": "JAWA TIMUR"
},
{
"id": "8",
"city": "NGAWI",
"province": "JAWA TIMUR"
},
{
"id": "9",
"city": "GENDINGAN",
"province": "JAWA TIMUR"
},
{
"id": "10",
"city": "SRAGEN",
"province": "JAWA TENGAH"
},
{
"id": "11",
"city": "SOLO",
"province": "JAWA TENGAH"
},
{
"id": "12",
"city": "KARTOSURO",
"province": "JAWA TENGAH"
},
{
"id": "13",
"city": "SALATIGA",
"province": "JAWA TENGAH"
},
{
"id": "14",
"city": "SEMARANG",
"province": "JAWA TENGAH"
},
{
"id": "15",
"city": "KLATEN",
"province": "JAWA TENGAH"
},
{
"id": "16",
"city": "YOGYAKARTA",
"province": "DAERAH ISTIMEWA YOGYAKARTA"
},
{
"id": "17",
"city": "JOMBOR",
"province": "JAWA TENGAH"
},
{
"id": "18",
"city": "MAGELANG",
"province": "JAWA TENGAH"
},
{
"id": "19",
"city": "TEMANGGUNG",
"province": "JAWA TENGAH"
},
{
"id": "20",
"city": "WONOSOBO",
"province": "JAWA TENGAH"
},
{
"id": "21",
"city": "BANJARNEGARA",
"province": "JAWA TENGAH"
},
{
"id": "22",
"city": "PURBALINGGA",
"province": "JAWA TENGAH"
},
{
"id": "23",
"city": "BOBOTSARI",
"province": "JAWA TENGAH"
},
{
"id": "24",
"city": "PURWOREJO",
"province": "JAWA TENGAH"
},
{
"id": "25",
"city": "KEBUMEN",
"province": "JAWA TENGAH"
},
{
"id": "26",
"city": "BUNTU",
"province": "JAWA TENGAH"
},
{
"id": "27",
"city": "PURWOKERTO",
"province": "JAWA TENGAH"
},
{
"id": "28",
"city": "CILACAP",
"province": "JAWA TENGAH"
},
{
"id": "29",
"city": "PEKALONGAN",
"province": "JAWA TENGAH"
},
{
"id": "30",
"city": "TEGAL",
"province": "JAWA TENGAH"
},
{
"id": "31",
"city": "CIREBON",
"province": "JAWA BARAT"
},
{
"id": "32",
"city": "MAJALENGKA",
"province": "JAWA BARAT"
},
{
"id": "33",
"city": "SUMEDANG",
"province": "JAWA BARAT"
},
{
"id": "34",
"city": "BANDUNG",
"province": "JAWA BARAT"
},
{
"id": "35",
"city": "CIMAHI",
"province": "JAWA BARAT"
},
{
"id": "36",
"city": "BUMIAYU",
"province": "JAWA TENGAH"
},
{
"id": "37",
"city": "MRICAN",
"province": "JAWA TENGAH"
},
{
"id": "38",
"city": "BANYUMAS",
"province": "JAWA TENGAH"
},
{
"id": "39",
"city": "BOYOLALI",
"province": "JAWA TENGAH"
},
{
"id": "40",
"city": "KULONPROGO",
"province": "DAERAH ISTIMEWA YOGYAKARTA"
},
{
"id": "41",
"city": "MAGETAN",
"province": "JAWA TIMUR"
},
{
"id": "42",
"city": "BREBES",
"province": "JAWA TENGAH"
},
{
"id": "43",
"city": "PEMALANG",
"province": "JAWA TENGAH"
},
{
"id": "44",
"city": "SUKOHARJO",
"province": "JAWA TENGAH"
},
{
"id": "45",
"city": "WELERI",
"province": "JAWA TENGAH"
},
{
"id": "46",
"city": "BATANG",
"province": "JAWA TENGAH"
},
{
"id": "47",
"city": "BAWEN",
"province": "JAWA TENGAH"
}
]
}
Boarding Point
API untuk data boarding point yang tersedia
Request :
Method : POST
curl --location --request POST 'https://api.ekamira.net/v1/boardingpoint' \
--header 'Authorization: Bearer {token}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": [
{
"id": "39",
"city": "BOYOLALI",
"boardingpoint": [
{
"bpid": "62",
"bpname": "AGEN TERMINAL KARTOSURO",
"bpcity": "BOYOLALI",
"bptelp": "08xxxxxxx",
"bpaddres": "AGEN TERMINAL KARTOSURO",
"bplat": "-7.xxx",
"bplon": "110.xxx"
},
{
"bpid": "66",
"bpname": "AGEN BOYOLALI",
"bpcity": "BOYOLALI",
"bptelp": "08xxxxxxx",
"bpaddres": "TERM.PENGGUNG,BOYOLALI,DUSUN 2,BOYOLALI,JAWA TENGAH",
"bplat": "-7.xxx",
"bplon": "110.xxx"
}
]
}
]
}
Drop Point
API untuk data drop point yang tersedia
Request :
Method : POST
curl --location --request POST 'https://api.ekamira.net/v1/droppoint' \
--header 'Authorization: Bearer {token}'
Response :
{
"status": "True",
"message": "Ok",
"type": "sanbox",
"result": [
{
"id": "1",
"city": "SURABAYA",
"droppoint": [
{
"bpid": "0",
"dpname": "TERMINAL BUNGURASIH",
"dpcity": "SURABAYA",
"dptelp": "08xxx",
"dpaddres": "TERMINAL BUNGURASIH",
"dplat": "-7.xxx",
"dplon": "112.xxx"
},
{
"bpid": "19",
"dpname": "GARASI PO EKA",
"dpcity": "SURABAYA",
"dptelp": "08xxx",
"dpaddres": "JL. GILANG NO 10 TAMAN SDA",
"dplat": "-7.xxx",
"dplon": "112.xxx"
},
{
"bpid": "98",
"dpname": "LOUNGE EKA ( TERMINAL BUNGURASIH)",
"dpcity": "SURABAYA",
"dptelp": "08xxx",
"dpaddres": "Bungurasih, Kec. Waru, Kabupaten Sidoarjo, Jawa Timur 61256",
"dplat": "-7.xxx",
"dplon": "112.xxx"
}
]
}
]
}


