This C# program demonstrates how to get shipping rates from the FedEx API, using the example from the FedEx website.
This program requires installing the NuGet package Newtonsoft.Json in order to use the deserializing function to read the string into an object.
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; // This requires the Newtonsoft NuGet package installation: "Newtonsoft.Json" using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace FedExRatesExample { internal class Program { // This is a temporary object that is used for parsing the response public class CFedExToken { public CFedExToken() { expires_in = ""; access_token = ""; token_type = ""; scope = ""; } public string access_token { get; set; } public string expires_in { get; set; } public string token_type { get; set; } public string scope { get; set; } } static void Main(string[] args) { HttpClient client = new HttpClient(); List<KeyValuePair<string, string>> postData = new List<KeyValuePair<string, string>>(); postData.Add(new KeyValuePair<string, string>("grant_type", "client_credentials")); postData.Add(new KeyValuePair<string, string>("client_id", "l97962b486095e64be6801dab86aa55076")); postData.Add(new KeyValuePair<string, string>("client_secret", "af9ee3251569f0a3d4ec68e413e6a371")); Task<HttpResponseMessage> sRequest = client.PostAsync("https://apis-sandbox.fedex.com/oauth/token", new FormUrlEncodedContent(postData)); Task<string> sResponse = sRequest.Result.Content.ReadAsStringAsync(); CFedExToken qFedExToken = JsonConvert.DeserializeObject<CFedExToken>(sResponse.Result); // Call the rate method HttpClient qHttpRateClient = new HttpClient(); qHttpRateClient.DefaultRequestHeaders.Add("Authorization", "Bearer " + qFedExToken.access_token); qHttpRateClient.DefaultRequestHeaders.Add("X-locale", "en_US"); // This can be used, but it doesn't seem necessary qHttpRateClient.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "application/json; charset=utf-8"); // This header was used with the RestClient object in the FedEx examples, but it causes a problem here. //qHttpRateClient.DefaultRequestHeaders.Add("Content-Type", "application/json"); Console.WriteLine("Request Headers: \n" + qHttpRateClient.DefaultRequestHeaders.ToString()); // This is the actual example from FedEx. JObject json = JObject.Parse(@"{ ""accountNumber"": { ""value"": ""XXXXX7364"" }, ""requestedShipment"": { ""shipper"": { ""address"": { ""postalCode"": 65247, ""countryCode"": ""US"" } }, ""recipient"": { ""address"": { ""postalCode"": 75063, ""countryCode"": ""US"" } }, ""pickupType"": ""DROPOFF_AT_FEDEX_LOCATION"", ""rateRequestType"": [ ""ACCOUNT"", ""LIST"" ], ""requestedPackageLineItems"": [ { ""weight"": { ""units"": ""LB"", ""value"": 10 } } ] } }"); var qRatePostData = new StringContent(json.ToString(), Encoding.UTF8, "application/json"); // NOTE: This is the sandbox version of the api var qRequest = qHttpRateClient.PostAsync("https://apis-sandbox.fedex.com/rate/v1/rates/quotes", qRatePostData).Result; var sRateResponse = qRequest.Content.ReadAsStringAsync().Result; Console.WriteLine(JValue.Parse(sRateResponse).ToString(Newtonsoft.Json.Formatting.Indented)); } } }
Request Headers: Authorization: Bearer 93obHmxs3MNv53Ar4pZFoxD28wjW6y+Y/DBBQkKY4Vu7tpoftEh77Yv79t31Snt7Pb89xu1jbk6KIq7Ux6YjvudwtbKnp/zTtbU7HV4vhHuIWxO3w9yauQ2SEsP+vwWTHyaEAnsiHuL0+R5Is1r/W3vtR8XF17MAdvLbHm593FzcvOH6EVaonHTuqIQ+tkLfamh48sXTpyFgk0ixdFB6EMQ0bkmkCLq2Twj0BZaKihOJoEWswPilMG5DY9nnRObHuQxMD4RdufHcG07+uF+EWfHM1W7utycmPMaVQirY3GVlH9ktlku1F6+pqfnuu11dtfz2ELfTFMIqxWCFdrEVgiuaIvrBROrmdorbcW6t3atXF+TY7Z/l91/gtpSCGXiEW4XX73+zaWjorVlVVUN0lrLhPOZCfnmR29XcdvMkvilt61YpNKPFacLwg5uDxthDYPxu4JcnSOHtQzwpHhgjuoV6HpKx5dy+Em8fjKNNh+Mwrtw/aFUca59M1B/bgscecfyJyvT6ujyeDfqLP5s9+xp+yRctzQifSLEprNBXDxy4f3V1dS0LH5JVED5YNlg5CByIeeLlBQsyPWVl5awM4BJDWDDR9Nq8hNvXbRbLKxemph53rllzzwvz52eQatkSAkIZVAgcAUuTLBZMQCTiYFVHuxpw1vnBrYMUBTGmk5Txm0eKIkU+JJXb+lOrVi3U0M4a5t53uH1PTPBY4Ic0CmUgAHKWLnAek9Wefq/Xpukz7NglJEoh+Cdv2/YXt98ftN69ODPzmqvz8uAOXcAtmzSZ53AZ68D3bIW29fT8ekpl5c/ZJYU7lSXGA6sGYYPQIU492l5aes0NBQWVPNFviBZhRmJKitX66JcnT96xZ+nST5Liso27YtAog4t1X2ElAMk4LN1l0ugScmeVH6QoBigID42hQtBY6lTt9W6Pp5QUBQEDYLjkyffeSYoChuL98Exp6VyKgud8H7ysH44B+qDpTG6TKc7Erh5OOZ2pol/tyk7YfhO5FuztjtIqjYEVgtBB+E64ysoeyE9KgiCnUhzAbvWCSzMyKioWLYKwjGpZLhKEUQbk8vvxzAWkZOkLKYQFjwHOCj+4neE2QGOsDATcw22l/uLe/n7gNJ/bhaQohSAe8vhw/SHNLStZZnasLy4uFjQwtNgaBTQWuTh4MeAvnpktnjkqODI4CK/jE6TIzGQxlrCym5CkooCAVeIJWpOkiV2FVXqHY9eONbm5jrcXLnyQL3/LsIPQsSmsUC8pcS8EEFny7qE1a+7mZ X - locale: en_US { "transactionId": "APIF_SV_RATC_TxID206ab89d-6825-40b2-844f-dd81d1b41129", "customerTransactionId": "customer test", "output": { "alerts": [ { "code": "VIRTUAL.RESPONSE", "message": "This is a Virtual Response.", "alertType": "NOTE" }, { "code": "ORIGIN.STATEORPROVINCECODE.CHANGED", "message": "The origin state/province code has been changed.", "alertType": "NOTE" }, { "code": "DESTINATION.STATEORPROVINCECODE.CHANGED", "message": "The destination state/province code has been changed.", "alertType": "NOTE" } ], "rateReplyDetails": [ { "serviceType": "FIRST_OVERNIGHT", "serviceName": "FedEx First Overnightr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 114.39, "totalNetCharge": 131.55, "totalNetFedExCharge": 131.55, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 17.16, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 17.16 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "14" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 114.39, "netFreight": 114.39, "totalSurcharges": 17.16, "netFedExCharge": 131.55, "totalTaxes": 0.0, "netCharge": 131.55, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 17.16 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 114.39, "totalNetCharge": 131.55, "totalNetFedExCharge": 131.55, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 17.16, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 17.16 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "14" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 114.39, "netFreight": 114.39, "totalSurcharges": 17.16, "netFedExCharge": 131.55, "totalTaxes": 0.0, "netCharge": 131.55, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 17.16 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "1ST OVR", "airportId": "EWR", "serviceCode": "06" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000006", "serviceType": "FIRST_OVERNIGHT", "code": "06", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx First Overnightr" }, { "type": "long", "encoding": "ascii", "value": "FedEx First Overnight" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx First Overnightr" }, { "type": "medium", "encoding": "ascii", "value": "FedEx First Overnight" }, { "type": "short", "encoding": "utf-8", "value": "FO" }, { "type": "short", "encoding": "ascii", "value": "FO" }, { "type": "abbrv", "encoding": "ascii", "value": "FO" } ], "serviceCategory": "parcel", "description": "First Overnight", "astraDescription": "1ST OVR" } }, { "serviceType": "PRIORITY_OVERNIGHT", "serviceName": "FedEx Priority Overnightr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 83.39, "totalNetCharge": 95.9, "totalNetFedExCharge": 95.9, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 12.51, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 12.51 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "1574" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 83.39, "netFreight": 83.39, "totalSurcharges": 12.51, "netFedExCharge": 95.9, "totalTaxes": 0.0, "netCharge": 95.9, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 12.51 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 83.39, "totalNetCharge": 95.9, "totalNetFedExCharge": 95.9, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 12.51, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 12.51 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "1574" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 83.39, "netFreight": 83.39, "totalSurcharges": 12.51, "netFedExCharge": 95.9, "totalTaxes": 0.0, "netCharge": 95.9, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 12.51 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "P1", "airportId": "EWR", "serviceCode": "01" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000002", "serviceType": "PRIORITY_OVERNIGHT", "code": "01", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx Priority Overnightr" }, { "type": "long", "encoding": "ascii", "value": "FedEx Priority Overnight" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx Priority Overnightr" }, { "type": "medium", "encoding": "ascii", "value": "FedEx Priority Overnight" }, { "type": "short", "encoding": "utf-8", "value": "P-1" }, { "type": "short", "encoding": "ascii", "value": "P-1" }, { "type": "abbrv", "encoding": "ascii", "value": "PO" } ], "serviceCategory": "parcel", "description": "Priority Overnight", "astraDescription": "P1" } }, { "serviceType": "STANDARD_OVERNIGHT", "serviceName": "FedEx Standard Overnightr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 74.56, "totalNetCharge": 85.74, "totalNetFedExCharge": 85.74, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 11.18, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 11.18 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "1371" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 74.56, "netFreight": 74.56, "totalSurcharges": 11.18, "netFedExCharge": 85.74, "totalTaxes": 0.0, "netCharge": 85.74, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 11.18 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 74.56, "totalNetCharge": 85.74, "totalNetFedExCharge": 85.74, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 11.18, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 11.18 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "1371" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 74.56, "netFreight": 74.56, "totalSurcharges": 11.18, "netFedExCharge": 85.74, "totalTaxes": 0.0, "netCharge": 85.74, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 11.18 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "STD OVR", "airportId": "EWR", "serviceCode": "05" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000005", "serviceType": "STANDARD_OVERNIGHT", "code": "05", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx Standard Overnightr" }, { "type": "long", "encoding": "ascii", "value": "FedEx Standard Overnight" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx Standard Overnightr" }, { "type": "medium", "encoding": "ascii", "value": "FedEx Standard Overnight" }, { "type": "short", "encoding": "utf-8", "value": "SOS" }, { "type": "short", "encoding": "ascii", "value": "SOS" }, { "type": "abbrv", "encoding": "ascii", "value": "SO" } ], "serviceCategory": "parcel", "description": "Standard Overnight", "astraDescription": "STD OVR" } }, { "serviceType": "FEDEX_2_DAY_AM", "serviceName": "FedEx 2Dayr AM", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 41.46, "totalNetCharge": 47.68, "totalNetFedExCharge": 47.68, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 6.22, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 6.22 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "12" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 41.46, "netFreight": 41.46, "totalSurcharges": 6.22, "netFedExCharge": 47.68, "totalTaxes": 0.0, "netCharge": 47.68, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 6.22 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 41.46, "totalNetCharge": 47.68, "totalNetFedExCharge": 47.68, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 6.22, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 6.22 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "12" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 41.46, "netFreight": 41.46, "totalSurcharges": 6.22, "netFedExCharge": 47.68, "totalTaxes": 0.0, "netCharge": 47.68, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 6.22 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "2DAY AM", "airportId": "EWR", "serviceCode": "49" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000023", "serviceType": "FEDEX_2_DAY_AM", "code": "49", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx 2Dayr AM" }, { "type": "long", "encoding": "ascii", "value": "FedEx 2Day AM" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx 2Dayr AM" }, { "type": "medium", "encoding": "ascii", "value": "FedEx 2Day AM" }, { "type": "short", "encoding": "utf-8", "value": "E2AM" }, { "type": "short", "encoding": "ascii", "value": "E2AM" }, { "type": "abbrv", "encoding": "ascii", "value": "TA" } ], "serviceCategory": "parcel", "description": "2DAY AM", "astraDescription": "2DAY AM" } }, { "serviceType": "FEDEX_2_DAY", "serviceName": "FedEx 2Dayr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 34.5, "totalNetCharge": 39.68, "totalNetFedExCharge": 39.68, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 5.18, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 5.18 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "6068" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 34.5, "netFreight": 34.5, "totalSurcharges": 5.18, "netFedExCharge": 39.68, "totalTaxes": 0.0, "netCharge": 39.68, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 5.18 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 34.5, "totalNetCharge": 39.68, "totalNetFedExCharge": 39.68, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 5.18, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 5.18 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "6068" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 34.5, "netFreight": 34.5, "totalSurcharges": 5.18, "netFedExCharge": 39.68, "totalTaxes": 0.0, "netCharge": 39.68, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 5.18 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "E2", "airportId": "EWR", "serviceCode": "03" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000003", "serviceType": "FEDEX_2_DAY", "code": "03", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx 2Dayr" }, { "type": "long", "encoding": "ascii", "value": "FedEx 2Day" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx 2Dayr" }, { "type": "medium", "encoding": "ascii", "value": "FedEx 2Day" }, { "type": "short", "encoding": "utf-8", "value": "P-2" }, { "type": "short", "encoding": "ascii", "value": "P-2" }, { "type": "abbrv", "encoding": "ascii", "value": "ES" } ], "serviceCategory": "parcel", "description": "2Day", "astraDescription": "E2" } }, { "serviceType": "FEDEX_EXPRESS_SAVER", "serviceName": "FedEx Express Saverr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 29.46, "totalNetCharge": 33.88, "totalNetFedExCharge": 33.88, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 4.42, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 4.42 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "7175" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 29.46, "netFreight": 29.46, "totalSurcharges": 4.42, "netFedExCharge": 33.88, "totalTaxes": 0.0, "netCharge": 33.88, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 4.42 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 29.46, "totalNetCharge": 33.88, "totalNetFedExCharge": 33.88, "shipmentRateDetail": { "rateZone": "06", "dimDivisor": 0, "fuelSurchargePercent": 15.0, "totalSurcharges": 4.42, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 4.42 } ], "pricingCode": "PACKAGE", "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD", "rateScale": "7175" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 29.46, "netFreight": 29.46, "totalSurcharges": 4.42, "netFedExCharge": 33.88, "totalTaxes": 0.0, "netCharge": 33.88, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "amount": 4.42 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "XS", "airportId": "EWR", "serviceCode": "20" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000013", "serviceType": "FEDEX_EXPRESS_SAVER", "code": "20", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx Express Saverr" }, { "type": "long", "encoding": "ascii", "value": "FedEx Express Saver" }, { "type": "medium", "encoding": "utf-8", "value": "FedEx Express Saverr" }, { "type": "medium", "encoding": "ascii", "value": "FedEx Express Saver" } ], "serviceCategory": "parcel", "description": "Express Saver", "astraDescription": "XS" } }, { "serviceType": "FEDEX_GROUND", "serviceName": "FedEx Groundr", "packagingType": "YOUR_PACKAGING", "ratedShipmentDetails": [ { "rateType": "ACCOUNT", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 12.38, "totalNetCharge": 14.14, "totalNetFedExCharge": 14.14, "shipmentRateDetail": { "rateZone": "6", "dimDivisor": 0, "fuelSurchargePercent": 14.25, "totalSurcharges": 1.76, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "level": "PACKAGE", "amount": 1.76 } ], "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_ACCOUNT_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 12.38, "netFreight": 12.38, "totalSurcharges": 1.76, "netFedExCharge": 14.14, "totalTaxes": 0.0, "netCharge": 14.14, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "level": "PACKAGE", "amount": 1.76 } ], "currency": "USD" } } ], "currency": "USD" }, { "rateType": "LIST", "ratedWeightMethod": "ACTUAL", "totalDiscounts": 0.0, "totalBaseCharge": 12.38, "totalNetCharge": 14.14, "totalNetFedExCharge": 14.14, "shipmentRateDetail": { "rateZone": "6", "dimDivisor": 0, "fuelSurchargePercent": 14.25, "totalSurcharges": 1.76, "totalFreightDiscount": 0.0, "surCharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "level": "PACKAGE", "amount": 1.76 } ], "totalBillingWeight": { "units": "LB", "value": 1.0 }, "currency": "USD" }, "ratedPackages": [ { "groupNumber": 0, "effectiveNetDiscount": 0.0, "packageRateDetail": { "rateType": "PAYOR_LIST_PACKAGE", "ratedWeightMethod": "ACTUAL", "baseCharge": 12.38, "netFreight": 12.38, "totalSurcharges": 1.76, "netFedExCharge": 14.14, "totalTaxes": 0.0, "netCharge": 14.14, "totalRebates": 0.0, "billingWeight": { "units": "LB", "value": 1.0 }, "totalFreightDiscounts": 0.0, "surcharges": [ { "type": "FUEL", "description": "Fuel Surcharge", "level": "PACKAGE", "amount": 1.76 } ], "currency": "USD" } } ], "currency": "USD" } ], "operationalDetail": { "ineligibleForMoneyBackGuarantee": false, "astraDescription": "FXG", "airportId": "EWR", "serviceCode": "92" }, "signatureOptionType": "SERVICE_DEFAULT", "serviceDescription": { "serviceId": "EP1000000134", "serviceType": "FEDEX_GROUND", "code": "92", "names": [ { "type": "long", "encoding": "utf-8", "value": "FedEx Groundr" }, { "type": "long", "encoding": "ascii", "value": "FedEx Ground" }, { "type": "medium", "encoding": "utf-8", "value": "Groundr" }, { "type": "medium", "encoding": "ascii", "value": "Ground" }, { "type": "short", "encoding": "utf-8", "value": "FG" }, { "type": "short", "encoding": "ascii", "value": "FG" }, { "type": "abbrv", "encoding": "ascii", "value": "SG" } ], "description": "FedEx Ground", "astraDescription": "FXG" } } ], "quoteDate": "2023-08-02", "encoded": false } } Press any key to continue . . .
© 20072025 XoaX.net LLC. All rights reserved.