BackOffice


Click here for a complete list of operations.

GetPurchaseOrdersForTheLocation

Gets the purchases orders posted in the back office for the passed branch

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 /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.joycesoftware.com/GetPurchaseOrdersForTheLocation"

<?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>
    <GetPurchaseOrdersForTheLocation xmlns="http://www.joycesoftware.com">
      <LocationCode>string</LocationCode>
    </GetPurchaseOrdersForTheLocation>
  </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>
    <GetPurchaseOrdersForTheLocationResponse xmlns="http://www.joycesoftware.com">
      <GetPurchaseOrdersForTheLocationResult>
        <PurchaseHead>
          <Id>int</Id>
          <PurchaseGuid>string</PurchaseGuid>
          <Type>int</Type>
          <SupplierGUID>string</SupplierGUID>
          <EmployeeGUID>string</EmployeeGUID>
          <CurrencyRate>decimal</CurrencyRate>
          <PurchaseDate>dateTime</PurchaseDate>
          <PaidDate>dateTime</PaidDate>
          <TotalIncVat>decimal</TotalIncVat>
          <TotalExcVat>decimal</TotalExcVat>
          <PaymentTotal>decimal</PaymentTotal>
          <ChangeGiven>decimal</ChangeGiven>
          <SupplierNotes>string</SupplierNotes>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <CurrentStatus>int</CurrentStatus>
          <LastStatus>int</LastStatus>
          <PurchaseNumber>string</PurchaseNumber>
          <SupplierReference>string</SupplierReference>
          <SupplierInvoiceNumber>string</SupplierInvoiceNumber>
          <InvoiceHour>decimal</InvoiceHour>
          <InvoiceMinute>decimal</InvoiceMinute>
          <PaymentDueDate>dateTime</PaymentDueDate>
          <ChequeNumber>string</ChequeNumber>
          <Custom1>string</Custom1>
          <Custom2>string</Custom2>
          <Custom3>string</Custom3>
          <Custom4>string</Custom4>
          <Custom5>string</Custom5>
          <StoreCode>string</StoreCode>
          <Exported>string</Exported>
          <CheckedBy>string</CheckedBy>
          <OrderDate>dateTime</OrderDate>
          <IsPurchaseOrder>string</IsPurchaseOrder>
          <ActualTotalIncVAT>decimal</ActualTotalIncVAT>
          <TotalDiscount>decimal</TotalDiscount>
          <Lines>
            <PurchaseLine xsi:nil="true" />
            <PurchaseLine xsi:nil="true" />
          </Lines>
          <ExternalCode>string</ExternalCode>
          <TermDays>long</TermDays>
        </PurchaseHead>
        <PurchaseHead>
          <Id>int</Id>
          <PurchaseGuid>string</PurchaseGuid>
          <Type>int</Type>
          <SupplierGUID>string</SupplierGUID>
          <EmployeeGUID>string</EmployeeGUID>
          <CurrencyRate>decimal</CurrencyRate>
          <PurchaseDate>dateTime</PurchaseDate>
          <PaidDate>dateTime</PaidDate>
          <TotalIncVat>decimal</TotalIncVat>
          <TotalExcVat>decimal</TotalExcVat>
          <PaymentTotal>decimal</PaymentTotal>
          <ChangeGiven>decimal</ChangeGiven>
          <SupplierNotes>string</SupplierNotes>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <CurrentStatus>int</CurrentStatus>
          <LastStatus>int</LastStatus>
          <PurchaseNumber>string</PurchaseNumber>
          <SupplierReference>string</SupplierReference>
          <SupplierInvoiceNumber>string</SupplierInvoiceNumber>
          <InvoiceHour>decimal</InvoiceHour>
          <InvoiceMinute>decimal</InvoiceMinute>
          <PaymentDueDate>dateTime</PaymentDueDate>
          <ChequeNumber>string</ChequeNumber>
          <Custom1>string</Custom1>
          <Custom2>string</Custom2>
          <Custom3>string</Custom3>
          <Custom4>string</Custom4>
          <Custom5>string</Custom5>
          <StoreCode>string</StoreCode>
          <Exported>string</Exported>
          <CheckedBy>string</CheckedBy>
          <OrderDate>dateTime</OrderDate>
          <IsPurchaseOrder>string</IsPurchaseOrder>
          <ActualTotalIncVAT>decimal</ActualTotalIncVAT>
          <TotalDiscount>decimal</TotalDiscount>
          <Lines>
            <PurchaseLine xsi:nil="true" />
            <PurchaseLine xsi:nil="true" />
          </Lines>
          <ExternalCode>string</ExternalCode>
          <TermDays>long</TermDays>
        </PurchaseHead>
      </GetPurchaseOrdersForTheLocationResult>
    </GetPurchaseOrdersForTheLocationResponse>
  </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 /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.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>
    <GetPurchaseOrdersForTheLocation xmlns="http://www.joycesoftware.com">
      <LocationCode>string</LocationCode>
    </GetPurchaseOrdersForTheLocation>
  </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>
    <GetPurchaseOrdersForTheLocationResponse xmlns="http://www.joycesoftware.com">
      <GetPurchaseOrdersForTheLocationResult>
        <PurchaseHead>
          <Id>int</Id>
          <PurchaseGuid>string</PurchaseGuid>
          <Type>int</Type>
          <SupplierGUID>string</SupplierGUID>
          <EmployeeGUID>string</EmployeeGUID>
          <CurrencyRate>decimal</CurrencyRate>
          <PurchaseDate>dateTime</PurchaseDate>
          <PaidDate>dateTime</PaidDate>
          <TotalIncVat>decimal</TotalIncVat>
          <TotalExcVat>decimal</TotalExcVat>
          <PaymentTotal>decimal</PaymentTotal>
          <ChangeGiven>decimal</ChangeGiven>
          <SupplierNotes>string</SupplierNotes>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <CurrentStatus>int</CurrentStatus>
          <LastStatus>int</LastStatus>
          <PurchaseNumber>string</PurchaseNumber>
          <SupplierReference>string</SupplierReference>
          <SupplierInvoiceNumber>string</SupplierInvoiceNumber>
          <InvoiceHour>decimal</InvoiceHour>
          <InvoiceMinute>decimal</InvoiceMinute>
          <PaymentDueDate>dateTime</PaymentDueDate>
          <ChequeNumber>string</ChequeNumber>
          <Custom1>string</Custom1>
          <Custom2>string</Custom2>
          <Custom3>string</Custom3>
          <Custom4>string</Custom4>
          <Custom5>string</Custom5>
          <StoreCode>string</StoreCode>
          <Exported>string</Exported>
          <CheckedBy>string</CheckedBy>
          <OrderDate>dateTime</OrderDate>
          <IsPurchaseOrder>string</IsPurchaseOrder>
          <ActualTotalIncVAT>decimal</ActualTotalIncVAT>
          <TotalDiscount>decimal</TotalDiscount>
          <Lines>
            <PurchaseLine xsi:nil="true" />
            <PurchaseLine xsi:nil="true" />
          </Lines>
          <ExternalCode>string</ExternalCode>
          <TermDays>long</TermDays>
        </PurchaseHead>
        <PurchaseHead>
          <Id>int</Id>
          <PurchaseGuid>string</PurchaseGuid>
          <Type>int</Type>
          <SupplierGUID>string</SupplierGUID>
          <EmployeeGUID>string</EmployeeGUID>
          <CurrencyRate>decimal</CurrencyRate>
          <PurchaseDate>dateTime</PurchaseDate>
          <PaidDate>dateTime</PaidDate>
          <TotalIncVat>decimal</TotalIncVat>
          <TotalExcVat>decimal</TotalExcVat>
          <PaymentTotal>decimal</PaymentTotal>
          <ChangeGiven>decimal</ChangeGiven>
          <SupplierNotes>string</SupplierNotes>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <CurrentStatus>int</CurrentStatus>
          <LastStatus>int</LastStatus>
          <PurchaseNumber>string</PurchaseNumber>
          <SupplierReference>string</SupplierReference>
          <SupplierInvoiceNumber>string</SupplierInvoiceNumber>
          <InvoiceHour>decimal</InvoiceHour>
          <InvoiceMinute>decimal</InvoiceMinute>
          <PaymentDueDate>dateTime</PaymentDueDate>
          <ChequeNumber>string</ChequeNumber>
          <Custom1>string</Custom1>
          <Custom2>string</Custom2>
          <Custom3>string</Custom3>
          <Custom4>string</Custom4>
          <Custom5>string</Custom5>
          <StoreCode>string</StoreCode>
          <Exported>string</Exported>
          <CheckedBy>string</CheckedBy>
          <OrderDate>dateTime</OrderDate>
          <IsPurchaseOrder>string</IsPurchaseOrder>
          <ActualTotalIncVAT>decimal</ActualTotalIncVAT>
          <TotalDiscount>decimal</TotalDiscount>
          <Lines>
            <PurchaseLine xsi:nil="true" />
            <PurchaseLine xsi:nil="true" />
          </Lines>
          <ExternalCode>string</ExternalCode>
          <TermDays>long</TermDays>
        </PurchaseHead>
      </GetPurchaseOrdersForTheLocationResult>
    </GetPurchaseOrdersForTheLocationResponse>
  </soap12:Body>
</soap12:Envelope>