Skip to content

Instantly share code, notes, and snippets.

@hok00age
Created May 3, 2016 05:47
Show Gist options
  • Save hok00age/f7ba52dac2eb228a52eaa69d70d0973a to your computer and use it in GitHub Desktop.
Save hok00age/f7ba52dac2eb228a52eaa69d70d0973a to your computer and use it in GitHub Desktop.
Contoh response sukses internationalCost Versi 2
{
"rajaongkir":{
"query":{
"origin":"152",
"destination":"108",
"weight":1400,
"courier":"pos"
},
"status":{
"code":200,
"description":"OK"
},
"origin_details":{
"city_id":"152",
"province_id":"6",
"province":"DKI Jakarta",
"type":"Kota",
"city_name":"Jakarta Pusat",
"postal_code":"10540"
},
"destination_details":{
"country_id":"108",
"country_name":"Malaysia"
},
"results":[
{
"code":"pos",
"name":"POS Indonesia (POS)",
"costs":[
{
"service":"Surat R LN",
"cost":279972,
"currency":"IDR",
"etd":""
},
{
"service":"EMS DOKUMEN",
"cost":273108,
"currency":"IDR",
"etd":""
},
{
"service":"EMS BARANG",
"cost":324901,
"currency":"IDR",
"etd":""
},
{
"service":"PAKETPOS CEPAT LN",
"cost":274106,
"currency":"IDR",
"etd":""
},
{
"service":"PAKETPOS BIASA LN",
"cost":182648,
"currency":"IDR",
"etd":""
}
]
}
],
"currency":null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment