ATK_Pro_Mobile_WS


Click here for a complete list of operations.

Get_PurchaseOrders

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

<?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>
    <Get_PurchaseOrders xmlns="http://tempuri.org/">
      <CompanyId>string</CompanyId>
      <StartDate>string</StartDate>
      <EndDate>string</EndDate>
    </Get_PurchaseOrders>
  </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>
    <Get_PurchaseOrdersResponse xmlns="http://tempuri.org/">
      <Get_PurchaseOrdersResult>
        <PurchaseOrder>
          <PurchaseOrderId>string</PurchaseOrderId>
          <PO_Number>string</PO_Number>
          <OLDCompanyId>string</OLDCompanyId>
          <DateAdded>string</DateAdded>
          <DateCompleted>dateTime</DateCompleted>
          <OLDUserId>string</OLDUserId>
          <TaskName>string</TaskName>
          <TaskRefNumber>string</TaskRefNumber>
          <OLDWorklistId>string</OLDWorklistId>
          <SupplierName>string</SupplierName>
          <OrderDescription>string</OrderDescription>
          <PartNumber>string</PartNumber>
          <PartQuantity>string</PartQuantity>
          <TotalPartPrice>string</TotalPartPrice>
          <ShippingCost>string</ShippingCost>
          <TotalPrice>string</TotalPrice>
          <PurchaseTerms>string</PurchaseTerms>
          <Comments>string</Comments>
          <CaptureImage_MediaId>string</CaptureImage_MediaId>
          <Signature_MediaId>string</Signature_MediaId>
          <CostCode>string</CostCode>
          <SiteName>string</SiteName>
          <Complete>string</Complete>
          <InvoiceTotal>string</InvoiceTotal>
          <InvoiceVAT>string</InvoiceVAT>
          <InvoiceGross>string</InvoiceGross>
          <Invoice_MediaId>string</Invoice_MediaId>
          <InvoiceDate>dateTime</InvoiceDate>
        </PurchaseOrder>
        <PurchaseOrder>
          <PurchaseOrderId>string</PurchaseOrderId>
          <PO_Number>string</PO_Number>
          <OLDCompanyId>string</OLDCompanyId>
          <DateAdded>string</DateAdded>
          <DateCompleted>dateTime</DateCompleted>
          <OLDUserId>string</OLDUserId>
          <TaskName>string</TaskName>
          <TaskRefNumber>string</TaskRefNumber>
          <OLDWorklistId>string</OLDWorklistId>
          <SupplierName>string</SupplierName>
          <OrderDescription>string</OrderDescription>
          <PartNumber>string</PartNumber>
          <PartQuantity>string</PartQuantity>
          <TotalPartPrice>string</TotalPartPrice>
          <ShippingCost>string</ShippingCost>
          <TotalPrice>string</TotalPrice>
          <PurchaseTerms>string</PurchaseTerms>
          <Comments>string</Comments>
          <CaptureImage_MediaId>string</CaptureImage_MediaId>
          <Signature_MediaId>string</Signature_MediaId>
          <CostCode>string</CostCode>
          <SiteName>string</SiteName>
          <Complete>string</Complete>
          <InvoiceTotal>string</InvoiceTotal>
          <InvoiceVAT>string</InvoiceVAT>
          <InvoiceGross>string</InvoiceGross>
          <Invoice_MediaId>string</Invoice_MediaId>
          <InvoiceDate>dateTime</InvoiceDate>
        </PurchaseOrder>
      </Get_PurchaseOrdersResult>
    </Get_PurchaseOrdersResponse>
  </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 /PrimaryMobileWebservice_MySql/ATK_Pro_Mobile_WS.asmx HTTP/1.1
Host: atkworldwide.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>
    <Get_PurchaseOrders xmlns="http://tempuri.org/">
      <CompanyId>string</CompanyId>
      <StartDate>string</StartDate>
      <EndDate>string</EndDate>
    </Get_PurchaseOrders>
  </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>
    <Get_PurchaseOrdersResponse xmlns="http://tempuri.org/">
      <Get_PurchaseOrdersResult>
        <PurchaseOrder>
          <PurchaseOrderId>string</PurchaseOrderId>
          <PO_Number>string</PO_Number>
          <OLDCompanyId>string</OLDCompanyId>
          <DateAdded>string</DateAdded>
          <DateCompleted>dateTime</DateCompleted>
          <OLDUserId>string</OLDUserId>
          <TaskName>string</TaskName>
          <TaskRefNumber>string</TaskRefNumber>
          <OLDWorklistId>string</OLDWorklistId>
          <SupplierName>string</SupplierName>
          <OrderDescription>string</OrderDescription>
          <PartNumber>string</PartNumber>
          <PartQuantity>string</PartQuantity>
          <TotalPartPrice>string</TotalPartPrice>
          <ShippingCost>string</ShippingCost>
          <TotalPrice>string</TotalPrice>
          <PurchaseTerms>string</PurchaseTerms>
          <Comments>string</Comments>
          <CaptureImage_MediaId>string</CaptureImage_MediaId>
          <Signature_MediaId>string</Signature_MediaId>
          <CostCode>string</CostCode>
          <SiteName>string</SiteName>
          <Complete>string</Complete>
          <InvoiceTotal>string</InvoiceTotal>
          <InvoiceVAT>string</InvoiceVAT>
          <InvoiceGross>string</InvoiceGross>
          <Invoice_MediaId>string</Invoice_MediaId>
          <InvoiceDate>dateTime</InvoiceDate>
        </PurchaseOrder>
        <PurchaseOrder>
          <PurchaseOrderId>string</PurchaseOrderId>
          <PO_Number>string</PO_Number>
          <OLDCompanyId>string</OLDCompanyId>
          <DateAdded>string</DateAdded>
          <DateCompleted>dateTime</DateCompleted>
          <OLDUserId>string</OLDUserId>
          <TaskName>string</TaskName>
          <TaskRefNumber>string</TaskRefNumber>
          <OLDWorklistId>string</OLDWorklistId>
          <SupplierName>string</SupplierName>
          <OrderDescription>string</OrderDescription>
          <PartNumber>string</PartNumber>
          <PartQuantity>string</PartQuantity>
          <TotalPartPrice>string</TotalPartPrice>
          <ShippingCost>string</ShippingCost>
          <TotalPrice>string</TotalPrice>
          <PurchaseTerms>string</PurchaseTerms>
          <Comments>string</Comments>
          <CaptureImage_MediaId>string</CaptureImage_MediaId>
          <Signature_MediaId>string</Signature_MediaId>
          <CostCode>string</CostCode>
          <SiteName>string</SiteName>
          <Complete>string</Complete>
          <InvoiceTotal>string</InvoiceTotal>
          <InvoiceVAT>string</InvoiceVAT>
          <InvoiceGross>string</InvoiceGross>
          <Invoice_MediaId>string</Invoice_MediaId>
          <InvoiceDate>dateTime</InvoiceDate>
        </PurchaseOrder>
      </Get_PurchaseOrdersResult>
    </Get_PurchaseOrdersResponse>
  </soap12:Body>
</soap12:Envelope>