WebService1


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

AddServiceOrderLineItems

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

<?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>
    <AddServiceOrderLineItems xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <LocationCode>string</LocationCode>
        <JobCardNumber>string</JobCardNumber>
        <ServiceOrderItemTransferObject>
          <PackageCode>string</PackageCode>
          <DMSJobID>string</DMSJobID>
          <ItemDescription>string</ItemDescription>
          <Action>string</Action>
          <Warranty>string</Warranty>
          <VHCItemID>string</VHCItemID>
          <VHCID>string</VHCID>
          <ItemTypeID>string</ItemTypeID>
          <ItemStatus>string</ItemStatus>
          <Comments>string</Comments>
          <Auth>string</Auth>
          <Remind>string</Remind>
          <LabourTime>string</LabourTime>
          <LabourPrice>string</LabourPrice>
          <IncVAT>string</IncVAT>
          <VATRate>string</VATRate>
          <Advisor>string</Advisor>
          <SiteCode>string</SiteCode>
          <TimeStamp>string</TimeStamp>
          <CheckedItem>string</CheckedItem>
          <Exclude>string</Exclude>
          <IsWheel>string</IsWheel>
          <Parts>
            <PartTransferObject xsi:nil="true" />
            <PartTransferObject xsi:nil="true" />
          </Parts>
          <LabourLines>
            <LabourTransferObject xsi:nil="true" />
            <LabourTransferObject xsi:nil="true" />
          </LabourLines>
          <CurrentTyreInfo>
            <TyreMake>string</TyreMake>
            <TyreRating>string</TyreRating>
            <TyreSize>string</TyreSize>
            <TyreVariety>string</TyreVariety>
            <OuterDepth>string</OuterDepth>
            <InnerDepth>string</InnerDepth>
            <MiddleDepth>string</MiddleDepth>
            <LoadIndex>string</LoadIndex>
            <IsWinterTyre>boolean</IsWinterTyre>
          </CurrentTyreInfo>
          <Tyres>
            <TyreTransferObjectExtended xsi:nil="true" />
            <TyreTransferObjectExtended xsi:nil="true" />
          </Tyres>
          <ServiceMenuCode>string</ServiceMenuCode>
          <FixedPackage>
            <FixedPackageTransferObject xsi:nil="true" />
            <FixedPackageTransferObject xsi:nil="true" />
          </FixedPackage>
        </ServiceOrderItemTransferObject>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <Mileage>string</Mileage>
      </Request>
    </AddServiceOrderLineItems>
  </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>
    <AddServiceOrderLineItemsResponse xmlns="http://autovhc.co.uk/">
      <AddServiceOrderLineItemsResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <DMSIdentifier>string</DMSIdentifier>
      </AddServiceOrderLineItemsResult>
    </AddServiceOrderLineItemsResponse>
  </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>
    <AddServiceOrderLineItems xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <LocationCode>string</LocationCode>
        <JobCardNumber>string</JobCardNumber>
        <ServiceOrderItemTransferObject>
          <PackageCode>string</PackageCode>
          <DMSJobID>string</DMSJobID>
          <ItemDescription>string</ItemDescription>
          <Action>string</Action>
          <Warranty>string</Warranty>
          <VHCItemID>string</VHCItemID>
          <VHCID>string</VHCID>
          <ItemTypeID>string</ItemTypeID>
          <ItemStatus>string</ItemStatus>
          <Comments>string</Comments>
          <Auth>string</Auth>
          <Remind>string</Remind>
          <LabourTime>string</LabourTime>
          <LabourPrice>string</LabourPrice>
          <IncVAT>string</IncVAT>
          <VATRate>string</VATRate>
          <Advisor>string</Advisor>
          <SiteCode>string</SiteCode>
          <TimeStamp>string</TimeStamp>
          <CheckedItem>string</CheckedItem>
          <Exclude>string</Exclude>
          <IsWheel>string</IsWheel>
          <Parts>
            <PartTransferObject xsi:nil="true" />
            <PartTransferObject xsi:nil="true" />
          </Parts>
          <LabourLines>
            <LabourTransferObject xsi:nil="true" />
            <LabourTransferObject xsi:nil="true" />
          </LabourLines>
          <CurrentTyreInfo>
            <TyreMake>string</TyreMake>
            <TyreRating>string</TyreRating>
            <TyreSize>string</TyreSize>
            <TyreVariety>string</TyreVariety>
            <OuterDepth>string</OuterDepth>
            <InnerDepth>string</InnerDepth>
            <MiddleDepth>string</MiddleDepth>
            <LoadIndex>string</LoadIndex>
            <IsWinterTyre>boolean</IsWinterTyre>
          </CurrentTyreInfo>
          <Tyres>
            <TyreTransferObjectExtended xsi:nil="true" />
            <TyreTransferObjectExtended xsi:nil="true" />
          </Tyres>
          <ServiceMenuCode>string</ServiceMenuCode>
          <FixedPackage>
            <FixedPackageTransferObject xsi:nil="true" />
            <FixedPackageTransferObject xsi:nil="true" />
          </FixedPackage>
        </ServiceOrderItemTransferObject>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
        <Mileage>string</Mileage>
      </Request>
    </AddServiceOrderLineItems>
  </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>
    <AddServiceOrderLineItemsResponse xmlns="http://autovhc.co.uk/">
      <AddServiceOrderLineItemsResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
        <DMSIdentifier>string</DMSIdentifier>
      </AddServiceOrderLineItemsResult>
    </AddServiceOrderLineItemsResponse>
  </soap12:Body>
</soap12:Envelope>