Sample Rate Responses

UPS

Example:

Array
(
    [RatingServiceSelectionResponse] => Array
        (
            [Response] => Array
                (
                    [TransactionReference] => Array
                        (
                            [CustomerContext] => RocketShipIt
                        )

                    [ResponseStatusCode] => 1
                    [ResponseStatusDescription] => Success
                )

            [RatedShipment] => Array
                (
                    [Service] => Array
                        (
                            [Code] => 03
                        )

                    [RatedShipmentWarning] => Your invoice may vary from the displayed reference rates
                    [BillingWeight] => Array
                        (
                            [UnitOfMeasurement] => Array
                                (
                                    [Code] => LBS
                                )

                            [Weight] => 5.0
                        )

                    [TransportationCharges] => Array
                        (
                            [CurrencyCode] => USD
                            [MonetaryValue] => 13.24
                        )

                    [ServiceOptionsCharges] => Array
                        (
                            [CurrencyCode] => USD
                            [MonetaryValue] => 0.00
                        )

                    [TotalCharges] => Array
                        (
                            [CurrencyCode] => USD
                            [MonetaryValue] => 13.24
                        )

                    [GuaranteedDaysToDelivery] =>
                    [ScheduledDeliveryTime] =>
                    [RatedPackage] => Array
                        (
                            [TransportationCharges] => Array
                                (
                                    [CurrencyCode] => USD
                                    [MonetaryValue] => 13.24
                                )

                            [ServiceOptionsCharges] => Array
                                (
                                    [CurrencyCode] => USD
                                    [MonetaryValue] => 0.00
                                )

                            [TotalCharges] => Array
                                (
                                    [CurrencyCode] => USD
                                    [MonetaryValue] => 13.24
                                )

                            [Weight] => 5.0
                            [BillingWeight] => Array
                                (
                                    [UnitOfMeasurement] => Array
                                        (
                                            [Code] => LBS
                                        )

                                    [Weight] => 5.0
                                )
                        )
                )
        )
)

FedEx

Example:

