OrderService
Click here for a complete list of operations.
GetShippingInformation
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 /public/orderservice.asmx HTTP/1.1 Host: test-api.mypropago.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://api.mypropago.com/Public/OrderService/GetShippingInformation" <?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> <GetShippingInformation xmlns="https://api.mypropago.com/Public/OrderService"> <credentials> <CustomerName>string</CustomerName> <ApiKey>string</ApiKey> </credentials> <orderNumber>string</orderNumber> </GetShippingInformation> </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> <GetShippingInformationResponse xmlns="https://api.mypropago.com/Public/OrderService"> <GetShippingInformationResult> <ReturnCode>Undefined or Success or OrderRetrievedSuccessfully or ShipmentCreatedSuccessfuly or InvalidLoginNameKeyCombination or UnAuthorizedAccess or InvalidOrderNumber or InvalidCarrierName or ShipmentHasAlreadyBeenSubmittedForThisOrder or UnexpectedErrorOnServer or ServiceTypeNotEnabled or OrderProcessIncomplete or OrderPlacementError or NoShipmentsFoundForOrder or SkuCreationError or SkuNotFound or SearchError or CompanyCredentialsRequired or InvalidShipmentQuantity or InvalidOrderLineId or ShipmentError or ShipmentNotFound or InvalidOrderOperation or PaymentProcessingError or NoShipmentData or NoData or PriceListNotFound or InvalidInventoryQuantity or SeeDataForDetails or InvalidOrderLineStatus or OrderCannotShip or Error</ReturnCode> <Data> <Shipper> <ShipmentId>int</ShipmentId> <ShipmentDetails xsi:nil="true" /> <ShipmentLines xsi:nil="true" /> <OrderNumber>string</OrderNumber> <ShipDate>dateTime</ShipDate> </Shipper> <Shipper> <ShipmentId>int</ShipmentId> <ShipmentDetails xsi:nil="true" /> <ShipmentLines xsi:nil="true" /> <OrderNumber>string</OrderNumber> <ShipDate>dateTime</ShipDate> </Shipper> </Data> <Message>string</Message> <ErrorGuid>string</ErrorGuid> </GetShippingInformationResult> </GetShippingInformationResponse> </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 /public/orderservice.asmx HTTP/1.1 Host: test-api.mypropago.com 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> <GetShippingInformation xmlns="https://api.mypropago.com/Public/OrderService"> <credentials> <CustomerName>string</CustomerName> <ApiKey>string</ApiKey> </credentials> <orderNumber>string</orderNumber> </GetShippingInformation> </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> <GetShippingInformationResponse xmlns="https://api.mypropago.com/Public/OrderService"> <GetShippingInformationResult> <ReturnCode>Undefined or Success or OrderRetrievedSuccessfully or ShipmentCreatedSuccessfuly or InvalidLoginNameKeyCombination or UnAuthorizedAccess or InvalidOrderNumber or InvalidCarrierName or ShipmentHasAlreadyBeenSubmittedForThisOrder or UnexpectedErrorOnServer or ServiceTypeNotEnabled or OrderProcessIncomplete or OrderPlacementError or NoShipmentsFoundForOrder or SkuCreationError or SkuNotFound or SearchError or CompanyCredentialsRequired or InvalidShipmentQuantity or InvalidOrderLineId or ShipmentError or ShipmentNotFound or InvalidOrderOperation or PaymentProcessingError or NoShipmentData or NoData or PriceListNotFound or InvalidInventoryQuantity or SeeDataForDetails or InvalidOrderLineStatus or OrderCannotShip or Error</ReturnCode> <Data> <Shipper> <ShipmentId>int</ShipmentId> <ShipmentDetails xsi:nil="true" /> <ShipmentLines xsi:nil="true" /> <OrderNumber>string</OrderNumber> <ShipDate>dateTime</ShipDate> </Shipper> <Shipper> <ShipmentId>int</ShipmentId> <ShipmentDetails xsi:nil="true" /> <ShipmentLines xsi:nil="true" /> <OrderNumber>string</OrderNumber> <ShipDate>dateTime</ShipDate> </Shipper> </Data> <Message>string</Message> <ErrorGuid>string</ErrorGuid> </GetShippingInformationResult> </GetShippingInformationResponse> </soap12:Body> </soap12:Envelope>