OrderingWebService


Click here for a complete list of operations.

SendPurchaseOrder

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 /OrderingWebService.asmx HTTP/1.1
Host: services.vtindustries.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://services.vtindustries.com/SendPurchaseOrder"

<?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>
    <SendPurchaseOrder xmlns="http://services.vtindustries.com/">
      <purchaseOrder>
        <Credentials>
          <AccountNumber>int</AccountNumber>
          <Password>string</Password>
        </Credentials>
        <PurchaseOrderNumber>string</PurchaseOrderNumber>
        <RequestedShipDate>string</RequestedShipDate>
        <ShiptoNumber>string</ShiptoNumber>
        <ShiptoName>string</ShiptoName>
        <ShiptoAddress1>string</ShiptoAddress1>
        <ShiptoAddress2>string</ShiptoAddress2>
        <ShiptoCity>string</ShiptoCity>
        <ShiptoState>string</ShiptoState>
        <ShiptoZip>string</ShiptoZip>
        <ContactName>string</ContactName>
        <ContactEmail>string</ContactEmail>
        <ContactPhone>string</ContactPhone>
        <SendEmailMessage>boolean</SendEmailMessage>
        <Carrier>string</Carrier>
        <ProjectNumber>string</ProjectNumber>
        <SpecialOrderType>string</SpecialOrderType>
        <SimulateOrderSplits>boolean</SimulateOrderSplits>
        <Comments>string</Comments>
        <Countertops>
          <PurchaseOrderCountertop>
            <LineSequence>string</LineSequence>
            <Quantity>string</Quantity>
            <Color>string</Color>
            <ColorDescription>string</ColorDescription>
            <Length>string</Length>
            <Style>string</Style>
            <Product>string</Product>
            <Depth>string</Depth>
            <SpecialDepthDecimal>string</SpecialDepthDecimal>
            <Substrate>string</Substrate>
            <Backer>string</Backer>
            <Miter>string</Miter>
            <Trim>string</Trim>
            <BacksplashHeightDecimal>string</BacksplashHeightDecimal>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderCountertop>
          <PurchaseOrderCountertop>
            <LineSequence>string</LineSequence>
            <Quantity>string</Quantity>
            <Color>string</Color>
            <ColorDescription>string</ColorDescription>
            <Length>string</Length>
            <Style>string</Style>
            <Product>string</Product>
            <Depth>string</Depth>
            <SpecialDepthDecimal>string</SpecialDepthDecimal>
            <Substrate>string</Substrate>
            <Backer>string</Backer>
            <Miter>string</Miter>
            <Trim>string</Trim>
            <BacksplashHeightDecimal>string</BacksplashHeightDecimal>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderCountertop>
        </Countertops>
        <Accessories>
          <PurchaseOrderAccessory>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <Style>string</Style>
            <Substrate>string</Substrate>
            <Color>string</Color>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderAccessory>
          <PurchaseOrderAccessory>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <Style>string</Style>
            <Substrate>string</Substrate>
            <Color>string</Color>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderAccessory>
        </Accessories>
        <CustomFabrication>
          <CustomFabricationLine>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
          </CustomFabricationLine>
          <CustomFabricationLine>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
          </CustomFabricationLine>
        </CustomFabrication>
      </purchaseOrder>
    </SendPurchaseOrder>
  </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>
    <SendPurchaseOrderResponse xmlns="http://services.vtindustries.com/">
      <SendPurchaseOrderResult>
        <Message>
          <Type>Success or Info or Warning or Error</Type>
          <Code>int</Code>
          <Description>string</Description>
          <Details>string</Details>
          <Time>dateTime</Time>
        </Message>
        <Message>
          <Type>Success or Info or Warning or Error</Type>
          <Code>int</Code>
          <Description>string</Description>
          <Details>string</Details>
          <Time>dateTime</Time>
        </Message>
      </SendPurchaseOrderResult>
    </SendPurchaseOrderResponse>
  </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 /OrderingWebService.asmx HTTP/1.1
