All pastes #827438 Raw Edit

K|O|G|I

public text v1 · immutable
#827438 ·published 2007-12-21 19:48 UTC
rendered paste body
XML
--------------------------

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
	<merchantAuthentication>
		<name>hidden</name>
		<transactionKey>hidden</transactionKey>
	</merchantAuthentication>
	<refId></refId>
	<profile>
		<merchantCustomerId>x</merchantCustomerId>

		<description>desc</description>
		<email>foo@bar.com</email>
		<paymentProfiles>
			<customerType></customerType>
			<billTo>
				<address>
					<firstName>john</firstName>

					<lastName>doe</lastName>
					<company>primatech</company>
					<address>123 fake street</address>
					<city>springville</city>
					<state>ma</state>
					<zip>11111</zip>

					<country>US</country>
					<phoneNumber>5555551234</phoneNumber>
					<faxNumber>5555555678</faxNumber>
				</address>
			</billTo>
			<payment>
				<creditCard>

					<cardNumber>4321432143214321</cardNumber>
					<expirationDate>0308</expirationDate>
				</creditCard>
				<bankAccount>
					<accountType>a</accountType>
					<nameOnAccount>b</nameOnAccount>
					<echeckType>c</echeckType>

					<bankName>d</bankName>
					<routingNumber>e</routingNumber>
					<accountNumber>f</accountNumber>
				</bankAccount>
				<driversLicense>
					<state>ut</state>
					<number>123411234</number>

					<dateOfBirth>1983-02-27</dateOfBirth>
				</driversLicense>
				<taxId>id</taxId>
			</payment>
		</paymentProfiles>
		<shipToList>
			<address>
				<firstName>john</firstName>

				<lastName>doe</lastName>
				<company>primatech</company>
				<address>123 fake street</address>
				<city>springville</city>
				<state>ma</state>
				<zip>11111</zip>

				<country>US</country>
			</address>
			<phoneNumber>5551234567</phoneNumber>
			<faxNumber>5559876543</faxNumber>
		</shipToList>
	</profile>
</createCustomerProfileRequest>

------------------------------
Validation Error
------------------------------
Cannot find the declaration of element 'createCustomerProfileRequest'.

------------------------------
XMLNS snippet
------------------------------

<!--

===================================================================
createCustomerProfileRequest
This method is used to create a new customer profile along with any 
customer payment profiles and customer shipping addresses for the customer profile.
===================================================================
	
-->
<xs:element name="createCustomerProfileRequest">
	<xs:complexType>
		<xs:complexContent>
			<xs:extension base="anet:ANetApiRequest">
				<xs:sequence>
					<xs:element name="profile" type="anet:customerProfileType"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:element>