Skip to main content

XTM Cloud 13.8

Example file for importing customers

<?xml version="1.0" encoding="UTF-8"?>
<customers>
	1<customer active="true" usingGoogleTranslation="true"><!-- true,false ->
		<name>TestName</name><!-- unique value ->
		<address>
			<street>TestStreat</street>
			<number>TestNumer</number>
			<city>TestCity</city>
			<state>TestState</state>
			<postalCode>TestPostalCode</postalCode>
			<country>TestCountry</country>
			<phone1>TestPhone1</phone1>
			<phone2>TestPhone2</phone2>
			<mobilephone>TestMobilephone</mobilephone>
			<fax>TestFax</fax>
			<www>TestWWW</www>
			<skypeId>TestSkypeId</skypeId>
			<msnId>TestMSN</msnId>
			<icqId>TestICQ</icqId>
			<jabberId>TestJabber</jabberId>
		</address>
		<customerPMs>
			<customerPM>
				<role>MANAGER</role><!-- MANAGE,VIEWER ->
				<user active="true">
					<firstname>TestFirstname</firstname>
					<lastname>TestLastname</lastname>
					<emailaddress>TestEmailaddress</emailaddress>
					<username>TestUsername</username>
					<password>TestPassword</password>
					<title>TestTitle</title>
					<timezone>TestTimezone</timezone>
					<preferredlanguage>en_GB</preferredlanguage><!-- undescrored or dashed IANA codes ->
				</user>
			</customerPM>
		</customerPMs>
	</customer>
		2<customer active="true" usingGoogleTranslation="true">
		<name>TestName2</name>
		<address>
			<city>ObligatoryTestCity</city>
			<country>ObligatoryTestCountry</country>
			<phone1>ObligatoryTestPhone1</phone1>
		</address>
		<customerPMs>
			<customerPM>
				<role></role>
				<user active="true">
					<firstname>ObligatoryTestFirstname</firstname>
					<lastname>ObligatoryTestLastname</lastname>
					<emailaddress>ObligatoryTestEmailaddress</emailaddress>
					<username>ObligatoryTestUsername</username>
					<password>ObligatoryTestPassword</password>
				</user>
			</customerPM>
			<customerPM>
				<role></role>
				<user active="true">
					<firstname>ObligatoryTestFirstname2</firstname>
					<lastname>ObligatoryTestLastname2</lastname>
					<emailaddress>ObligatoryTestEmailaddress2</emailaddress>
					<username>ObligatoryTestUsername2</username>
					<password>ObligatoryTestPassword2</password>
				</user>
			</customerPM>
		</customerPMs>
	</customer>
</customers>

1

The full data set

2

An obligatory sub-set

The XML file can contain all the customers where every customer element represents one customer. If a customer already exists in XTM then the record is skipped and not imported.

Customer Map

Customer Map