Skip to content

Instantly share code, notes, and snippets.

@hok00age
hok00age / internationalCostV2-success.json
Created May 3, 2016 05:47
Contoh response sukses internationalCost Versi 2
{
"rajaongkir":{
"query":{
"origin":"152",
"destination":"108",
"weight":1400,
"courier":"pos"
},
"status":{
"code":200,
@hok00age
hok00age / pro-cost-error.json
Created August 9, 2015 07:55
RajaOngkir Pro Cost Error Response Example
{
"rajaongkir":{
"status":{
"code":400,
"description":"Invalid key. API key tidak ditemukan di database RajaOngkir."
}
}
}
@hok00age
hok00age / pro-cost-success.json
Created August 9, 2015 07:54
RajaOngkir Pro Cost Success Response Example
{
"rajaongkir":{
"query":{
"origin":"501",
"originType":"city",
"destination":"574",
"destinationType":"subdistrict",
"weight":1700,
"courier":"jne"
},
@hok00age
hok00age / pro-subdistrict-error.json
Last active August 29, 2015 14:27
RajaOngkir Subdistrict Error Response Example
{
"rajaongkir":{
"status":{
"code":400,
"description":"Invalid key. API key tidak ditemukan di database RajaOngkir."
}
}
}
@hok00age
hok00age / pro-subdistrict-success.json
Last active August 29, 2015 14:27
RajaOngkir subdistrict success response example
{
"rajaongkir":{
"query":{
"city":"39"
},
"status":{
"code":200,
"description":"OK"
},
"results":[
@hok00age
hok00age / waybill-error.json
Last active August 29, 2015 14:17
Contoh response error API RajaOngkir untuk end point waybill
{
"rajaongkir":{
"status":{
"code":400,
"description":"Invalid key."
}
}
}
@hok00age
hok00age / waybill-success.json
Last active November 10, 2021 03:18
Contoh response sukses API RajaOngkir untuk end point waybill
{
"rajaongkir":{
"query":{
"waybill":"SOCAG00183235715",
"courier":"jne"
},
"status":{
"code":200,
"description":"OK"
},
@hok00age
hok00age / currency-error.json
Last active August 29, 2015 14:17
Contoh response error API RajaOngkir untuk end point currency
{
"rajaongkir":{
"status":{
"code":400,
"description":"Invalid key."
}
}
}
@hok00age
hok00age / currency-success.json
Last active August 29, 2015 14:17
Contoh response sukses API RajaOngkir untuk end point currency
{
"rajaongkir":{
"status":{
"code":200,
"description":"OK"
},
"result":{
"value":13140,
"last_update":"2015-03-20",
"source_name":"Bank Sentral Republik Indonesia (BI)",
@hok00age
hok00age / internationalCost-error.json
Last active August 29, 2015 14:17
Contoh response error API RajaOngkir untuk end point internationalCost
{
"rajaongkir":{
"status":{
"code":400,
"description":"Invalid key."
}
}
}