Newer
Older
ups-api / src / test / resources / rateResponse.json
{
    "RateResponse" : {
        "Response" : {
            "ResponseStatus" : {
                "Code" : "1",
                "Description" : "Success"
            },
            "Alert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "TransactionReference" : {
                "CustomerContext" : "https://onlinetools.ups.com",
                "TransactionIdentifier" : "000xwssoa9k9ZHgVbnn450"
            }
        },
        "RatedShipment" : [ {
            "Service" : {
                "Code" : "14",
                "Description" : ""
            },
            "Zone" : "104",
            "RatedShipmentAlert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "BillingWeight" : {
                "UnitOfMeasurement" : {
                    "Code" : "LBS",
                    "Description" : "Pounds"
                },
                "Weight" : "3.0"
            },
            "TransportationCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "153.14"
            },
            "BaseServiceCharge" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "ServiceOptionsCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "TotalCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "153.14"
            },
            "NegotiatedRateCharges" : {
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "TotalCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "144.58"
                }
            },
            "GuaranteedDelivery" : {
                "BusinessDaysInTransit" : "1",
                "DeliveryByTime" : "8:00 A.M."
            },
            "RatedPackage" : [ {
                "TransportationCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "153.14"
                },
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "128.69"
                },
                "ServiceOptionsCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "ItemizedCharges" : [ {
                    "Code" : "375",
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "24.45"
                } ],
                "TotalCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "153.14"
                },
                "NegotiatedCharges" : {
                    "BaseServiceCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "128.69"
                    },
                    "TransportationCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "144.58"
                    },
                    "ServiceOptionsCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "0.00"
                    },
                    "TotalCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "144.58"
                    },
                    "ItemizedCharges" : [ {
                        "Code" : "375",
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "15.89"
                    } ]
                },
                "Weight" : "3.0",
                "BillingWeight" : {
                    "UnitOfMeasurement" : {
                        "Code" : "LBS",
                        "Description" : "Pounds"
                    },
                    "Weight" : "3.0"
                }
            } ],
            "TimeInTransit" : {
                "PickupDate" : "20250917",
                "PackageBillType" : "03",
                "Disclaimer" : "Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. UPS guarantees the day of delivery for every ground package you ship to any address within all 50 states and Puerto Rico. See Terms and Conditions in the Service Guide for details.",
                "ServiceSummary" : {
                    "Service" : {
                        "Description" : "UPS Next Day Air Early"
                    },
                    "EstimatedArrival" : {
                        "Arrival" : {
                            "Date" : "20250918",
                            "Time" : "080000"
                        },
                        "BusinessDaysInTransit" : "1",
                        "Pickup" : {
                            "Date" : "20250917",
                            "Time" : "181500"
                        },
                        "DayOfWeek" : "THU",
                        "CustomerCenterCutoff" : "161500"
                    },
                    "GuaranteedIndicator" : "",
                    "SaturdayDelivery" : "0",
                    "SundayDelivery" : "0"
                }
            }
        }, {
            "Service" : {
                "Code" : "01",
                "Description" : ""
            },
            "Zone" : "104",
            "RatedShipmentAlert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "BillingWeight" : {
                "UnitOfMeasurement" : {
                    "Code" : "LBS",
                    "Description" : "Pounds"
                },
                "Weight" : "3.0"
            },
            "TransportationCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "117.44"
            },
            "BaseServiceCharge" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "ServiceOptionsCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "TotalCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "117.44"
            },
            "NegotiatedRateCharges" : {
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "TotalCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "38.97"
                }
            },
            "GuaranteedDelivery" : {
                "BusinessDaysInTransit" : "1",
                "DeliveryByTime" : "10:30 A.M."
            },
            "RatedPackage" : [ {
                "TransportationCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "117.44"
                },
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "98.69"
                },
                "ServiceOptionsCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "ItemizedCharges" : [ {
                    "Code" : "375",
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "18.75"
                } ],
                "TotalCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "117.44"
                },
                "NegotiatedCharges" : {
                    "BaseServiceCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "34.69"
                    },
                    "TransportationCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "38.97"
                    },
                    "ServiceOptionsCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "0.00"
                    },
                    "TotalCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "38.97"
                    },
                    "ItemizedCharges" : [ {
                        "Code" : "375",
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "4.28"
                    } ]
                },
                "Weight" : "3.0",
                "BillingWeight" : {
                    "UnitOfMeasurement" : {
                        "Code" : "LBS",
                        "Description" : "Pounds"
                    },
                    "Weight" : "3.0"
                }
            } ],
            "TimeInTransit" : {
                "PickupDate" : "20250917",
                "PackageBillType" : "03",
                "Disclaimer" : "Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. UPS guarantees the day of delivery for every ground package you ship to any address within all 50 states and Puerto Rico. See Terms and Conditions in the Service Guide for details.",
                "ServiceSummary" : {
                    "Service" : {
                        "Description" : "UPS Next Day Air"
                    },
                    "EstimatedArrival" : {
                        "Arrival" : {
                            "Date" : "20250918",
                            "Time" : "103000"
                        },
                        "BusinessDaysInTransit" : "1",
                        "Pickup" : {
                            "Date" : "20250917",
                            "Time" : "181500"
                        },
                        "DayOfWeek" : "THU",
                        "CustomerCenterCutoff" : "161500"
                    },
                    "GuaranteedIndicator" : "",
                    "SaturdayDelivery" : "0",
                    "SundayDelivery" : "0"
                }
            }
        }, {
            "Service" : {
                "Code" : "13",
                "Description" : ""
            },
            "Zone" : "134",
            "RatedShipmentAlert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "BillingWeight" : {
                "UnitOfMeasurement" : {
                    "Code" : "LBS",
                    "Description" : "Pounds"
                },
                "Weight" : "3.0"
            },
            "TransportationCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "107.68"
            },
            "BaseServiceCharge" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "ServiceOptionsCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "TotalCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "107.68"
            },
            "NegotiatedRateCharges" : {
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "TotalCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "35.74"
                }
            },
            "GuaranteedDelivery" : {
                "BusinessDaysInTransit" : "1",
                "DeliveryByTime" : "3:00 P.M."
            },
            "RatedPackage" : [ {
                "TransportationCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "107.68"
                },
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "90.49"
                },
                "ServiceOptionsCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "ItemizedCharges" : [ {
                    "Code" : "375",
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "17.19"
                } ],
                "TotalCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "107.68"
                },
                "NegotiatedCharges" : {
                    "BaseServiceCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "31.81"
                    },
                    "TransportationCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "35.74"
                    },
                    "ServiceOptionsCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "0.00"
                    },
                    "TotalCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "35.74"
                    },
                    "ItemizedCharges" : [ {
                        "Code" : "375",
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "3.93"
                    } ]
                },
                "Weight" : "3.0",
                "BillingWeight" : {
                    "UnitOfMeasurement" : {
                        "Code" : "LBS",
                        "Description" : "Pounds"
                    },
                    "Weight" : "3.0"
                }
            } ],
            "TimeInTransit" : {
                "PickupDate" : "20250917",
                "PackageBillType" : "03",
                "Disclaimer" : "Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. UPS guarantees the day of delivery for every ground package you ship to any address within all 50 states and Puerto Rico. See Terms and Conditions in the Service Guide for details.",
                "ServiceSummary" : {
                    "Service" : {
                        "Description" : "UPS Next Day Air Saver"
                    },
                    "EstimatedArrival" : {
                        "Arrival" : {
                            "Date" : "20250918",
                            "Time" : "230000"
                        },
                        "BusinessDaysInTransit" : "1",
                        "Pickup" : {
                            "Date" : "20250917",
                            "Time" : "181500"
                        },
                        "DayOfWeek" : "THU",
                        "CustomerCenterCutoff" : "161500"
                    },
                    "GuaranteedIndicator" : "",
                    "SaturdayDelivery" : "0",
                    "SundayDelivery" : "0"
                }
            }
        }, {
            "Service" : {
                "Code" : "59",
                "Description" : ""
            },
            "Zone" : "244",
            "RatedShipmentAlert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "BillingWeight" : {
                "UnitOfMeasurement" : {
                    "Code" : "LBS",
                    "Description" : "Pounds"
                },
                "Weight" : "3.0"
            },
            "TransportationCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "42.19"
            },
            "BaseServiceCharge" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "ServiceOptionsCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "TotalCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "42.19"
            },
            "NegotiatedRateCharges" : {
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "TotalCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "19.76"
                }
            },
            "GuaranteedDelivery" : {
                "BusinessDaysInTransit" : "2",
                "DeliveryByTime" : "10:30 A.M."
            },
            "RatedPackage" : [ {
                "TransportationCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "42.19"
                },
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "35.45"
                },
                "ServiceOptionsCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "ItemizedCharges" : [ {
                    "Code" : "375",
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "6.74"
                } ],
                "TotalCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "42.19"
                },
                "NegotiatedCharges" : {
                    "BaseServiceCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "17.59"
                    },
                    "TransportationCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "19.76"
                    },
                    "ServiceOptionsCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "0.00"
                    },
                    "TotalCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "19.76"
                    },
                    "ItemizedCharges" : [ {
                        "Code" : "375",
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "2.17"
                    } ]
                },
                "Weight" : "3.0",
                "BillingWeight" : {
                    "UnitOfMeasurement" : {
                        "Code" : "LBS",
                        "Description" : "Pounds"
                    },
                    "Weight" : "3.0"
                }
            } ],
            "TimeInTransit" : {
                "PickupDate" : "20250917",
                "PackageBillType" : "03",
                "Disclaimer" : "Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. UPS guarantees the day of delivery for every ground package you ship to any address within all 50 states and Puerto Rico. See Terms and Conditions in the Service Guide for details.",
                "ServiceSummary" : {
                    "Service" : {
                        "Description" : "UPS 2nd Day Air Early"
                    },
                    "EstimatedArrival" : {
                        "Arrival" : {
                            "Date" : "20250919",
                            "Time" : "103000"
                        },
                        "BusinessDaysInTransit" : "2",
                        "Pickup" : {
                            "Date" : "20250917",
                            "Time" : "181500"
                        },
                        "DayOfWeek" : "FRI",
                        "CustomerCenterCutoff" : "161500"
                    },
                    "GuaranteedIndicator" : "",
                    "SaturdayDelivery" : "0",
                    "SundayDelivery" : "0"
                }
            }
        }, {
            "Service" : {
                "Code" : "02",
                "Description" : ""
            },
            "Zone" : "204",
            "RatedShipmentAlert" : [ {
                "Code" : "110971",
                "Description" : "Your invoice may vary from the displayed reference rates"
            } ],
            "BillingWeight" : {
                "UnitOfMeasurement" : {
                    "Code" : "LBS",
                    "Description" : "Pounds"
                },
                "Weight" : "3.0"
            },
            "TransportationCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "36.07"
            },
            "BaseServiceCharge" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "ServiceOptionsCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "0.00"
            },
            "TotalCharges" : {
                "CurrencyCode" : "USD",
                "MonetaryValue" : "36.07"
            },
            "NegotiatedRateCharges" : {
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "TotalCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "16.29"
                }
            },
            "GuaranteedDelivery" : {
                "BusinessDaysInTransit" : "2"
            },
            "RatedPackage" : [ {
                "TransportationCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "36.07"
                },
                "BaseServiceCharge" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "30.31"
                },
                "ServiceOptionsCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "0.00"
                },
                "ItemizedCharges" : [ {
                    "Code" : "375",
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "5.76"
                } ],
                "TotalCharges" : {
                    "CurrencyCode" : "USD",
                    "MonetaryValue" : "36.07"
                },
                "NegotiatedCharges" : {
                    "BaseServiceCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "14.50"
                    },
                    "TransportationCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "16.29"
                    },
                    "ServiceOptionsCharges" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "0.00"
                    },
                    "TotalCharge" : {
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "16.29"
                    },
                    "ItemizedCharges" : [ {
                        "Code" : "375",
                        "CurrencyCode" : "USD",
                        "MonetaryValue" : "1.79"
                    } ]
                },
                "Weight" : "3.0",
                "BillingWeight" : {
                    "UnitOfMeasurement" : {
                        "Code" : "LBS",
                        "Description" : "Pounds"
                    },
                    "Weight" : "3.0"
                }
            } ],
            "TimeInTransit" : {
                "PickupDate" : "20250917",
                "PackageBillType" : "03",
                "Disclaimer" : "Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. UPS guarantees the day of delivery for every ground package you ship to any address within all 50 states and Puerto Rico. See Terms and Conditions in the Service Guide for details.",
                "ServiceSummary" : {
                    "Service" : {
                        "Description" : "UPS 2nd Day Air"
                    },
                    "EstimatedArrival" : {
                        "Arrival" : {
                            "Date" : "20250919",
                            "Time" : "230000"
                        },
                        "BusinessDaysInTransit" : "2",
                        "Pickup" : {
                            "Date" : "20250917",
                            "Time" : "181500"
                        },
                        "DayOfWeek" : "FRI",
                        "CustomerCenterCutoff" : "161500"
                    },
                    "SaturdayDelivery" : "0",
                    "SundayDelivery" : "0"
                }
            }
        } ]
    }
}