Scenario 10: XML
From Intrannuity
REQUEST(Download)
<?xml version="1.0" encoding="UTF-8"?> <request version="1.1" merchantAccountCode="2000" password="welcome"> <customerAccount id="3" refId="3" code="php.ca-1" merchantAccountCode="2001" createDate="20080604" firstName="John" lastName="Smith" type="M" isActive="1" homePhone="2129856472" email="test@yahoo.com" street1="233 12th Street" city="Honolulu" state="CA" zipCode="31904" balance="0" isVerified="0" lastUpdateDate="20080604" birthDate="19691231" /> <revenueTransaction refId="#1" code="php.rt-10" merchantAccountCode="2001" customerAccount="3" accountActivityType="RI" amount="5000" balance="5000" itemCode="NutritionPack" /> <assetTransaction refId="#1" code="php.at-10" merchantAccountCode="2001" customerAccount="3" accountActivityType="AP" amount="5000" balance="5000" transactionType="K" /> </request>
FIND REQUEST (Download)
<?xml version="1.0" encoding="UTF-8"?> <request version="1.1" merchantAccountCode="2000" password="welcome"> <findCustomerAccount code="php.ca-1" /> </request>
FIND RESPONSE (Download)
<?xml version="1.0" encoding="UTF-8"?> <response> <customerAccount id="3" refId="3" code="php.ca-1" merchantAccountCode="2001" createDate="20080604" firstName="John" lastName="Smith" type="M" isActive="1" homePhone="2129856472" email="test@yahoo.com" street1="233 12th Street" city="Honolulu" state="CA" zipCode="31904" balance="0" lastUpdateDate="20080604" birthDate="19691231" /> </response>
RESPONSE ( Download)
<?xml version="1.0" encoding="UTF-8"?> <response> <customerAccount id="3" refId="3" code="php.ca-1" merchantAccountCode="2001" createDate="20080604" firstName="John" lastName="Smith" type="M" isActive="1" homePhone="2129856472" email="test@yahoo.com" street1="233 12th Street" city="Honolulu" state="CA" zipCode="31904" balance="0" lastUpdateDate="20080604" birthDate="19691231" /> <revenueTransaction id="11" refId="#1" code="php.rt-10" merchantAccountCode="2001" customerAccount="3" createDate="20080604" accountActivityType="RI" amount="5000" balance="5000" dueDate="20080604" itemCode="NutritionPack" isComplimentary="0" /> <assetTransaction id="10" refId="#1" code="php.at-10" merchantAccountCode="2001" customerAccount="3" accountActivityType="AP" amount="-5000" balance="-5000" dueDate="20080604" transactionType="K" /> </response>
