RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home
Welcome! Log In Create A New Profile

Advanced

UPS Live Server Enabled methods ?

Posted by cos 
cos
UPS Live Server Enabled methods ?
July 27, 2016 04:09PM
UPS Live Enabled methods available in rtd are:

Next Day Air
2nd Day Air
Ground
3 Day Select

Can you add these two Saver choices? We can get very good negotiable rates on these and be more competitive against other carriers. Many customers would not care that the package possibly arrives later in the day.

Next Day Air Saver
2nd Day Air Saver

Also, I know the UPS api allows to show transit times along with the price. Can we get that turned on also?
And if USPS has this in their api it would be great also.
cos
Re: UPS Live Server Enabled methods ?
July 28, 2016 10:35AM
My bad. Nix that 2nd Day Air Saver. It should just be 2nd Day Air as is already in rtd list. So, just need Next Day Air Saver.
Re: UPS Live Server Enabled methods ?
August 01, 2016 04:31AM
Next Day Air Saver added to the UPS methods.

For transit times, for curiosity, I've chekced the returned values of the UPS API.
I see there are 2 fields returned: [GUARANTEEDDAYSTODELIVERY] and [SCHEDULEDDELIVERYTIME].
However, often they're empty. GUARANTEEDDAYSTODELIVERY reports number of days you can already know just by the method name (second day air returns 1, 3 days select returns 3). About SCHEDULEDDELIVERYTIME, I've seen values in there only for the GROUND method.
With this, I'm really thinking if it would really be that useful to include such results. It's not that we will always have data, for example both nex day air returns just nothing for both fields... and so (programmatically) I'd have nothing to show. What do you think?

USPS:
Trying to dump the result of their API I saw no fields about transit times
cos
Re: UPS Live Server Enabled methods ?
August 01, 2016 06:29AM
Thanks. Yes, next day, 2 day are obvious. Just ground needs the time in transit. Ground in the USA spans 6 days so that will be very useful for users. As for USPS, nothing surprises me with them anymore after working with them for a couple of years.
cos
Re: UPS Live Server Enabled methods ?
August 01, 2016 10:35AM
I assume the days in transit for UPS Ground should show up in the shipping price shown in the cart and in the External Pricing. It's not showing for our testing. Is there something we need to do?
Re: UPS Live Server Enabled methods ?
August 01, 2016 11:06AM
Oh no. That's not visible anywhere yet. I just reported what I saw from the API.
If I'm to add that I just need to determine WHERE. More likely somewhere in the cart for users. But need also to determine HOW, as currently we're just grabbing numbers that are also used for the calc.
Will chew.
cos
Re: UPS Live Server Enabled methods ?
August 08, 2016 06:48AM
May I suggest placement be just after the word Ground like this:

Ground - Estimated 3 days in transit
Re: UPS Live Server Enabled methods ?
August 09, 2016 04:50AM
Sound "harder" to try than I thought.
I made a test against UPS, trying to set a shipment from Georgia to California.
This is the full response I've got from the UPS API:
Array
(
    [RATINGSERVICESELECTIONRESPONSE] => Array
        (
            [RESPONSE] => Array
                (
                    [TRANSACTIONREFERENCE] => Array
                        (
                            [CUSTOMERCONTEXT] => Bare Bones Rate Request
                            [XPCIVERSION] => 1.0001
                        )

                    [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] => 4.0
                        )

                    [TRANSPORTATIONCHARGES] => Array
                        (
                            [CURRENCYCODE] => USD
                            [MONETARYVALUE] => 15.84
                        )

                    [SERVICEOPTIONSCHARGES] => Array
                        (
                            [CURRENCYCODE] => USD
                            [MONETARYVALUE] => 0.00
                        )

                    [TOTALCHARGES] => Array
                        (
                            [CURRENCYCODE] => USD
                            [MONETARYVALUE] => 15.84
                        )

                    [GUARANTEEDDAYSTODELIVERY] => 
                    [SCHEDULEDDELIVERYTIME] => 
                    [RATEDPACKAGE] => Array
                        (
                            [TRANSPORTATIONCHARGES] => Array
                                (
                                    [CURRENCYCODE] => USD
                                    [MONETARYVALUE] => 15.84
                                )

                            [SERVICEOPTIONSCHARGES] => Array
                                (
                                    [CURRENCYCODE] => USD
                                    [MONETARYVALUE] => 0.00
                                )

                            [TOTALCHARGES] => Array
                                (
                                    [CURRENCYCODE] => USD
                                    [MONETARYVALUE] => 15.84
                                )

                            [WEIGHT] => 2.4
                            [BILLINGWEIGHT] => Array
                                (
                                    [UNITOFMEASUREMENT] => Array
                                        (
                                            [ CODE] => LBS
                                        )

                                    [WEIGHT] => 4.0
                                )

                        )

                    [NEGOTIATEDRATES] => Array
                        (
                            [NETSUMMARYCHARGES] => Array
                                (
                                    [GRANDTOTAL] => Array
                                        (
                                            [CURRENCYCODE] => USD
                                            [MONETARYVALUE] => 14.37
                                        )

                                )

                        )

                )

        )

    [RTDVALUES] => Array
        (
            [cartons] => 1
            [weight_percarton] => 2.4
            [WeightMeasure] => LBS
        )

)

This is a GROUND method call.
However, you see I do not have anything at all about delivery times.
There are the abovementioned GUARANTEEDDAYSTODELIVERY and SCHEDULEDDELIVERYTIME, however they're both empty.
Silly fact is that, unless I find a combination that would actually SHOW me some values in there, it's close to impossible for me to determine how to format them, simply because I don't even know what to expect, IE the format...
Sorry, only registered users may post in this forum.

Click here to login