OrderTasks


Click here for a complete list of operations.

GetNewTransactions

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 /ordertasks.asmx HTTP/1.1
Host: integrationapi.modernretail.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetNewTransactions"

<?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:Header>
    <AuthenticationHeader xmlns="http://tempuri.org/">
      <WebServiceKey>string</WebServiceKey>
      <StoreLogin>string</StoreLogin>
      <StorePassword>string</StorePassword>
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <GetNewTransactions xmlns="http://tempuri.org/" />
  </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>
    <GetNewTransactionsResponse xmlns="http://tempuri.org/">
      <GetNewTransactionsResult>
        <Order>
          <transactionID>string</transactionID>
          <transactionType>string</transactionType>
          <orderId>string</orderId>
          <customerOrderId>string</customerOrderId>
          <storeId>string</storeId>
          <orderDate>dateTime</orderDate>
          <chargeDate>dateTime</chargeDate>
          <shipMethod>string</shipMethod>
          <cardType>string</cardType>
          <taxAmount>string</taxAmount>
          <shippingAmount>string</shippingAmount>
          <productAmount>string</productAmount>
          <couponAmount>string</couponAmount>
          <miscFeeAmount>string</miscFeeAmount>
          <totalAmount>string</totalAmount>
          <giftMessage>string</giftMessage>
          <webStoreID>string</webStoreID>
          <info1>string</info1>
          <info2>string</info2>
          <info3>string</info3>
          <info4>string</info4>
          <GiftCardAmount>string</GiftCardAmount>
          <GiftCardNumber>string</GiftCardNumber>
          <customer>
            <shopperIntegrationID>string</shopperIntegrationID>
            <email>string</email>
            <billFirstName>string</billFirstName>
            <billLastName>string</billLastName>
            <billAddress1>string</billAddress1>
            <billAddress2>string</billAddress2>
            <billCity>string</billCity>
            <billState>string</billState>
            <billZip>string</billZip>
            <billCountry>string</billCountry>
            <billPhone>string</billPhone>
            <shipFirstName>string</shipFirstName>
            <shipLastName>string</shipLastName>
            <shipAddress1>string</shipAddress1>
            <shipAddress2>string</shipAddress2>
            <shipCity>string</shipCity>
            <shipState>string</shipState>
            <shipZip>string</shipZip>
            <shipCountry>string</shipCountry>
            <shipPhone>string</shipPhone>
            <shipEmail>string</shipEmail>
          </customer>
          <OrderItems>
            <OrderItem xsi:nil="true" />
            <OrderItem xsi:nil="true" />
          </OrderItems>
        </Order>
        <Order>
          <transactionID>string</transactionID>
          <transactionType>string</transactionType>
          <orderId>string</orderId>
          <customerOrderId>string</customerOrderId>
          <storeId>string</storeId>
          <orderDate>dateTime</orderDate>
          <chargeDate>dateTime</chargeDate>
          <shipMethod>string</shipMethod>
          <cardType>string</cardType>
          <taxAmount>string</taxAmount>
          <shippingAmount>string</shippingAmount>
          <productAmount>string</productAmount>
          <couponAmount>string</couponAmount>
          <miscFeeAmount>string</miscFeeAmount>
          <totalAmount>string</totalAmount>
          <giftMessage>string</giftMessage>
          <webStoreID>string</webStoreID>
          <info1>string</info1>
          <info2>string</info2>
          <info3>string</info3>
          <info4>string</info4>
          <GiftCardAmount>string</GiftCardAmount>
          <GiftCardNumber>string</GiftCardNumber>
          <customer>
            <shopperIntegrationID>string</shopperIntegrationID>
            <email>string</email>
            <billFirstName>string</billFirstName>
            <billLastName>string</billLastName>
            <billAddress1>string</billAddress1>
            <billAddress2>string</billAddress2>
            <billCity>string</billCity>
            <billState>string</billState>
            <billZip>string</billZip>
            <billCountry>string</billCountry>
            <billPhone>string</billPhone>
            <shipFirstName>string</shipFirstName>
            <shipLastName>string</shipLastName>
            <shipAddress1>string</shipAddress1>
            <shipAddress2>string</shipAddress2>
            <shipCity>string</shipCity>
            <shipState>string</shipState>
            <shipZip>string</shipZip>
            <shipCountry>string</shipCountry>
            <shipPhone>string</shipPhone>
            <shipEmail>string</shipEmail>
          </customer>
          <OrderItems>
            <OrderItem xsi:nil="true" />
            <OrderItem xsi:nil="true" />
          </OrderItems>
        </Order>
      </GetNewTransactionsResult>
    </GetNewTransactionsResponse>
  </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 /ordertasks.asmx HTTP/1.1
