contact-us

API get Location Zip Code

Kembali

Parameter:

Field NameDescriptionData TypeMax. Length
countryIDId of CountryString4
provinceNameName of ProvinceString50
regencyname of RegencyString50

Response Definition:

FieldData TypeMandatoryDescription
country_IDStringYTwo Letter code country, example: id
zip_codeStringyZip code of district
country_nameStringYName of Country
provinsiStringYThree letter code city, example: JAK
cityStringYName of City
kecamatanStringYName of kecamatan (District)
zip_nameStringYName of city
station_idStringYThree letter code station
city_idStringY 
deliveryStringY 
pickupStringY 
pickup_cutoffStringY 
pickup_cutoff_saturdayStringY 

Response Success:

{

      "err": false,

      "msg": " Data Found",

      "data":  [

              {

                         "country_id": "ID",

                         "zip_code": "10110",

                         "country_name": "INDONESIA",

                         "city": "Jakarta Pusat",

                        "kecamatan": "Gambir",

                        "zip_name": "Gambir",

                         "station_id": "JKT",

                         "city_id": "JAK",

                        "delivery": "Y",

                         "pickup": "Y",

                        "pickup_cutoff": "10:30:00",

                         "pickup_cutoff_saturday": "10:30:00"

      },

              {

                         "country_id": "ID",

                         "zip_code": "10120",

                         "country_name": "INDONESIA",

                         "city": "Jakarta Pusat",

                        "kecamatan": "Gambir",

                        "zip_name": "Kebon Kelapa",

                         "station_id": "JKT",

                         "city_id": "JAK",

                        "delivery": "Y",

                         "pickup": "Y",

                        "pickup_cutoff": "10:30:00",

                         "pickup_cutoff_saturday": "10:30:00"

      }

          ],

            "status_code": 200

}

Error Response Code:

ResponseCode
Request Not Processed422

{

      "err": true,

      "msg": "Signature verification failed",

      "data": [],

      "status_code": 401

}

Mitra Kami
RPX Kiriman Express ( Super App )
RPX Mobile Apps kirim paket lebih mudah lewat genggaman. Download sekarang !