OrderService


Click here for a complete list of operations.

AcceptNewOrders

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/AcceptNewOrders"

<?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>
    <AcceptNewOrders xmlns="https://api.mypropago.com/Public/OrderService">
      <credentials>
        <CustomerName>string</CustomerName>
        <ApiKey>string</ApiKey>
      </credentials>
      <orderNumbers>
        <string>string</string>
        <string>string</string>
      </orderNumbers>
    </AcceptNewOrders>
  </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>
    <AcceptNewOrdersResponse xmlns="https://api.mypropago.com/Public/OrderService">
      <AcceptNewOrdersResult>
        <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>boolean</Data>
        <Message>string</Message>
        <ErrorGuid>string</ErrorGuid>
      </AcceptNewOrdersResult>
    </AcceptNewOrdersResponse>
  </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>
    <AcceptNewOrders xmlns="https://api.mypropago.com/Public/OrderService">
      <credentials>
        <CustomerName>string</CustomerName>
        <ApiKey>string</ApiKey>
      </credentials>
      <orderNumbers>
        <string>string</string>
        <string>string</string>
      </orderNumbers>
    </AcceptNewOrders>
  </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>
    <AcceptNewOrdersResponse xmlns="https://api.mypropago.com/Public/OrderService">
      <AcceptNewOrdersResult>
        <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>boolean</Data>
        <Message>string</Message>
        <ErrorGuid>string</ErrorGuid>
      </AcceptNewOrdersResult>
    </AcceptNewOrdersResponse>
  </soap12:Body>
</soap12:Envelope>