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

84 lines
3.8 KiB
XML

<rey_RomeCustomerUpdateReq xmlns="{{STAR_NS}}" revision="1.0">
<CustomerUpdateReq>
<Customer>
<CustomerId>{{CustomerId}}</CustomerId>
{{#CustomerType}}<CustomerType>
{{CustomerType}}</CustomerType>{{/CustomerType}}
{{#CustomerName}}<CustomerName>{{CustomerName}}</CustomerName>{{/CustomerName}}
{{#DisplayName}}<DisplayName>{{DisplayName}}</DisplayName>{{/DisplayName}}
{{#PreferredName}}<PreferredName>{{PreferredName}}</PreferredName>{{/PreferredName}}
{{#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>
{{#AddressId}}<AddressId>{{AddressId}}</AddressId>{{/AddressId}}
{{#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}}
{{#IsPrimary}}<IsPrimary>{{IsPrimary}}</IsPrimary>{{/IsPrimary}}
{{#IsDeleted}}<IsDeleted>{{IsDeleted}}</IsDeleted>{{/IsDeleted}}
</Address>
{{/Addresses}}
{{#Phones}}
<Phone>
{{#PhoneId}}<PhoneId>{{PhoneId}}</PhoneId>{{/PhoneId}}
{{#Type}}<Type>{{Type}}</Type>{{/Type}}
{{#Number}}<Number>{{Number}}</Number>{{/Number}}
{{#Extension}}<Extension>{{Extension}}</Extension>{{/Extension}}
{{#Preferred}}<Preferred>{{Preferred}}</Preferred>{{/Preferred}}
{{#IsDeleted}}<IsDeleted>{{IsDeleted}}</IsDeleted>{{/IsDeleted}}
</Phone>
{{/Phones}}
{{#Emails}}
<Email>
{{#EmailId}}<EmailId>{{EmailId}}</EmailId>{{/EmailId}}
{{#Type}}<Type>{{Type}}</Type>{{/Type}}
{{#Address}}<Address>{{Address}}</Address>{{/Address}}
{{#Preferred}}<Preferred>{{Preferred}}</Preferred>{{/Preferred}}
{{#IsDeleted}}<IsDeleted>{{IsDeleted}}</IsDeleted>{{/IsDeleted}}
</Email>
{{/Emails}}
{{#DriverLicense}}
<DriverLicense>
{{#LicenseNumber}}<LicenseNumber>{{LicenseNumber}}</LicenseNumber>{{/LicenseNumber}}
{{#LicenseState}}<LicenseState>{{LicenseState}}</LicenseState>{{/LicenseState}}
{{#ExpirationDate}}<ExpirationDate>{{ExpirationDate}}</ExpirationDate>{{/ExpirationDate}}
</DriverLicense>
{{/DriverLicense}}
{{#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>
{{#AccountId}}<AccountId>{{AccountId}}</AccountId>{{/AccountId}}
<Type>{{Type}}
</Type>
{{#AccountNumber}}<AccountNumber>{{AccountNumber}}</AccountNumber>{{/AccountNumber}}
{{#CreditLimit}}<CreditLimit>{{CreditLimit}}</CreditLimit>{{/CreditLimit}}
{{#IsDeleted}}<IsDeleted>{{IsDeleted}}</IsDeleted>{{/IsDeleted}}
</LinkedAccount>
{{/LinkedAccounts}}
{{#Notes}}
<Notes>
{{#Items}}<Note>{{.}}</Note>{{/Items}}
</Notes>
{{/Notes}}
</Customer>
</CustomerUpdateReq>
</rey_RomeCustomerUpdateReq>