Files
bodyshop/server/rr/xml-templates/GetParts.xml

51 lines
2.5 KiB
XML

<rr:GetPartRq xmlns:rr="http://reynoldsandrey.com/">
<!-- Optional request metadata -->
{{#RequestId}}<rr:RequestId>{{RequestId}}</rr:RequestId>{{/RequestId}}
{{#Environment}}<rr:Environment>{{Environment}}</rr:Environment>{{/Environment}}
<rr:Dealer>
<rr:DealerCode>{{DealerCode}}</rr:DealerCode>
{{#DealerName}}<rr:DealerName>{{DealerName}}</rr:DealerName>{{/DealerName}}
{{#DealerNumber}}<rr:DealerNumber>{{DealerNumber}}</rr:DealerNumber>{{/DealerNumber}}
{{#StoreNumber}}<rr:StoreNumber>{{StoreNumber}}</rr:StoreNumber>{{/StoreNumber}}
{{#BranchNumber}}<rr:BranchNumber>{{BranchNumber}}</rr:BranchNumber>{{/BranchNumber}}
</rr:Dealer>
<rr:SearchCriteria>
{{#PartNumber}}<rr:PartNumber>{{PartNumber}}</rr:PartNumber>{{/PartNumber}}
{{#Description}}<rr:Description>{{Description}}</rr:Description>{{/Description}}
{{#Make}}<rr:Make>{{Make}}</rr:Make>{{/Make}}
{{#Model}}<rr:Model>{{Model}}</rr:Model>{{/Model}}
{{#Year}}<rr:Year>{{Year}}</rr:Year>{{/Year}}
{{#Vendor}}<rr:Vendor>{{Vendor}}</rr:Vendor>{{/Vendor}}
{{#Category}}<rr:Category>{{Category}}</rr:Category>{{/Category}}
<!-- Optional classification flags -->
{{#Brand}}<rr:Brand>{{Brand}}</rr:Brand>{{/Brand}}
{{#IsOEM}}<rr:IsOEM>{{IsOEM}}</rr:IsOEM>{{/IsOEM}} <!-- true | false -->
{{#IsAftermarket}}<rr:IsAftermarket>{{IsAftermarket}}</rr:IsAftermarket>{{/IsAftermarket}}
<!-- Availability / inventory -->
{{#InStock}}<rr:InStock>{{InStock}}</rr:InStock>{{/InStock}} <!-- true | false -->
{{#Warehouse}}<rr:Warehouse>{{Warehouse}}</rr:Warehouse>{{/Warehouse}}
{{#Location}}<rr:Location>{{Location}}</rr:Location>{{/Location}}
<!-- Pricing filters -->
{{#MinPrice}}<rr:MinPrice>{{MinPrice}}</rr:MinPrice>{{/MinPrice}}
{{#MaxPrice}}<rr:MaxPrice>{{MaxPrice}}</rr:MaxPrice>{{/MaxPrice}}
{{#Currency}}<rr:Currency>{{Currency}}</rr:Currency>{{/Currency}}
<!-- Search behavior -->
{{#SearchMode}}<rr:SearchMode>
{{SearchMode}}</rr:SearchMode>{{/SearchMode}} <!-- EXACT | PARTIAL -->
<!-- Paging / sorting -->
{{#MaxResults}}<rr:MaxResults>{{MaxResults}}</rr:MaxResults>{{/MaxResults}}
{{#PageNumber}}<rr:PageNumber>{{PageNumber}}</rr:PageNumber>{{/PageNumber}}
{{#SortBy}}<rr:SortBy>
{{SortBy}}</rr:SortBy>{{/SortBy}} <!-- e.g., PARTNUMBER, DESCRIPTION, PRICE -->
{{#SortDirection}}<rr:SortDirection>
{{SortDirection}}</rr:SortDirection>{{/SortDirection}} <!-- ASC | DESC -->
</rr:SearchCriteria>
</rr:GetPartRq>