WebService1


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

GetServiceOrderByDate

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

<?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>
    <GetServiceOrderByDate xmlns="http://autovhc.co.uk/">
      <Request>
        <LocationCode>string</LocationCode>
        <DateTo>string</DateTo>
        <DateFrom>string</DateFrom>
        <Locale>string</Locale>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
      </Request>
    </GetServiceOrderByDate>
  </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>
    <GetServiceOrderByDateResponse xmlns="http://autovhc.co.uk/">
      <GetServiceOrderByDateResult>
        <Locale>string</Locale>
        <Message>string</Message>
        <Success>boolean</Success>
        <ServiceOrders>
          <ServiceOrderTransferObject>
            <VHCDate>string</VHCDate>
            <Make>string</Make>
            <Model>string</Model>
            <VIN>string</VIN>
            <JobCardNumber>string</JobCardNumber>
            <RegistrationNumber>string</RegistrationNumber>
            <CustomerTitle>string</CustomerTitle>
            <CustomerFirstName>string</CustomerFirstName>
            <CustomerSurName>string</CustomerSurName>
            <CustomerEmail>string</CustomerEmail>
            <CustomerPostCode>string</CustomerPostCode>
            <CustomerTelephoneNumber>string</CustomerTelephoneNumber>
            <CustomerMobileNumber>string</CustomerMobileNumber>
            <CustomerUUID>string</CustomerUUID>
            <CustomerAddress1>string</CustomerAddress1>
            <CustomerAddress2>string</CustomerAddress2>
            <CustomerType>string</CustomerType>
            <FirstRegistrationDate>string</FirstRegistrationDate>
            <NextMotDate>string</NextMotDate>
            <NextServiceDate>string</NextServiceDate>
            <ServiceAdvisor>string</ServiceAdvisor>
            <Workshop>string</Workshop>
            <WorkRequired>string</WorkRequired>
            <Mileage>string</Mileage>
            <DateIn>string</DateIn>
            <DateOut>string</DateOut>
            <TimeIn>string</TimeIn>
            <TimeOut>string</TimeOut>
            <ServiceOrderItems xsi:nil="true" />
            <MakeCode>string</MakeCode>
            <ModelCode>string</ModelCode>
            <AgreedEstimate>string</AgreedEstimate>
          </ServiceOrderTransferObject>
          <ServiceOrderTransferObject>
            <VHCDate>string</VHCDate>
            <Make>string</Make>
            <Model>string</Model>
            <VIN>string</VIN>
            <JobCardNumber>string</JobCardNumber>
            <RegistrationNumber>string</RegistrationNumber>
            <CustomerTitle>string</CustomerTitle>
            <CustomerFirstName>string</CustomerFirstName>
            <CustomerSurName>string</CustomerSurName>
            <CustomerEmail>string</CustomerEmail>
            <CustomerPostCode>string</CustomerPostCode>
            <CustomerTelephoneNumber>string</CustomerTelephoneNumber>
            <CustomerMobileNumber>string</CustomerMobileNumber>
            <CustomerUUID>string</CustomerUUID>
            <CustomerAddress1>string</CustomerAddress1>
            <CustomerAddress2>string</CustomerAddress2>
            <CustomerType>string</CustomerType>
            <FirstRegistrationDate>string</FirstRegistrationDate>
            <NextMotDate>string</NextMotDate>
            <NextServiceDate>string</NextServiceDate>
            <ServiceAdvisor>string</ServiceAdvisor>
            <Workshop>string</Workshop>
            <WorkRequired>string</WorkRequired>
            <Mileage>string</Mileage>
            <DateIn>string</DateIn>
            <DateOut>string</DateOut>
            <TimeIn>string</TimeIn>
            <TimeOut>string</TimeOut>
            <ServiceOrderItems xsi:nil="true" />
            <MakeCode>string</MakeCode>
            <ModelCode>string</ModelCode>
            <AgreedEstimate>string</AgreedEstimate>
          </ServiceOrderTransferObject>
        </ServiceOrders>
      </GetServiceOrderByDateResult>
    </GetServiceOrderByDateResponse>
  </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>
    <GetServiceOrderByDate xmlns="http://autovhc.co.uk/">
      <Request>
        <LocationCode>string</LocationCode>
        <DateTo>string</DateTo>
        <DateFrom>string</DateFrom>
        <Locale>string</Locale>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
      </Request>
    </GetServiceOrderByDate>
  </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>
    <GetServiceOrderByDateResponse xmlns="http://autovhc.co.uk/">
      <GetServiceOrderByDateResult>
        <Locale>string</Locale>
        <Message>string</Message>
        <Success>boolean</Success>
        <ServiceOrders>
          <ServiceOrderTransferObject>
            <VHCDate>string</VHCDate>
            <Make>string</Make>
            <Model>string</Model>
            <VIN>string</VIN>
            <JobCardNumber>string</JobCardNumber>
            <RegistrationNumber>string</RegistrationNumber>
            <CustomerTitle>string</CustomerTitle>
            <CustomerFirstName>string</CustomerFirstName>
            <CustomerSurName>string</CustomerSurName>
            <CustomerEmail>string</CustomerEmail>
            <CustomerPostCode>string</CustomerPostCode>
            <CustomerTelephoneNumber>string</CustomerTelephoneNumber>
            <CustomerMobileNumber>string</CustomerMobileNumber>
            <CustomerUUID>string</CustomerUUID>
            <CustomerAddress1>string</CustomerAddress1>
            <CustomerAddress2>string</CustomerAddress2>
            <CustomerType>string</CustomerType>
            <FirstRegistrationDate>string</FirstRegistrationDate>
            <NextMotDate>string</NextMotDate>
            <NextServiceDate>string</NextServiceDate>
            <ServiceAdvisor>string</ServiceAdvisor>
            <Workshop>string</Workshop>
            <WorkRequired>string</WorkRequired>
            <Mileage>string</Mileage>
            <DateIn>string</DateIn>
            <DateOut>string</DateOut>
            <TimeIn>string</TimeIn>
            <TimeOut>string</TimeOut>
            <ServiceOrderItems xsi:nil="true" />
            <MakeCode>string</MakeCode>
            <ModelCode>string</ModelCode>
            <AgreedEstimate>string</AgreedEstimate>
          </ServiceOrderTransferObject>
          <ServiceOrderTransferObject>
            <VHCDate>string</VHCDate>
            <Make>string</Make>
            <Model>string</Model>
            <VIN>string</VIN>
            <JobCardNumber>string</JobCardNumber>
            <RegistrationNumber>string</RegistrationNumber>
            <CustomerTitle>string</CustomerTitle>
            <CustomerFirstName>string</CustomerFirstName>
            <CustomerSurName>string</CustomerSurName>
            <CustomerEmail>string</CustomerEmail>
            <CustomerPostCode>string</CustomerPostCode>
            <CustomerTelephoneNumber>string</CustomerTelephoneNumber>
            <CustomerMobileNumber>string</CustomerMobileNumber>
            <CustomerUUID>string</CustomerUUID>
            <CustomerAddress1>string</CustomerAddress1>
            <CustomerAddress2>string</CustomerAddress2>
            <CustomerType>string</CustomerType>
            <FirstRegistrationDate>string</FirstRegistrationDate>
            <NextMotDate>string</NextMotDate>
            <NextServiceDate>string</NextServiceDate>
            <ServiceAdvisor>string</ServiceAdvisor>
            <Workshop>string</Workshop>
            <WorkRequired>string</WorkRequired>
            <Mileage>string</Mileage>
            <DateIn>string</DateIn>
            <DateOut>string</DateOut>
            <TimeIn>string</TimeIn>
            <TimeOut>string</TimeOut>
            <ServiceOrderItems xsi:nil="true" />
            <MakeCode>string</MakeCode>
            <ModelCode>string</ModelCode>
            <AgreedEstimate>string</AgreedEstimate>
          </ServiceOrderTransferObject>
        </ServiceOrders>
      </GetServiceOrderByDateResult>
    </GetServiceOrderByDateResponse>
  </soap12:Body>
</soap12:Envelope>