WebService1


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

SearchParts

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/SearchParts"

<?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>
    <SearchParts xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <JobCardNumber>string</JobCardNumber>
        <CustomerID>string</CustomerID>
        <LocationCode>string</LocationCode>
        <PartCriteria>
          <MarketingCode>string</MarketingCode>
          <Discount>string</Discount>
          <OriginalPrice>string</OriginalPrice>
          <VATRate>string</VATRate>
          <CostItemID>string</CostItemID>
          <PartID>string</PartID>
          <PartNo>string</PartNo>
          <PartDesc>string</PartDesc>
          <Stock>string</Stock>
          <PartPrice>string</PartPrice>
          <Quantity>string</Quantity>
          <QuantityRequired>string</QuantityRequired>
          <LabourTime>string</LabourTime>
          <LabourPrice>string</LabourPrice>
          <FittedPrice>string</FittedPrice>
          <Auth>string</Auth>
          <Deleted>string</Deleted>
          <VHCitemID>string</VHCitemID>
          <TimeStamp>string</TimeStamp>
          <SiteCode>string</SiteCode>
          <BinLocation>string</BinLocation>
          <BrandCode>string</BrandCode>
        </PartCriteria>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <WildCardSearch>boolean</WildCardSearch>
      </Request>
    </SearchParts>
  </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>
    <SearchPartsResponse xmlns="http://autovhc.co.uk/">
      <SearchPartsResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <PartsCollection>
          <PartTransferObject>
            <MarketingCode>string</MarketingCode>
            <Discount>string</Discount>
            <OriginalPrice>string</OriginalPrice>
            <VATRate>string</VATRate>
            <CostItemID>string</CostItemID>
            <PartID>string</PartID>
            <PartNo>string</PartNo>
            <PartDesc>string</PartDesc>
            <Stock>string</Stock>
            <PartPrice>string</PartPrice>
            <Quantity>string</Quantity>
            <QuantityRequired>string</QuantityRequired>
            <LabourTime>string</LabourTime>
            <LabourPrice>string</LabourPrice>
            <FittedPrice>string</FittedPrice>
            <Auth>string</Auth>
            <Deleted>string</Deleted>
            <VHCitemID>string</VHCitemID>
            <TimeStamp>string</TimeStamp>
            <SiteCode>string</SiteCode>
            <BinLocation>string</BinLocation>
            <BrandCode>string</BrandCode>
          </PartTransferObject>
          <PartTransferObject>
            <MarketingCode>string</MarketingCode>
            <Discount>string</Discount>
            <OriginalPrice>string</OriginalPrice>
            <VATRate>string</VATRate>
            <CostItemID>string</CostItemID>
            <PartID>string</PartID>
            <PartNo>string</PartNo>
            <PartDesc>string</PartDesc>
            <Stock>string</Stock>
            <PartPrice>string</PartPrice>
            <Quantity>string</Quantity>
            <QuantityRequired>string</QuantityRequired>
            <LabourTime>string</LabourTime>
            <LabourPrice>string</LabourPrice>
            <FittedPrice>string</FittedPrice>
            <Auth>string</Auth>
            <Deleted>string</Deleted>
            <VHCitemID>string</VHCitemID>
            <TimeStamp>string</TimeStamp>
            <SiteCode>string</SiteCode>
            <BinLocation>string</BinLocation>
            <BrandCode>string</BrandCode>
          </PartTransferObject>
        </PartsCollection>
        <AdditionalRecords>boolean</AdditionalRecords>
      </SearchPartsResult>
    </SearchPartsResponse>
  </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>
    <SearchParts xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <JobCardNumber>string</JobCardNumber>
        <CustomerID>string</CustomerID>
        <LocationCode>string</LocationCode>
        <PartCriteria>
          <MarketingCode>string</MarketingCode>
          <Discount>string</Discount>
          <OriginalPrice>string</OriginalPrice>
          <VATRate>string</VATRate>
          <CostItemID>string</CostItemID>
          <PartID>string</PartID>
          <PartNo>string</PartNo>
          <PartDesc>string</PartDesc>
          <Stock>string</Stock>
          <PartPrice>string</PartPrice>
          <Quantity>string</Quantity>
          <QuantityRequired>string</QuantityRequired>
          <LabourTime>string</LabourTime>
          <LabourPrice>string</LabourPrice>
          <FittedPrice>string</FittedPrice>
          <Auth>string</Auth>
          <Deleted>string</Deleted>
          <VHCitemID>string</VHCitemID>
          <TimeStamp>string</TimeStamp>
          <SiteCode>string</SiteCode>
          <BinLocation>string</BinLocation>
          <BrandCode>string</BrandCode>
        </PartCriteria>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <WildCardSearch>boolean</WildCardSearch>
      </Request>
    </SearchParts>
  </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>
    <SearchPartsResponse xmlns="http://autovhc.co.uk/">
      <SearchPartsResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <PartsCollection>
          <PartTransferObject>
            <MarketingCode>string</MarketingCode>
            <Discount>string</Discount>
            <OriginalPrice>string</OriginalPrice>
            <VATRate>string</VATRate>
            <CostItemID>string</CostItemID>
            <PartID>string</PartID>
            <PartNo>string</PartNo>
            <PartDesc>string</PartDesc>
            <Stock>string</Stock>
            <PartPrice>string</PartPrice>
            <Quantity>string</Quantity>
            <QuantityRequired>string</QuantityRequired>
            <LabourTime>string</LabourTime>
            <LabourPrice>string</LabourPrice>
            <FittedPrice>string</FittedPrice>
            <Auth>string</Auth>
            <Deleted>string</Deleted>
            <VHCitemID>string</VHCitemID>
            <TimeStamp>string</TimeStamp>
            <SiteCode>string</SiteCode>
            <BinLocation>string</BinLocation>
            <BrandCode>string</BrandCode>
          </PartTransferObject>
          <PartTransferObject>
            <MarketingCode>string</MarketingCode>
            <Discount>string</Discount>
            <OriginalPrice>string</OriginalPrice>
            <VATRate>string</VATRate>
            <CostItemID>string</CostItemID>
            <PartID>string</PartID>
            <PartNo>string</PartNo>
            <PartDesc>string</PartDesc>
            <Stock>string</Stock>
            <PartPrice>string</PartPrice>
            <Quantity>string</Quantity>
            <QuantityRequired>string</QuantityRequired>
            <LabourTime>string</LabourTime>
            <LabourPrice>string</LabourPrice>
            <FittedPrice>string</FittedPrice>
            <Auth>string</Auth>
            <Deleted>string</Deleted>
            <VHCitemID>string</VHCitemID>
            <TimeStamp>string</TimeStamp>
            <SiteCode>string</SiteCode>
            <BinLocation>string</BinLocation>
            <BrandCode>string</BrandCode>
          </PartTransferObject>
        </PartsCollection>
        <AdditionalRecords>boolean</AdditionalRecords>
      </SearchPartsResult>
    </SearchPartsResponse>
  </soap12:Body>
</soap12:Envelope>