Host: integrationapi.modernretail.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:Header>
    <AuthenticationHeader xmlns="http://tempuri.org/">
      <WebServiceKey>string</WebServiceKey>
      <StoreLogin>string</StoreLogin>
      <StorePassword>string</StorePassword>
    </AuthenticationHeader>
  </soap12:Header>
  <soap12:Body>
    <GetNewTransactions xmlns="http://tempuri.org/" />
  </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>
    <GetNewTransactionsResponse xmlns="http://tempuri.org/">
      <GetNewTransactionsResult>
        <Order>
          <transactionID>string</transactionID>
          <transactionType>string</transactionType>
          <orderId>string</orderId>
          <customerOrderId>string</customerOrderId>
          <storeId>string</storeId>
          <orderDate>dateTime</orderDate>
          <chargeDate>dateTime</chargeDate>
          <shipMethod>string</shipMethod>
          <cardType>string</cardType>
          <taxAmount>string</taxAmount>
          <shippingAmount>string</shippingAmount>
          <productAmount>string</productAmount>
          <couponAmount>string</couponAmount>
          <miscFeeAmount>string</miscFeeAmount>
          <totalAmount>string</totalAmount>
          <giftMessage>string</giftMessage>
          <webStoreID>string</webStoreID>
          <info1>string</info1>
          <info2>string</info2>
          <info3>string</info3>
          <info4>string</info4>
          <GiftCardAmount>string</GiftCardAmount>
          <GiftCardNumber>string</GiftCardNumber>
          <customer>
            <shopperIntegrationID>string</shopperIntegrationID>
            <email>string</email>
            <billFirstName>string</billFirstName>
            <billLastName>string</billLastName>
            <billAddress1>string</billAddress1>
            <billAddress2>string</billAddress2>
            <billCity>string</billCity>
            <billState>string</billState>
            <billZip>string</billZip>
            <billCountry>string</billCountry>
            <billPhone>string</billPhone>
            <shipFirstName>string</shipFirstName>
            <shipLastName>string</shipLastName>
            <shipAddress1>string</shipAddress1>
            <shipAddress2>string</shipAddress2>
            <shipCity>string</shipCity>
            <shipState>string</shipState>
            <shipZip>string</shipZip>
            <shipCountry>string</shipCountry>
            <shipPhone>string</shipPhone>
            <shipEmail>string</shipEmail>
          </customer>
          <OrderItems>
            <OrderItem xsi:nil="true" />
            <OrderItem xsi:nil="true" />
          </OrderItems>
        </Order>
        <Order>
          <transactionID>string</transactionID>
          <transactionType>string</transactionType>
          <orderId>string</orderId>
          <customerOrderId>string</customerOrderId>
          <storeId>string</storeId>
          <orderDate>dateTime</orderDate>
          <chargeDate>dateTime</chargeDate>
          <shipMethod>string</shipMethod>
          <cardType>string</cardType>
          <taxAmount>string</taxAmount>
          <shippingAmount>string</shippingAmount>
          <productAmount>string</productAmount>
          <couponAmount>string</couponAmount>
          <miscFeeAmount>string</miscFeeAmount>
          <totalAmount>string</totalAmount>
          <giftMessage>string</giftMessage>
          <webStoreID>string</webStoreID>
          <info1>string</info1>
          <info2>string</info2>
          <info3>string</info3>
          <info4>string</info4>
          <GiftCardAmount>string</GiftCardAmount>
          <GiftCardNumber>string</GiftCardNumber>
          <customer>
            <shopperIntegrationID>string</shopperIntegrationID>
            <email>string</email>
            <billFirstName>string</billFirstName>
            <billLastName>string</billLastName>
            <billAddress1>string</billAddress1>
            <billAddress2>string</billAddress2>
            <billCity>string</billCity>
            <billState>string</billState>
            <billZip>string</billZip>
            <billCountry>string</billCountry>
            <billPhone>string</billPhone>
            <shipFirstName>string</shipFirstName>
            <shipLastName>string</shipLastName>
            <shipAddress1>string</shipAddress1>
            <shipAddress2>string</shipAddress2>
            <shipCity>string</shipCity>
            <shipState>string</shipState>
            <shipZip>string</shipZip>
            <shipCountry>string</shipCountry>
            <shipPhone>string</shipPhone>
            <shipEmail>string</shipEmail>
          </customer>
          <OrderItems>
            <OrderItem xsi:nil="true" />
            <OrderItem xsi:nil="true" />
          </OrderItems>
        </Order>
      </GetNewTransactionsResult>
    </GetNewTransactionsResponse>
  </soap12:Body>
</soap12:Envelope>