I have added this line to the sample code provided by fedex
request.RequestedShipment.EdtRequestType = EdtRequestType.ALL;
and was expecting this line will add the following xml line to request but it did not
This line will get estimate duties and taxes from fedex but I think I am doing something wrong and need someone to help write the asp.net code in the right way to be able to generate this xml code. Following is the asp.net code I have. Let me know if you need anything else from me to help me.
private static void SetShipmentDetails(RateRequest request)
request.RequestedShipment = new RequestedShipment();
request.RequestedShipment.DropoffType = DropoffType.REGULAR_PICKUP; //Drop off types are BUSINESS_SERVICE_CENTER, DROP_BOX, REGULAR_PICKUP, REQUEST_COURIER, STATION
request.RequestedShipment.ServiceType = ServiceType.INTERNATIONAL_PRIORITY; // Service types are STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, FEDEX_GROUND ...
View Complete Post