contact-us

API get Rate

Kembali

Parameter:

Field NameDescriptionData TypeMax. Length
originOrigin postal codeString5
destinationDestination postal codeString5
service_typeService type usedString3
weight3 Digit Weight Package (in Kg)Numeric3
discountDiscount usedNumeric20
accountnumberYour Account NumberString12

Response Definition:

FieldData TypeMandatoryDescription
serviceIDStringYService Type ID
serviceDescStringYService Type Description
fullDescStringYFull Description of Service
freight_chargeStringYCharge /kg (exclude discount)
discountStringYDiscount (%)
tot_chargeStringYTotal charge (Exclude discount)
priceStringYTotal price (Include Discount)
transitTimeFromStringYShortest transit time
transitTimeToStringYLongest transit time
deliveryStringYDelivery

Response Success:

{

      "err": false,

      "msg": " Data Found",

      "data":  [

              {

                         "serviceID": "PSN",

                         "serviceDesc": "RPX PAS NextDay ",

                         "fullDesc": "Paketmu sampai di esok hari",

                         "freight_charge": 25000,

                         "discount": 0,

                         "tot_charge": 25000,

                         "price": 25000,

                         "transitTimeFrom": 1,

                         "transitTimeTo": 1,

                         "delivery": "Y"

      ],

            "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 !