Array
(
    [RateReply] => Array
        (
            [xmlns] => http://fedex.com/ws/rate/v13
            [xmlns:SOAP-ENV] => http://schemas.xmlsoap.org/soap/envelope/
            [HighestSeverity] => NOTE
            [Notifications] => Array
                (
                    [Severity] => NOTE
                    [Source] => crs
                    [Code] => 820
                    [Message] => The destination state/province code has been changed.
                    [LocalizedMessage] => The destination state/province code has been changed.
                )

            [Version] => Array
                (
                    [ServiceId] => crs
                    [Major] => 13
                    [Intermediate] => 0
                    [Minor] => 0
                )

            [RateReplyDetails] => Array
                (
                    [ServiceType] => GROUND_HOME_DELIVERY
                    [PackagingType] => YOUR_PACKAGING
                    [DeliveryStation] => SMOA
                    [CommitDetails] => Array
                        (
                            [ServiceType] => GROUND_HOME_DELIVERY
                            [TransitTime] => THREE_DAYS
                            [BrokerToDestinationDays] => 0
                        )

                    [DestinationAirportId] => LAX
                    [IneligibleForMoneyBackGuarantee] => false
                    [OriginServiceArea] => PM
                    [DestinationServiceArea] => A1
                    [TransitTime] => THREE_DAYS
                    [SignatureOption] => SERVICE_DEFAULT
                    [ActualRateType] => PAYOR_ACCOUNT_PACKAGE
                    [RatedShipmentDetails] => Array
                        (
                            [0] => Array
                                (
                                    [EffectiveNetDiscount] => Array
                                        (
                                            [Currency] => USD
                                            [Amount] => 0.0
                                        )

                                    [ShipmentRateDetail] => Array
                                        (
                                            [RateType] => PAYOR_ACCOUNT_PACKAGE
                                            [RateZone] => 5
                                            [RatedWeightMethod] => ACTUAL
                                            [DimDivisor] => 0
                                            [FuelSurchargePercent] => 6.5
                                            [TotalBillingWeight] => Array
                                                (
                                                    [Units] => LB
                                                    [Value] => 5.0
                                                )

                                            [TotalBaseCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 9.47
                                                )

                                            [TotalFreightDiscounts] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [TotalNetFreight] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 9.47
                                                )

                                            [TotalSurcharges] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 3.71
                                                )

                                            [TotalNetFedExCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 13.18
                                                )

                                            [TotalTaxes] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [TotalNetCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 13.18
                                                )

                                            [TotalRebates] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [Surcharges] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [SurchargeType] => RESIDENTIAL_DELIVERY
                                                            [Level] => PACKAGE
                                                            [Description] => FedEx Home Delivery Urban/Rural Charge
                                                            [Amount] => Array
                                                                (
                                                                    [Currency] => USD
                                                                    [Amount] => 2.9
                                                                )

                                                        )

                                                    [1] => Array
                                                        (
                                                            [SurchargeType] => FUEL
                                                            [Level] => PACKAGE
                                                            [Description] => FedEx Ground Fuel
                                                            [Amount] => Array
                                                                (
                                                                    [Currency] => USD
                                                                    [Amount] => 0.81
                                                                )

                                                        )

                                                )

                                        )

                                    [RatedPackages] => Array
                                        (
                                            [GroupNumber] => 0
                                            [EffectiveNetDiscount] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [PackageRateDetail] => Array
                                                (
                                                    [RateType] => PAYOR_ACCOUNT_PACKAGE
                                                    [RatedWeightMethod] => ACTUAL
                                                    [BillingWeight] => Array
                                                        (
                                                            [Units] => LB
                                                            [Value] => 5.0
                                                        )

                                                    [BaseCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 9.47
                                                        )

                                                    [TotalFreightDiscounts] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [NetFreight] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 9.47
                                                        )

                                                    [TotalSurcharges] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 3.71
                                                        )

                                                    [NetFedExCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 13.18
                                                        )

                                                    [TotalTaxes] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [NetCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 13.18
                                                        )

                                                    [TotalRebates] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [Surcharges] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [SurchargeType] => RESIDENTIAL_DELIVERY
                                                                    [Level] => PACKAGE
                                                                    [Description] => FedEx Home Delivery Urban/Rural Charge
                                                                    [Amount] => Array
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 2.9
                                                                        )

                                                                )

                                                            [1] => Array
                                                                (
                                                                    [SurchargeType] => FUEL
                                                                    [Level] => PACKAGE
                                                                    [Description] => FedEx Ground Fuel
                                                                    [Amount] => Array
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 0.81
                                                                        )

                                                                )

                                                        )

                                                )

                                        )

                                )

                            [1] => Array
                                (
                                    [ShipmentRateDetail] => Array
                                        (
                                            [RateType] => PAYOR_LIST_PACKAGE
                                            [RateZone] => 5
                                            [RatedWeightMethod] => ACTUAL
                                            [DimDivisor] => 0
                                            [FuelSurchargePercent] => 6.5
                                            [TotalBillingWeight] => Array
                                                (
                                                    [Units] => LB
                                                    [Value] => 5.0
                                                )

                                            [TotalBaseCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 9.47
                                                )

                                            [TotalFreightDiscounts] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [TotalNetFreight] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 9.47
                                                )

                                            [TotalSurcharges] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 3.71
                                                )

                                            [TotalNetFedExCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 13.18
                                                )

                                            [TotalTaxes] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [TotalNetCharge] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 13.18
                                                )

                                            [TotalRebates] => Array
                                                (
                                                    [Currency] => USD
                                                    [Amount] => 0.0
                                                )

                                            [Surcharges] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [SurchargeType] => RESIDENTIAL_DELIVERY
                                                            [Level] => PACKAGE
                                                            [Description] => FedEx Home Delivery Urban/Rural Charge
                                                            [Amount] => Array
                                                                (
                                                                    [Currency] => USD
                                                                    [Amount] => 2.9
                                                                )

                                                        )

                                                    [1] => Array
                                                        (
                                                            [SurchargeType] => FUEL
                                                            [Level] => PACKAGE
                                                            [Description] => FedEx Ground Fuel
                                                            [Amount] => Array
                                                                (
                                                                    [Currency] => USD
                                                                    [Amount] => 0.81
                                                                )

                                                        )

                                                )

                                        )

                                    [RatedPackages] => Array
                                        (
                                            [GroupNumber] => 0
                                            [PackageRateDetail] => Array
                                                (
                                                    [RateType] => PAYOR_LIST_PACKAGE
                                                    [RatedWeightMethod] => ACTUAL
                                                    [BillingWeight] => Array
                                                        (
                                                            [Units] => LB
                                                            [Value] => 5.0
                                                        )

                                                    [BaseCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 9.47
                                                        )

                                                    [TotalFreightDiscounts] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [NetFreight] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 9.47
                                                        )

                                                    [TotalSurcharges] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 3.71
                                                        )

                                                    [NetFedExCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 13.18
                                                        )

                                                    [TotalTaxes] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [NetCharge] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 13.18
                                                        )

                                                    [TotalRebates] => Array
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [Surcharges] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [SurchargeType] => RESIDENTIAL_DELIVERY
                                                                    [Level] => PACKAGE
                                                                    [Description] => FedEx Home Delivery Urban/Rural Charge
                                                                    [Amount] => Array
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 2.9
                                                                        )

                                                                )

                                                            [1] => Array
                                                                (
                                                                    [SurchargeType] => FUEL
                                                                    [Level] => PACKAGE
                                                                    [Description] => FedEx Ground Fuel
                                                                    [Amount] => Array
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 0.81
                                                                        )
                                                                )
                                                        )
                                                )
                                        )
                                )
                        )
                )
        )
)