WebService1


Click here for a complete list of operations.

CreateNewServiceOrder

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

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

<?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>
    <CreateNewServiceOrder xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <LocationCode>string</LocationCode>
        <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>
            <ServiceOrderItemTransferObject xsi:nil="true" />
            <ServiceOrderItemTransferObject xsi:nil="true" />
          </ServiceOrderItems>
          <MakeCode>string</MakeCode>
          <ModelCode>string</ModelCode>
          <AgreedEstimate>string</AgreedEstimate>
        </ServiceOrderTransferObject>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
      </Request>
    </CreateNewServiceOrder>
  </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>
    <CreateNewServiceOrderResponse xmlns="http://autovhc.co.uk/">
      <CreateNewServiceOrderResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
      </CreateNewServiceOrderResult>
    </CreateNewServiceOrderResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebService1.asmx HTTP/1.1
Host: autovhc.beiramoto.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>
    <CreateNewServiceOrder xmlns="http://autovhc.co.uk/">
      <Request>
        <Locale>string</Locale>
        <LocationCode>string</LocationCode>
        <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>
            <ServiceOrderItemTransferObject xsi:nil="true" />
            <ServiceOrderItemTransferObject xsi:nil="true" />
          </ServiceOrderItems>
          <MakeCode>string</MakeCode>
          <ModelCode>string</ModelCode>
          <AgreedEstimate>string</AgreedEstimate>
        </ServiceOrderTransferObject>
        <ParametersCollection>
          <Parameters>
            <DMSParameter xsi:nil="true" />
            <DMSParameter xsi:nil="true" />
          </Parameters>
        </ParametersCollection>
      </Request>
    </CreateNewServiceOrder>
  </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>
    <CreateNewServiceOrderResponse xmlns="http://autovhc.co.uk/">
      <CreateNewServiceOrderResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Locale>string</Locale>
        <CurrencyCode>string</CurrencyCode>
      </CreateNewServiceOrderResult>
    </CreateNewServiceOrderResponse>
  </soap12:Body>
</soap12:Envelope>