PartnerHub

<back to all web services

LabourPriceCodeGet

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: LabourPriceCodeGet

<?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>

<LabourPriceCodeGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Code>String</Code>
  <Description>String</Description>
  <LabourPriceCodeID>00000000-0000-0000-0000-000000000000</LabourPriceCodeID>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <SerialNumber>String</SerialNumber>
</LabourPriceCodeGet>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<LabourPriceCodeGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <LabourPriceCodes>
    <LabourPriceCode>
      <Code>String</Code>
      <CostAccount>String</CostAccount>
      <Description>String</Description>
      <GST>false</GST>
      <GSTAccount>String</GSTAccount>
      <HourlyRate>0</HourlyRate>
      <IsInactive>false</IsInactive>
      <LabourPriceCodeId>00000000-0000-0000-0000-000000000000</LabourPriceCodeId>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <MarkUpFactor>0</MarkUpFactor>
      <MatrixCode>String</MatrixCode>
      <PST>false</PST>
      <PSTAccount>String</PSTAccount>
      <PriceCodeRef>00000000-0000-0000-0000-000000000000</PriceCodeRef>
      <Prompt>false</Prompt>
      <SalesAccount>String</SalesAccount>
      <SerialNumber>String</SerialNumber>
      <SystemDefault>false</SystemDefault>
      <Type>0</Type>
      <UseShop>false</UseShop>
      <WIPAccount>String</WIPAccount>
      <WarrantyCustomerDeductibleAccount>String</WarrantyCustomerDeductibleAccount>
      <WarrantyCustomerDeductibleGST>false</WarrantyCustomerDeductibleGST>
      <WarrantyCustomerDeductiblePST>false</WarrantyCustomerDeductiblePST>
      <WarrantyDeductibleAccount>String</WarrantyDeductibleAccount>
      <WarrantyDeductibleGST>false</WarrantyDeductibleGST>
      <WarrantyDeductiblePST>false</WarrantyDeductiblePST>
      <WarrantyReceivableAccount>String</WarrantyReceivableAccount>
    </LabourPriceCode>
  </LabourPriceCodes>
</LabourPriceCodeGetResponse>

    </soap:Body>
</soap:Envelope>