WebService1


Clique aqui para obter uma lista completa de operações.

SearchLabour

Testar

O formulário de teste só está disponível para pedidos do computador local.

SOAP 1.1

Segue-se um exemplo de pedido e resposta SOAP 1.1. É necessário substituir os marcadores de posição mostrados por valores reais.

POST /WebService1.asmx HTTP/1.1
Host: mototur.datapremium.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://autovhc.co.uk/SearchLabour"

<?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>
    <SearchLabour xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <JobCardNumber>string</JobCardNumber>
        <CustomerID>string</CustomerID>
        <LocationCode>string</LocationCode>
        <LabourCriteria>
          <DMSLabourCode>string</DMSLabourCode>
          <ComplexityRate>string</ComplexityRate>
          <VHCItemID>string</VHCItemID>
          <Priceinctax>string</Priceinctax>
          <costsheetlabourid>string</costsheetlabourid>
          <timestampdt>string</timestampdt>
          <sitecode>string</sitecode>
          <description>string</description>
          <discountrate>string</discountrate>
          <priceexcltax>string</priceexcltax>
          <quantity>string</quantity>
          <timeamount>string</timeamount>
          <taxrate>string</taxrate>
          <deleted>string</deleted>
          <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
        </LabourCriteria>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <WildCardSearch>boolean</WildCardSearch>
      </Request>
    </SearchLabour>
  </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>
    <SearchLabourResponse xmlns="http://autovhc.co.uk/">
      <SearchLabourResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <LabourCollection>
          <LabourTransferObject>
            <DMSLabourCode>string</DMSLabourCode>
            <ComplexityRate>string</ComplexityRate>
            <VHCItemID>string</VHCItemID>
            <Priceinctax>string</Priceinctax>
            <costsheetlabourid>string</costsheetlabourid>
            <timestampdt>string</timestampdt>
            <sitecode>string</sitecode>
            <description>string</description>
            <discountrate>string</discountrate>
            <priceexcltax>string</priceexcltax>
            <quantity>string</quantity>
            <timeamount>string</timeamount>
            <taxrate>string</taxrate>
            <deleted>string</deleted>
            <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
          </LabourTransferObject>
          <LabourTransferObject>
            <DMSLabourCode>string</DMSLabourCode>
            <ComplexityRate>string</ComplexityRate>
            <VHCItemID>string</VHCItemID>
            <Priceinctax>string</Priceinctax>
            <costsheetlabourid>string</costsheetlabourid>
            <timestampdt>string</timestampdt>
            <sitecode>string</sitecode>
            <description>string</description>
            <discountrate>string</discountrate>
            <priceexcltax>string</priceexcltax>
            <quantity>string</quantity>
            <timeamount>string</timeamount>
            <taxrate>string</taxrate>
            <deleted>string</deleted>
            <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
          </LabourTransferObject>
        </LabourCollection>
        <AdditionalRecords>boolean</AdditionalRecords>
      </SearchLabourResult>
    </SearchLabourResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Segue-se um exemplo de pedido e resposta SOAP 1.2. É necessário substituir os marcadores de posição mostrados por valores reais.

POST /WebService1.asmx HTTP/1.1
Host: mototur.datapremium.pt
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>
    <SearchLabour xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <JobCardNumber>string</JobCardNumber>
        <CustomerID>string</CustomerID>
        <LocationCode>string</LocationCode>
        <LabourCriteria>
          <DMSLabourCode>string</DMSLabourCode>
          <ComplexityRate>string</ComplexityRate>
          <VHCItemID>string</VHCItemID>
          <Priceinctax>string</Priceinctax>
          <costsheetlabourid>string</costsheetlabourid>
          <timestampdt>string</timestampdt>
          <sitecode>string</sitecode>
          <description>string</description>
          <discountrate>string</discountrate>
          <priceexcltax>string</priceexcltax>
          <quantity>string</quantity>
          <timeamount>string</timeamount>
          <taxrate>string</taxrate>
          <deleted>string</deleted>
          <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
        </LabourCriteria>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <WildCardSearch>boolean</WildCardSearch>
      </Request>
    </SearchLabour>
  </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>
    <SearchLabourResponse xmlns="http://autovhc.co.uk/">
      <SearchLabourResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <LabourCollection>
          <LabourTransferObject>
            <DMSLabourCode>string</DMSLabourCode>
            <ComplexityRate>string</ComplexityRate>
            <VHCItemID>string</VHCItemID>
            <Priceinctax>string</Priceinctax>
            <costsheetlabourid>string</costsheetlabourid>
            <timestampdt>string</timestampdt>
            <sitecode>string</sitecode>
            <description>string</description>
            <discountrate>string</discountrate>
            <priceexcltax>string</priceexcltax>
            <quantity>string</quantity>
            <timeamount>string</timeamount>
            <taxrate>string</taxrate>
            <deleted>string</deleted>
            <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
          </LabourTransferObject>
          <LabourTransferObject>
            <DMSLabourCode>string</DMSLabourCode>
            <ComplexityRate>string</ComplexityRate>
            <VHCItemID>string</VHCItemID>
            <Priceinctax>string</Priceinctax>
            <costsheetlabourid>string</costsheetlabourid>
            <timestampdt>string</timestampdt>
            <sitecode>string</sitecode>
            <description>string</description>
            <discountrate>string</discountrate>
            <priceexcltax>string</priceexcltax>
            <quantity>string</quantity>
            <timeamount>string</timeamount>
            <taxrate>string</taxrate>
            <deleted>string</deleted>
            <LabourCodeSourceDMS>string</LabourCodeSourceDMS>
          </LabourTransferObject>
        </LabourCollection>
        <AdditionalRecords>boolean</AdditionalRecords>
      </SearchLabourResult>
    </SearchLabourResponse>
  </soap12:Body>
</soap12:Envelope>