feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration - Checkpoint

This commit is contained in:
Dave
2025-10-08 13:57:34 -04:00
parent 2ffc4b81f4
commit de02b34a63
28 changed files with 2550 additions and 2443 deletions

View File

@@ -1,102 +1,63 @@
<rr:CustomerInsertRq 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:Customer>
{{#CustomerId}}<rr:CustomerId>{{CustomerId}}</rr:CustomerId>{{/CustomerId}}
{{#CustomerType}}<rr:CustomerType>
{{CustomerType}}</rr:CustomerType>{{/CustomerType}} <!-- RETAIL | FLEET | INTERNAL -->
{{#CompanyName}}<rr:CompanyName>{{CompanyName}}</rr:CompanyName>{{/CompanyName}}
{{#FirstName}}<rr:FirstName>{{FirstName}}</rr:FirstName>{{/FirstName}}
{{#MiddleName}}<rr:MiddleName>{{MiddleName}}</rr:MiddleName>{{/MiddleName}}
{{#LastName}}<rr:LastName>{{LastName}}</rr:LastName>{{/LastName}}
{{#PreferredName}}<rr:PreferredName>{{PreferredName}}</rr:PreferredName>{{/PreferredName}}
{{#ActiveFlag}}<rr:ActiveFlag>{{ActiveFlag}}</rr:ActiveFlag>{{/ActiveFlag}}
<!-- Optional customer classification -->
{{#CustomerGroup}}<rr:CustomerGroup>{{CustomerGroup}}</rr:CustomerGroup>{{/CustomerGroup}}
{{#TaxExempt}}<rr:TaxExempt>{{TaxExempt}}</rr:TaxExempt>{{/TaxExempt}}
{{#DiscountLevel}}<rr:DiscountLevel>{{DiscountLevel}}</rr:DiscountLevel>{{/DiscountLevel}}
{{#PreferredLanguage}}<rr:PreferredLanguage>{{PreferredLanguage}}</rr:PreferredLanguage>{{/PreferredLanguage}}
<!-- Addresses -->
{{#Addresses}}
<rr:Address>
{{#AddressType}}<rr:AddressType>
{{AddressType}}</rr:AddressType>{{/AddressType}} <!-- BILLING | MAILING | SHIPPING -->
{{#AddressLine1}}<rr:AddressLine1>{{AddressLine1}}</rr:AddressLine1>{{/AddressLine1}}
{{#AddressLine2}}<rr:AddressLine2>{{AddressLine2}}</rr:AddressLine2>{{/AddressLine2}}
{{#City}}<rr:City>{{City}}</rr:City>{{/City}}
{{#State}}<rr:State>{{State}}</rr:State>{{/State}}
{{#PostalCode}}<rr:PostalCode>{{PostalCode}}</rr:PostalCode>{{/PostalCode}}
{{#Country}}<rr:Country>{{Country}}</rr:Country>{{/Country}}
</rr:Address>
{{/Addresses}}
<!-- Phones -->
{{#Phones}}
<rr:Phone>
<rr:PhoneNumber>{{PhoneNumber}}</rr:PhoneNumber>
{{#PhoneType}}<rr:PhoneType>
{{PhoneType}}</rr:PhoneType>{{/PhoneType}} <!-- MOBILE | HOME | WORK -->
{{#Preferred}}<rr:Preferred>{{Preferred}}</rr:Preferred>{{/Preferred}}
</rr:Phone>
{{/Phones}}
<!-- Emails -->
{{#Emails}}
<rr:Email>
<rr:EmailAddress>{{EmailAddress}}</rr:EmailAddress>
{{#EmailType}}<rr:EmailType>{{EmailType}}</rr:EmailType>{{/EmailType}}
{{#Preferred}}<rr:Preferred>{{Preferred}}</rr:Preferred>{{/Preferred}}
</rr:Email>
{{/Emails}}
<!-- Driver's License -->
{{#DriverLicense}}
<rr:DriverLicense>
{{#LicenseNumber}}<rr:LicenseNumber>{{LicenseNumber}}</rr:LicenseNumber>{{/LicenseNumber}}
{{#LicenseState}}<rr:LicenseState>{{LicenseState}}</rr:LicenseState>{{/LicenseState}}
{{#ExpirationDate}}<rr:ExpirationDate>{{ExpirationDate}}</rr:ExpirationDate>{{/ExpirationDate}}
</rr:DriverLicense>
{{/DriverLicense}}
<!-- Insurance -->
{{#Insurance}}
<rr:Insurance>
{{#CompanyName}}<rr:CompanyName>{{CompanyName}}</rr:CompanyName>{{/CompanyName}}
{{#PolicyNumber}}<rr:PolicyNumber>{{PolicyNumber}}</rr:PolicyNumber>{{/PolicyNumber}}
{{#ExpirationDate}}<rr:ExpirationDate>{{ExpirationDate}}</rr:ExpirationDate>{{/ExpirationDate}}
{{#ContactName}}<rr:ContactName>{{ContactName}}</rr:ContactName>{{/ContactName}}
{{#ContactPhone}}<rr:ContactPhone>{{ContactPhone}}</rr:ContactPhone>{{/ContactPhone}}
</rr:Insurance>
{{/Insurance}}
<!-- Optional linked accounts -->
{{#LinkedAccounts}}
<rr:LinkedAccount>
<rr:Type>{{Type}}</rr:Type> <!-- FLEET | WARRANTY | CORPORATE -->
<rr:AccountNumber>{{AccountNumber}}</rr:AccountNumber>
{{#CreditLimit}}<rr:CreditLimit>{{CreditLimit}}</rr:CreditLimit>{{/CreditLimit}}
</rr:LinkedAccount>
{{/LinkedAccounts}}
<!-- Notes -->
{{#Notes}}
<rr:Notes>
{{#Items}}<rr:Note>{{.}}</rr:Note>{{/Items}}
</rr:Notes>
{{/Notes}}
</rr:Customer>
</rr:CustomerInsertRq>
<rey_RomeCustomerInsertReq xmlns="{{STAR_NS}}" revision="1.0">
<CustomerInsertReq>
<Customer>
{{#CustomerNumber}}<CustomerNumber>{{CustomerNumber}}</CustomerNumber>{{/CustomerNumber}}
{{#CustomerType}}<CustomerType>
{{CustomerType}}</CustomerType>{{/CustomerType}}
<CustomerName>{{CustomerName}}</CustomerName>
{{#DisplayName}}<DisplayName>{{DisplayName}}</DisplayName>{{/DisplayName}}
{{#Language}}<Language>{{Language}}</Language>{{/Language}}
{{#GroupName}}<GroupName>{{GroupName}}</GroupName>{{/GroupName}}
{{#TaxExempt}}<TaxExempt>{{TaxExempt}}</TaxExempt>{{/TaxExempt}}
{{#DiscountLevel}}<DiscountLevel>{{DiscountLevel}}</DiscountLevel>{{/DiscountLevel}}
{{#Active}}<Active>{{Active}}</Active>{{/Active}}
{{#Addresses}}
<Address>
{{#Type}}<Type>{{Type}}</Type>{{/Type}}
{{#Line1}}<Line1>{{Line1}}</Line1>{{/Line1}}
{{#Line2}}<Line2>{{Line2}}</Line2>{{/Line2}}
{{#City}}<City>{{City}}</City>{{/City}}
{{#State}}<State>{{State}}</State>{{/State}}
{{#PostalCode}}<PostalCode>{{PostalCode}}</PostalCode>{{/PostalCode}}
{{#Country}}<Country>{{Country}}</Country>{{/Country}}
</Address>
{{/Addresses}}
{{#Phones}}
<Phone>
<Type>{{Type}}</Type>
<Number>{{Number}}</Number>
{{#Extension}}<Extension>{{Extension}}</Extension>{{/Extension}}
{{#Preferred}}<Preferred>{{Preferred}}</Preferred>{{/Preferred}}
</Phone>
{{/Phones}}
{{#Emails}}
<Email>
<Type>{{Type}}</Type>
<Address>{{Address}}</Address>
{{#Preferred}}<Preferred>{{Preferred}}</Preferred>{{/Preferred}}
</Email>
{{/Emails}}
{{#Insurance}}
<Insurance>
{{#CompanyName}}<CompanyName>{{CompanyName}}</CompanyName>{{/CompanyName}}
{{#PolicyNumber}}<PolicyNumber>{{PolicyNumber}}</PolicyNumber>{{/PolicyNumber}}
{{#ExpirationDate}}<ExpirationDate>{{ExpirationDate}}</ExpirationDate>{{/ExpirationDate}}
{{#ContactName}}<ContactName>{{ContactName}}</ContactName>{{/ContactName}}
{{#ContactPhone}}<ContactPhone>{{ContactPhone}}</ContactPhone>{{/ContactPhone}}
</Insurance>
{{/Insurance}}
{{#LinkedAccounts}}
<LinkedAccount>
<Type>{{Type}}</Type>
<AccountNumber>{{AccountNumber}}</AccountNumber>
{{#CreditLimit}}<CreditLimit>{{CreditLimit}}</CreditLimit>{{/CreditLimit}}
</LinkedAccount>
{{/LinkedAccounts}}
{{#Notes}}
<Notes>
{{#Items}}<Note>{{.}}</Note>{{/Items}}
</Notes>
{{/Notes}}
</Customer>
</CustomerInsertReq>
</rey_RomeCustomerInsertReq>