FEDEX  Web services Estimated Time

Posted on 2011-10-19
Last Modified: 2012-05-12
I am using Fedex Web service to get fixed rate for different shipping method.I am trying to use same web service to get estimated delivery time for the same web service.I am not able to figure out that weather I can do that or not.I search out but I did not get proper information.

can anyone please help me to use webservice to get Estimated time for diffrent fedex method.

Like for Ground  it gives me rate 17.00 (I want days also here just like 5-7 days)
Question by:Itgirl16
    LVL 20

    Expert Comment

    It will help if you can provide a little more information like which of the FedEx Services your are using and some of your sample code.  If you use the Rate Service, you can get both the rate and the transit time.  In your request make sure you have added the ReturnTransitAndCommit node and have a value of True.  The Return will have a node titled CommitDetails which will contain the information you need.

    Here is an example of requesting the Transit Time:
            request.ReturnTransitAndCommit = True
            request.ReturnTransitAndCommitSpecified = True

    Open in new window

    Here is an example of parsing out the reply:
    	If (rateReplyDetail.DeliveryTimestampSpecified) Then
                Console.WriteLine("Delivery timestamp: " + rateReplyDetail.DeliveryTimestamp.ToString)
            End If
            If (rateReplyDetail.TransitTimeSpecified) Then
                Console.WriteLine("Transit time: " + rateReplyDetail.TransitTime.ToString)
            End If

    Open in new window

    If you download the sample code from FedEx, it has this flag already set.  If you need more detailed help in adding this value, please post your code (removing the FedEx credentials, password, account and meter).  

    Author Comment

    @ltlbearand3: I am not able to parsing out the reply.I made the request but when I am trying to get reply using same thing as you specified

    rateReplyDetail.DeliveryTimestampSpecified.IT is not giving me any option of DeliveryTimestampSpecified with ratereplydetail.?I should use the same option or is there any other option I can use for

    var reply = service.getRates(request);

    this way I am getting rate (for your referance)

    LVL 20

    Accepted Solution

    What language do you have this coded in?  You list .net -,  There is sample code on the FedEx Developer resource center that you can review to see how to make this work.  In the sample code, you can also uncomment some lines to have it write out the xml request and reply to a file.

    If you can post your code minus confidential information that will help.

    It looks like you may be using  If so try this line to get your reply:

    RateReply reply = service.getRates(request);


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now