This aspect of the method is where the user asks the DMS for the part that they are after. In the below XML, there is the Part Number of 1763677, and a quantity required of 1.

There are two methods of searching for a part, the below shows the expected XML when searching for a part number. The part itself has no part description inputted into the system from the autoVHC side.

<SearchParts xmlns="http://autovhc.co.uk/">
	<Request>
		<Locale>en-GB</Locale>
		<JobCardNumber>2148110729</JobCardNumber>
		<CustomerID>11426</CustomerID>
		<LocationCode>01</LocationCode>
		<PartCriteria>
			<PartNo>1763677</PartNo>
			<PartDesc />
			<QuantityRequired>1</QuantityRequired>
		</PartCriteria>
		<ParametersCollection>
			<Parameters>
				<DMSParameter>
					<Name>USERNAME</Name>
					<Value />
				</DMSParameter>
				<DMSParameter>
					<Name>PASSWORD</Name>
					<Value />
				</DMSParameter>
			</Parameters>
		</ParametersCollection>
		<WildCardSearch>true</WildCardSearch>
	</Request>
</SearchParts>

If the user wanted to, they could search for the required part by searching via the part description field. This returns the same request as above, however in this example, the part number is blank, and the part description is populated.

<SearchParts xmlns="http://autovhc.co.uk/">
	<Request>
		<Locale>en-GB</Locale>
		<JobCardNumber>2148110729</JobCardNumber>
		<CustomerID>11426</CustomerID>
		<LocationCode>01</LocationCode>
		<PartCriteria>
			<PartNo />
			<PartDesc>Brakes</PartDesc>
			<QuantityRequired>1</QuantityRequired>
		</PartCriteria>
		<ParametersCollection>
			<Parameters>
				<DMSParameter>
					<Name>USERNAME</Name>
					<Value />
				</DMSParameter>
				<DMSParameter>
					<Name>PASSWORD</Name>
					<Value />
				</DMSParameter>
			</Parameters>
		</ParametersCollection>
		<WildCardSearch>true</WildCardSearch>
	</Request>
</SearchParts>
SearchPartsRequest
PropertyName PropertyType PropertyValue Description Mandatory
Locale String en-GB The .NET CurrentCulture.Name Yes
JobCardNumber String 45847 DMS Package Code Yes
CustomerID String 11544854 DMS Unique customer identifier Yes
LocationCode String M1 Used by some DMS require this to identify specific dealer data Yes
PartCriteria PartTransferObject (see Response Objects) autoVHC will partially populate this with Part number, description, quantity required No
ParametersCollection DMSParametersCollection (see below) No
WildCardSearch Boolean TRUE Indicates the user has request to search the DMS using wild cards Yes
DMSParametersCollection
PropertyName PropertyType PropertyValue Description Mandatory
Name String Username The name of the key pair value Yes
Value String admin The value of the key pair value Yes

how do wildcard work – standard %