Get Tariff
Endpoint
| Endpoint | Authentication |
| http://apiv2.jne.co.id:10102/tracing/api/pricedev | no |
Header
| Parameter | Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Accept | application/json |
Body request
payload type: x-www-form-urlencoded
{
"username": "TESTAPI",
"api_key": "25c898a9faea1a100859ecd9ef674548",
"from": "CGK10000",
"thru": "BDO10000",
"weight": "1"
}
| Parameter | Value | Desc |
|---|---|---|
| username | CUST_USERNAME | PROVIDED BY EMAIL |
| api_key | CUST_APIKEY | PROVIDED BY EMAIL |
| from | VARCHAR (10 Byte) | Origin Code |
| thru | VARCHAR (10 Byte) | Destination Code |
| weight | Number | Weight in kg |
Result example
200 OK
{
"price": [
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "REG",
"service_code": "REG19",
"goods_type": "Document/Paket",
"currency": "IDR",
"price": "12000",
"etd_from": "1",
"etd_thru": "2",
"times": "D"
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "JTR",
"service_code": "JTR5",
"goods_type": "Paket",
"currency": "IDR",
"price": "18000",
"etd_from": "3",
"etd_thru": "4",
"times": "D"
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "YES",
"service_code": "YES19",
"goods_type": "Document/Paket",
"currency": "IDR",
"price": "24000",
"etd_from": "1",
"etd_thru": "1",
"times": "D"
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "JTR",
"service_code": "JTR18",
"goods_type": "Paket",
"currency": "IDR",
"price": "45000",
"etd_from": "3",
"etd_thru": "4",
"times": "D"
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "JTR<130",
"service_code": "JTR<130",
"goods_type": "Paket",
"currency": "IDR",
"price": "500000",
"etd_from": null,
"etd_thru": null,
"times": null
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "JTR<150",
"service_code": "JTR<150",
"goods_type": "Paket",
"currency": "IDR",
"price": "500000",
"etd_from": null,
"etd_thru": null,
"times": null
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "JTR250",
"service_code": "JTR250",
"goods_type": "Paket",
"currency": "IDR",
"price": "850000",
"etd_from": null,
"etd_thru": null,
"times": null
},
{
"origin_name": "JAKARTA",
"destination_name": "BANDUNG",
"service_display": "SPS",
"service_code": "SPS15",
"goods_type": "Document/Paket",
"currency": "IDR",
"price": "403000",
"etd_from": null,
"etd_thru": null,
"times": null
}
]
}
Error example
200 OK
{
"error": "Price Not Found.",
"status": false
}
No Comments