Host: services.vtindustries.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>
    <SendPurchaseOrder xmlns="http://services.vtindustries.com/">
      <purchaseOrder>
        <Credentials>
          <AccountNumber>int</AccountNumber>
          <Password>string</Password>
        </Credentials>
        <PurchaseOrderNumber>string</PurchaseOrderNumber>
        <RequestedShipDate>string</RequestedShipDate>
        <ShiptoNumber>string</ShiptoNumber>
        <ShiptoName>string</ShiptoName>
        <ShiptoAddress1>string</ShiptoAddress1>
        <ShiptoAddress2>string</ShiptoAddress2>
        <ShiptoCity>string</ShiptoCity>
        <ShiptoState>string</ShiptoState>
        <ShiptoZip>string</ShiptoZip>
        <ContactName>string</ContactName>
        <ContactEmail>string</ContactEmail>
        <ContactPhone>string</ContactPhone>
        <SendEmailMessage>boolean</SendEmailMessage>
        <Carrier>string</Carrier>
        <ProjectNumber>string</ProjectNumber>
        <SpecialOrderType>string</SpecialOrderType>
        <SimulateOrderSplits>boolean</SimulateOrderSplits>
        <Comments>string</Comments>
        <Countertops>
          <PurchaseOrderCountertop>
            <LineSequence>string</LineSequence>
            <Quantity>string</Quantity>
            <Color>string</Color>
            <ColorDescription>string</ColorDescription>
            <Length>string</Length>
            <Style>string</Style>
            <Product>string</Product>
            <Depth>string</Depth>
            <SpecialDepthDecimal>string</SpecialDepthDecimal>
            <Substrate>string</Substrate>
            <Backer>string</Backer>
            <Miter>string</Miter>
            <Trim>string</Trim>
            <BacksplashHeightDecimal>string</BacksplashHeightDecimal>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderCountertop>
          <PurchaseOrderCountertop>
            <LineSequence>string</LineSequence>
            <Quantity>string</Quantity>
            <Color>string</Color>
            <ColorDescription>string</ColorDescription>
            <Length>string</Length>
            <Style>string</Style>
            <Product>string</Product>
            <Depth>string</Depth>
            <SpecialDepthDecimal>string</SpecialDepthDecimal>
            <Substrate>string</Substrate>
            <Backer>string</Backer>
            <Miter>string</Miter>
            <Trim>string</Trim>
            <BacksplashHeightDecimal>string</BacksplashHeightDecimal>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderCountertop>
        </Countertops>
        <Accessories>
          <PurchaseOrderAccessory>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <Style>string</Style>
            <Substrate>string</Substrate>
            <Color>string</Color>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderAccessory>
          <PurchaseOrderAccessory>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <Style>string</Style>
            <Substrate>string</Substrate>
            <Color>string</Color>
            <Comment>string</Comment>
            <YourItemDescription>string</YourItemDescription>
            <YourCustomerLineInformation xsi:nil="true" />
          </PurchaseOrderAccessory>
        </Accessories>
        <CustomFabrication>
          <CustomFabricationLine>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
          </CustomFabricationLine>
          <CustomFabricationLine>
            <LineSequence>string</LineSequence>
            <Code>string</Code>
            <Quantity>string</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <Comment>string</Comment>
          </CustomFabricationLine>
        </CustomFabrication>
      </purchaseOrder>
    </SendPurchaseOrder>
  </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>
    <SendPurchaseOrderResponse xmlns="http://services.vtindustries.com/">
      <SendPurchaseOrderResult>
        <Message>
          <Type>Success or Info or Warning or Error</Type>
          <Code>int</Code>
          <Description>string</Description>
          <Details>string</Details>
          <Time>dateTime</Time>
        </Message>
        <Message>
          <Type>Success or Info or Warning or Error</Type>
          <Code>int</Code>
          <Description>string</Description>
          <Details>string</Details>
          <Time>dateTime</Time>
        </Message>
      </SendPurchaseOrderResult>
    </SendPurchaseOrderResponse>
  </soap12:Body>
</soap12:Envelope>