The response returns the package code that he user has searched for. The response covers two main aspects to the packages, the <PartTransferObject>
and the <LabourTransferObject>
. This runs once the user clicks ‘save’ after they have selected their package.
<GetPackageResponse xmlns="http://autovhc.co.uk/">
<GetPackageResult>
<Success>true</Success>
<Locale>en-GB</Locale>
<CurrencyCode>GBP</CurrencyCode>
<DMSPackageList>
<DMSPackageHeader>
<PackageDescription>Service</PackageDescription>
<PackageCode>040KU08NL</PackageCode>
<PackageFixedPrice>5300</PackageFixedPrice>
</DMSPackageHeader>
<PartCollection>
<PartTransferObject>
<MarketingCode>0</MarketingCode>
<Discount>0,00</Discount>
<OriginalPrice>500</OriginalPrice>
<VATRate>20.00</VATRate>
<CostItemID />
<PartID>1747692</PartID>
<PartNo>1747692</PartNo>
<PartDesc>Part One</PartDesc>
<Stock>false</Stock>
<PartPrice>500</PartPrice>
<Quantity>0</Quantity>
<QuantityRequired>1</QuantityRequired>
<LabourTime>0,00</LabourTime>
<LabourPrice>0,00</LabourPrice>
<FittedPrice>500</FittedPrice>
<Auth>true</Auth>
<Deleted>false</Deleted>
<VHCitemID />
<TimeStamp />
<SiteCode>909022</SiteCode>
<BinLocation>0</BinLocation>
</PartTransferObject>
<LabourCollection>
<LabourTransferObject>
<DMSLabourCode>584350</DMSLabourCode>
<ComplexityRate>500</ComplexityRate>
<VHCItemID />
<Priceinctax>605,00</Priceinctax>
<costsheetlabourid />
<sitecode>909022</sitecode>
<description>Labour One</description>
<priceexcltax>500</priceexcltax>
<quantity>1</quantity>
<timeamount>1</timeamount>
<taxrate>20.00</taxrate>
<deleted>false</deleted>
<LabourCodeSourceDMS>true</LabourCodeSourceDMS>
</LabourTransferObject>
</LabourCollection>
</DMSPackageList>
</GetPackageResult>
</GetPackageResponse>
GetPackageResponse |
PropertyName |
PropertyType |
PropertyValue |
Description |
Mandatory |
Message |
String |
Call successful |
A message that will indicate why the request failed, Call Successful if it succeeds |
Yes |
Success |
Boolean |
TRUE |
Will be either True or False depending on the success of the request |
Yes |
Locale |
String |
en-GB |
Culture code |
Yes |
CurrencyCode |
String |
EUR |
ISO Currency code |
Yes |
DMSPackageList |
DMSPackageTransferObject |
See Below |
This will contain information about the package returned, Header, Parts, Labour etc |
No |
DMSPackageTransferObject |
PropertyName |
PropertyType |
PropertyValue |
Description |
Mandatory |
DMSPackageHeader |
DMSPackageHeaderTransferObject |
See DMSPackageHeaderTransferObject above. |
|
No |
PartCollection |
PartTransferObject[] |
See PartTransferObject description |
Collection of Part Information |
No |
TyreCollection |
TyreTransferObject[] |
See TyreTransferObject description |
Collection of Tyre Information |
No |
LabourCollection |
LabourTransferObject[] |
See LabourTransferObject description |
Collection of Labour Information |
No |
CommentsCollection |
String[] |
Addition information |
List of comments about the package |
No |