ShippingQuoteWS
Click here for a complete list of operations.
GetShippingQuote
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /logistics/ShippingQuoteWS.asmx HTTP/1.1 Host: services.frenet.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetShippingQuote" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetShippingQuote xmlns="http://tempuri.org/"> <quoteRequest> <Username>string</Username> <Password>string</Password> <SellerCEP>string</SellerCEP> <RecipientCEP>string</RecipientCEP> <RecipientDocument>string</RecipientDocument> <ShipmentInvoiceValue>decimal</ShipmentInvoiceValue> <ShippingItemArray> <ShippingItem> <Weight>decimal</Weight> <Length>decimal</Length> <Height>decimal</Height> <Width>decimal</Width> <Diameter>decimal</Diameter> <SKU>string</SKU> <Category>string</Category> <isFragile>boolean</isFragile> <Quantity>string</Quantity> <ProductName>string</ProductName> </ShippingItem> <ShippingItem> <Weight>decimal</Weight> <Length>decimal</Length> <Height>decimal</Height> <Width>decimal</Width> <Diameter>decimal</Diameter> <SKU>string</SKU> <Category>string</Category> <isFragile>boolean</isFragile> <Quantity>string</Quantity> <ProductName>string</ProductName> </ShippingItem> </ShippingItemArray> <RecipientCountry>string</RecipientCountry> <ShippingServiceCode>string</ShippingServiceCode> <IsCubicWeight>boolean</IsCubicWeight> <Coupom>string</Coupom> <PlatformName>string</PlatformName> <PlatformVersion>string</PlatformVersion> <Option> <InPersonDelivery>boolean</InPersonDelivery> <ReceiptNotification>boolean</ReceiptNotification> <DeclaredValue>boolean</DeclaredValue> <MaxInvoice>boolean</MaxInvoice> <DeliveryBranchOffice>string</DeliveryBranchOffice> </Option> </quoteRequest> </GetShippingQuote> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetShippingQuoteResponse xmlns="http://tempuri.org/"> <GetShippingQuoteResult> <ShippingSevicesArray> <ShippingSevices> <ServiceID>int</ServiceID> <ServiceCode>string</ServiceCode> <ServiceDescription>string</ServiceDescription> <Carrier>string</Carrier> <ShippingPrice>string</ShippingPrice> <OriginalShippingPrice>string</OriginalShippingPrice> <DeliveryTime>string</DeliveryTime> <OriginalDeliveryTime>string</OriginalDeliveryTime> <InfoCalculate xsi:nil="true" /> <ResponseTime>string</ResponseTime> <Error>boolean</Error> <Msg>string</Msg> <Pickup xsi:nil="true" /> <AllowBuyLabel>boolean</AllowBuyLabel> <OwnerContract>boolean</OwnerContract> <FrenetContract>boolean</FrenetContract> <DeliveryBranchOffice>string</DeliveryBranchOffice> <DeliveryBranchOfficeValue>string</DeliveryBranchOfficeValue> <DeliveryBranchOfficeTime>string</DeliveryBranchOfficeTime> <FranchiseValue>string</FranchiseValue> <HubValue>string</HubValue> <ShippingPriceCarrier>decimal</ShippingPriceCarrier> </ShippingSevices> <ShippingSevices> <ServiceID>int</ServiceID> <ServiceCode>string</ServiceCode> <ServiceDescription>string</ServiceDescription> <Carrier>string</Carrier> <ShippingPrice>string</ShippingPrice> <OriginalShippingPrice>string</OriginalShippingPrice> <DeliveryTime>string</DeliveryTime> <OriginalDeliveryTime>string</OriginalDeliveryTime> <InfoCalculate xsi:nil="true" /> <ResponseTime>string</ResponseTime> <Error>boolean</Error> <Msg>string</Msg> <Pickup xsi:nil="true" /> <AllowBuyLabel>boolean</AllowBuyLabel> <OwnerContract>boolean</OwnerContract> <FrenetContract>boolean</FrenetContract> <DeliveryBranchOffice>string</DeliveryBranchOffice> <DeliveryBranchOfficeValue>string</DeliveryBranchOfficeValue> <DeliveryBranchOfficeTime>string</DeliveryBranchOfficeTime> <FranchiseValue>string</FranchiseValue> <HubValue>string</HubValue> <ShippingPriceCarrier>decimal</ShippingPriceCarrier> </ShippingSevices> </ShippingSevicesArray> <Message>string</Message> </GetShippingQuoteResult> </GetShippingQuoteResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /logistics/ShippingQuoteWS.asmx HTTP/1.1 Host: services.frenet.com.br Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetShippingQuote xmlns="http://tempuri.org/"> <quoteRequest> <Username>string</Username> <Password>string</Password> <SellerCEP>string</SellerCEP> <RecipientCEP>string</RecipientCEP> <RecipientDocument>string</RecipientDocument> <ShipmentInvoiceValue>decimal</ShipmentInvoiceValue> <ShippingItemArray> <ShippingItem> <Weight>decimal</Weight> <Length>decimal</Length> <Height>decimal</Height> <Width>decimal</Width> <Diameter>decimal</Diameter> <SKU>string</SKU> <Category>string</Category> <isFragile>boolean</isFragile> <Quantity>string</Quantity> <ProductName>string</ProductName> </ShippingItem> <ShippingItem> <Weight>decimal</Weight> <Length>decimal</Length> <Height>decimal</Height> <Width>decimal</Width> <Diameter>decimal</Diameter> <SKU>string</SKU> <Category>string</Category> <isFragile>boolean</isFragile> <Quantity>string</Quantity> <ProductName>string</ProductName> </ShippingItem> </ShippingItemArray> <RecipientCountry>string</RecipientCountry> <ShippingServiceCode>string</ShippingServiceCode> <IsCubicWeight>boolean</IsCubicWeight> <Coupom>string</Coupom> <PlatformName>string</PlatformName> <PlatformVersion>string</PlatformVersion> <Option> <InPersonDelivery>boolean</InPersonDelivery> <ReceiptNotification>boolean</ReceiptNotification> <DeclaredValue>boolean</DeclaredValue> <MaxInvoice>boolean</MaxInvoice> <DeliveryBranchOffice>string</DeliveryBranchOffice> </Option> </quoteRequest> </GetShippingQuote> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetShippingQuoteResponse xmlns="http://tempuri.org/"> <GetShippingQuoteResult> <ShippingSevicesArray> <ShippingSevices> <ServiceID>int</ServiceID> <ServiceCode>string</ServiceCode> <ServiceDescription>string</ServiceDescription> <Carrier>string</Carrier> <ShippingPrice>string</ShippingPrice> <OriginalShippingPrice>string</OriginalShippingPrice> <DeliveryTime>string</DeliveryTime> <OriginalDeliveryTime>string</OriginalDeliveryTime> <InfoCalculate xsi:nil="true" /> <ResponseTime>string</ResponseTime> <Error>boolean</Error> <Msg>string</Msg> <Pickup xsi:nil="true" /> <AllowBuyLabel>boolean</AllowBuyLabel> <OwnerContract>boolean</OwnerContract> <FrenetContract>boolean</FrenetContract> <DeliveryBranchOffice>string</DeliveryBranchOffice> <DeliveryBranchOfficeValue>string</DeliveryBranchOfficeValue> <DeliveryBranchOfficeTime>string</DeliveryBranchOfficeTime> <FranchiseValue>string</FranchiseValue> <HubValue>string</HubValue> <ShippingPriceCarrier>decimal</ShippingPriceCarrier> </ShippingSevices> <ShippingSevices> <ServiceID>int</ServiceID> <ServiceCode>string</ServiceCode> <ServiceDescription>string</ServiceDescription> <Carrier>string</Carrier> <ShippingPrice>string</ShippingPrice> <OriginalShippingPrice>string</OriginalShippingPrice> <DeliveryTime>string</DeliveryTime> <OriginalDeliveryTime>string</OriginalDeliveryTime> <InfoCalculate xsi:nil="true" /> <ResponseTime>string</ResponseTime> <Error>boolean</Error> <Msg>string</Msg> <Pickup xsi:nil="true" /> <AllowBuyLabel>boolean</AllowBuyLabel> <OwnerContract>boolean</OwnerContract> <FrenetContract>boolean</FrenetContract> <DeliveryBranchOffice>string</DeliveryBranchOffice> <DeliveryBranchOfficeValue>string</DeliveryBranchOfficeValue> <DeliveryBranchOfficeTime>string</DeliveryBranchOfficeTime> <FranchiseValue>string</FranchiseValue> <HubValue>string</HubValue> <ShippingPriceCarrier>decimal</ShippingPriceCarrier> </ShippingSevices> </ShippingSevicesArray> <Message>string</Message> </GetShippingQuoteResult> </GetShippingQuoteResponse> </soap12:Body> </soap12:Envelope>