feature/IO-3255-simplified-parts-management - Checkpoint
This commit is contained in:
340
server/integrations/partsManagement/sampleBody.xml
Normal file
340
server/integrations/partsManagement/sampleBody.xml
Normal file
@@ -0,0 +1,340 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VehicleDamageEstimateAddRq xmlns="http://www.cieca.com/BMS">
|
||||
<!-- Shop identifier -->
|
||||
<ShopID>12345</ShopID>
|
||||
|
||||
<!-- Request & Claim -->
|
||||
<RqUID>17e5ccc4-cdfb-4cf3-a08d-ecfa8d145d6f</RqUID>
|
||||
<RefClaimNum>CLM123</RefClaimNum>
|
||||
|
||||
<!-- Document metadata -->
|
||||
<DocumentInfo>
|
||||
<DocumentVer>
|
||||
<DocumentVerCode>SV</DocumentVerCode>
|
||||
<DocumentVerNum>1</DocumentVerNum>
|
||||
</DocumentVer>
|
||||
<DocumentVer>
|
||||
<DocumentVerCode>VN</DocumentVerCode>
|
||||
<DocumentVerNum>1</DocumentVerNum>
|
||||
</DocumentVer>
|
||||
<ReferenceInfo>
|
||||
<OtherReferenceInfo>
|
||||
<OtherReferenceName>RO Number</OtherReferenceName>
|
||||
<OtherRefNum>RO-987</OtherRefNum>
|
||||
</OtherReferenceInfo>
|
||||
<OtherReferenceInfo>
|
||||
<OtherReferenceName>Job UUID</OtherReferenceName>
|
||||
<OtherRefNum>abcde-12345-uuid</OtherRefNum>
|
||||
</OtherReferenceInfo>
|
||||
</ReferenceInfo>
|
||||
<Comment>Include OEM where possible</Comment>
|
||||
<TransmitDateTime>2025-06-18T12:00:00Z</TransmitDateTime>
|
||||
</DocumentInfo>
|
||||
|
||||
<!-- Event classification -->
|
||||
<EventInfo>
|
||||
<AssignmentEvent>
|
||||
<AssignmentNumber>1</AssignmentNumber>
|
||||
<AssignmentType>Estimate</AssignmentType>
|
||||
<AssignmentDate>2025-06-18T11:30:00Z</AssignmentDate>
|
||||
<CreateDateTime>2025-06-18T11:29:00Z</CreateDateTime>
|
||||
</AssignmentEvent>
|
||||
<RepairEvent>
|
||||
<TargetCompletionDateTime>2025-06-25T17:00:00Z</TargetCompletionDateTime>
|
||||
<RequestedPickUpDateTime>2025-06-22T09:00:00Z</RequestedPickUpDateTime>
|
||||
</RepairEvent>
|
||||
</EventInfo>
|
||||
|
||||
<!-- Claim & Policy -->
|
||||
<ClaimInfo>
|
||||
<ClaimNum>CLM123</ClaimNum>
|
||||
<ClaimStatus>Open</ClaimStatus>
|
||||
<PolicyInfo>
|
||||
<PolicyNum>POL456</PolicyNum>
|
||||
<CoverageInfo>
|
||||
<Coverage>
|
||||
<DeductibleInfo>
|
||||
<DeductibleAmt>500.00</DeductibleAmt>
|
||||
</DeductibleInfo>
|
||||
</Coverage>
|
||||
</CoverageInfo>
|
||||
</PolicyInfo>
|
||||
<Cieca_ttl>1500.50</Cieca_ttl>
|
||||
</ClaimInfo>
|
||||
|
||||
<!-- Administrative Parties -->
|
||||
<AdminInfo>
|
||||
<!-- Owner -->
|
||||
<Owner>
|
||||
<Party>
|
||||
<PersonInfo>
|
||||
<PersonName>
|
||||
<FirstName>John</FirstName>
|
||||
<LastName>Doe</LastName>
|
||||
</PersonName>
|
||||
<Communications>
|
||||
<CommQualifier>AL</CommQualifier>
|
||||
<Address>
|
||||
<Address1>100 Main St</Address1>
|
||||
<City>Metropolis</City>
|
||||
<StateProvince>NY</StateProvince>
|
||||
<PostalCode>10001</PostalCode>
|
||||
<Country>USA</Country>
|
||||
</Address>
|
||||
</Communications>
|
||||
</PersonInfo>
|
||||
<ContactInfo>
|
||||
<Communications>
|
||||
<CommQualifier>CP</CommQualifier>
|
||||
<CommPhone>5551234567</CommPhone>
|
||||
</Communications>
|
||||
<Communications>
|
||||
<CommQualifier>EM</CommQualifier>
|
||||
<CommEmail>john.doe@example.com</CommEmail>
|
||||
</Communications>
|
||||
</ContactInfo>
|
||||
</Party>
|
||||
</Owner>
|
||||
|
||||
<!-- Estimator -->
|
||||
<Estimator>
|
||||
<Party>
|
||||
<PersonInfo>
|
||||
<PersonName>
|
||||
<FirstName>Jane</FirstName>
|
||||
<LastName>Smith</LastName>
|
||||
</PersonName>
|
||||
</PersonInfo>
|
||||
<ContactInfo>
|
||||
<Communications>
|
||||
<CommQualifier>EM</CommQualifier>
|
||||
<CommEmail>jane.smith@example.com</CommEmail>
|
||||
</Communications>
|
||||
</ContactInfo>
|
||||
</Party>
|
||||
<Affiliation>EST001</Affiliation>
|
||||
</Estimator>
|
||||
|
||||
<!-- Repair Facility -->
|
||||
<RepairFacility>
|
||||
<Party>
|
||||
<OrgInfo>
|
||||
<CompanyName>AutoFix</CompanyName>
|
||||
<Communications>
|
||||
<CommQualifier>AL</CommQualifier>
|
||||
<Address>
|
||||
<Address1>200 Repair Rd</Address1>
|
||||
<City>Mechanicsburg</City>
|
||||
<StateProvince>PA</StateProvince>
|
||||
<PostalCode>17055</PostalCode>
|
||||
<Country>USA</Country>
|
||||
</Address>
|
||||
</Communications>
|
||||
</OrgInfo>
|
||||
<ContactInfo>
|
||||
<Communications>
|
||||
<CommQualifier>WP</CommQualifier>
|
||||
<CommPhone>5559876543</CommPhone>
|
||||
</Communications>
|
||||
<Communications>
|
||||
<CommQualifier>FX</CommQualifier>
|
||||
<CommPhone>5559876544</CommPhone>
|
||||
</Communications>
|
||||
</ContactInfo>
|
||||
</Party>
|
||||
</RepairFacility>
|
||||
|
||||
<!-- Adjuster -->
|
||||
<Adjuster>
|
||||
<Party>
|
||||
<PersonInfo>
|
||||
<PersonName>
|
||||
<FirstName>Alice</FirstName>
|
||||
<LastName>Johnson</LastName>
|
||||
</PersonName>
|
||||
</PersonInfo>
|
||||
</Party>
|
||||
</Adjuster>
|
||||
|
||||
<!-- Supplier -->
|
||||
<Supplier>
|
||||
<Party>
|
||||
<OrgInfo>
|
||||
<CompanyName>PartsRUs</CompanyName>
|
||||
</OrgInfo>
|
||||
</Party>
|
||||
</Supplier>
|
||||
|
||||
<!-- Sender -->
|
||||
<Sender>
|
||||
<Party>
|
||||
<OrgInfo>
|
||||
<CompanyName>XmlSender</CompanyName>
|
||||
</OrgInfo>
|
||||
</Party>
|
||||
</Sender>
|
||||
|
||||
<!-- Other Admin Party -->
|
||||
<OtherParty>
|
||||
<Party>
|
||||
<OrgInfo>
|
||||
<CompanyName>ThirdPartyAdmin</CompanyName>
|
||||
</OrgInfo>
|
||||
</Party>
|
||||
<AdminType>TPA</AdminType>
|
||||
</OtherParty>
|
||||
</AdminInfo>
|
||||
|
||||
<!-- (Optional) Rates -->
|
||||
<ProfileInfo>
|
||||
<RateInfo>
|
||||
<RateType>LABOR</RateType>
|
||||
<Rate>100.0</Rate>
|
||||
<RateTierInfo>
|
||||
<TierNum>1</TierNum>
|
||||
<Percentage>50.0</Percentage>
|
||||
</RateTierInfo>
|
||||
</RateInfo>
|
||||
</ProfileInfo>
|
||||
|
||||
<!-- Vehicle details -->
|
||||
<VehicleInfo>
|
||||
<VINInfo>
|
||||
<VINNum>1HGCM82633A004352</VINNum>
|
||||
</VINInfo>
|
||||
<License>
|
||||
<LicensePlateNum>ABC1234</LicensePlateNum>
|
||||
<LicensePlateStateProvince>CA</LicensePlateStateProvince>
|
||||
</License>
|
||||
<VehicleDesc>
|
||||
<ModelYear>2020</ModelYear>
|
||||
<MakeDesc>Honda</MakeDesc>
|
||||
<ModelName>Accord</ModelName>
|
||||
<BodyStyle>Sedan</BodyStyle>
|
||||
<EngineDesc>2.0L</EngineDesc>
|
||||
<ProductionDate>2019-10-10</ProductionDate>
|
||||
<SubModelDesc>Sport</SubModelDesc>
|
||||
<FuelType>Gasoline</FuelType>
|
||||
</VehicleDesc>
|
||||
<Paint>
|
||||
<Exterior>
|
||||
<ColorName>Blue</ColorName>
|
||||
</Exterior>
|
||||
</Paint>
|
||||
<Condition>
|
||||
<DrivableInd>Y</DrivableInd>
|
||||
</Condition>
|
||||
</VehicleInfo>
|
||||
|
||||
<!-- Damage line with non-OEM part -->
|
||||
<DamageLineInfo>
|
||||
<LineNum>1</LineNum>
|
||||
<UniqueSequenceNum>1001</UniqueSequenceNum>
|
||||
<ParentLineNum>0</ParentLineNum>
|
||||
<ManualLineInd>0</ManualLineInd>
|
||||
<AutomatedEntry>1</AutomatedEntry>
|
||||
<DescJudgmentInd>0</DescJudgmentInd>
|
||||
<LineStatusCode>Draft</LineStatusCode>
|
||||
<LineDesc>Front Bumper</LineDesc>
|
||||
<PartInfo>
|
||||
<PartType>PAA</PartType>
|
||||
<Quantity>1</Quantity>
|
||||
<PartPrice>200.00</PartPrice>
|
||||
<OEMPartNum>OEM123</OEMPartNum>
|
||||
<NonOEM>
|
||||
<NonOEMPartNum>NONOEM123</NonOEMPartNum>
|
||||
<NonOEMPartPrice>180.00</NonOEMPartPrice>
|
||||
<SupplierRefNum>VEND1</SupplierRefNum>
|
||||
<PartSelectedInd>1</PartSelectedInd>
|
||||
</NonOEM>
|
||||
<TaxableInd>1</TaxableInd>
|
||||
<AfterMarketUsage>OV</AfterMarketUsage>
|
||||
<CertificationType>C</CertificationType>
|
||||
<PriceJudgmentInd>0</PriceJudgmentInd>
|
||||
<GlassPartInd>0</GlassPartInd>
|
||||
<PriceInclInd>0</PriceInclInd>
|
||||
<OrderByApplicationInd>false</OrderByApplicationInd>
|
||||
</PartInfo>
|
||||
<LaborInfo>
|
||||
<LaborType>LAB</LaborType>
|
||||
<LaborOperation>OP1</LaborOperation>
|
||||
<LaborHours>2.5</LaborHours>
|
||||
<LaborAmt>250.00</LaborAmt>
|
||||
</LaborInfo>
|
||||
<LineMemo>Replace bumper</LineMemo>
|
||||
</DamageLineInfo>
|
||||
|
||||
<!-- Damage line with glass part -->
|
||||
<DamageLineInfo>
|
||||
<LineNum>2</LineNum>
|
||||
<UniqueSequenceNum>1002</UniqueSequenceNum>
|
||||
<ParentLineNum>0</ParentLineNum>
|
||||
<ManualLineInd>0</ManualLineInd>
|
||||
<AutomatedEntry>0</AutomatedEntry>
|
||||
<DescJudgmentInd>0</DescJudgmentInd>
|
||||
<LineStatusCode>Draft</LineStatusCode>
|
||||
<LineDesc>Windshield</LineDesc>
|
||||
<PartInfo>
|
||||
<PartType>PAG</PartType>
|
||||
<Quantity>1</Quantity>
|
||||
<PartPrice>572.06</PartPrice>
|
||||
<OEMPartNum>5610104082</OEMPartNum>
|
||||
<NonOEM>
|
||||
<NonOEMPartNum>5610104082</NonOEMPartNum>
|
||||
<NonOEMPartPrice>572.06</NonOEMPartPrice>
|
||||
<SupplierRefNum>VEND2</SupplierRefNum>
|
||||
<PartSelectedInd>1</PartSelectedInd>
|
||||
</NonOEM>
|
||||
<TaxableInd>1</TaxableInd>
|
||||
<AfterMarketUsage>NU</AfterMarketUsage>
|
||||
<GlassPartInd>1</GlassPartInd>
|
||||
<PriceJudgmentInd>0</PriceJudgmentInd>
|
||||
<PriceInclInd>0</PriceInclInd>
|
||||
<OrderByApplicationInd>false</OrderByApplicationInd>
|
||||
</PartInfo>
|
||||
<LaborInfo>
|
||||
<LaborType>LAB</LaborType>
|
||||
<LaborOperation>OP11</LaborOperation>
|
||||
<LaborHours>3.7</LaborHours>
|
||||
<LaborAmt>370.00</LaborAmt>
|
||||
</LaborInfo>
|
||||
<LineMemo>Replace windshield</LineMemo>
|
||||
</DamageLineInfo>
|
||||
|
||||
<!-- Damage line with sublet info -->
|
||||
<DamageLineInfo>
|
||||
<LineNum>3</LineNum>
|
||||
<UniqueSequenceNum>1003</UniqueSequenceNum>
|
||||
<ParentLineNum>0</ParentLineNum>
|
||||
<ManualLineInd>0</ManualLineInd>
|
||||
<AutomatedEntry>1</AutomatedEntry>
|
||||
<DescJudgmentInd>0</DescJudgmentInd>
|
||||
<LineStatusCode>Draft</LineStatusCode>
|
||||
<LineDesc>Sublet Upholstery Repair</LineDesc>
|
||||
<SubletInfo>
|
||||
<SubletVendorName>UpholsteryCo</SubletVendorName>
|
||||
<SubletAmount>200.00</SubletAmount>
|
||||
<SubletLaborHours>2.0</SubletLaborHours>
|
||||
</SubletInfo>
|
||||
<LineMemo>Stitching match required</LineMemo>
|
||||
</DamageLineInfo>
|
||||
|
||||
<!-- Damage line with labor-only work -->
|
||||
<DamageLineInfo>
|
||||
<LineNum>4</LineNum>
|
||||
<UniqueSequenceNum>1004</UniqueSequenceNum>
|
||||
<ParentLineNum>0</ParentLineNum>
|
||||
<ManualLineInd>0</ManualLineInd>
|
||||
<AutomatedEntry>1</AutomatedEntry>
|
||||
<DescJudgmentInd>0</DescJudgmentInd>
|
||||
<LineStatusCode>Draft</LineStatusCode>
|
||||
<LineDesc>Dent Repair Door</LineDesc>
|
||||
<LaborInfo>
|
||||
<LaborType>LAD</LaborType>
|
||||
<LaborOperation>OP3</LaborOperation>
|
||||
<LaborHours>1.5</LaborHours>
|
||||
<LaborAmt>150.00</LaborAmt>
|
||||
</LaborInfo>
|
||||
<LineMemo>Requires touch-up</LineMemo>
|
||||
</DamageLineInfo>
|
||||
</VehicleDamageEstimateAddRq>
|
||||
Reference in New Issue
Block a user