Reputation: 81
Does the Fedex GetRate Web Service return the delivery days (as a number) for a parcel from one location to another location as part of the web service?
Actually the reason for asking this is because I have to first fetch the delivery days what fedex returning for each types, and on top of that I need to do further date calculation as per the requirement of the shipment.
I have checked the Response of the GetRate web service but I can't find any return parameter so I am not sure if there is any other web service they are providing for this or not.
Thanks in advance.
Upvotes: 1
Views: 403
Reputation: 108
Acording to Fedex Documentation, Table 178. RateRequest Elements You can get the delivery timestamp by setting to true or false the parameter ReturnTransitAndCommit.
$this->rateRequest->ReturnTransitAndCommit = true;
The xml request that you send, looks like:
<Version>
.....
</Version>
<ReturnTransitAndCommit>1</ReturnTransitAndCommit>
Upvotes: 0
Reputation: 11
From the documentation:
Optional.
Allows the caller to specify that the transit time and commit data are to be returned in the reply. Valid values include:
- TRUE
- FALSE
Upvotes: 1