This is a sample XML file for processing payments to the GMBA or InfiSys General Ledger application. ;
Set the appCode value to GM to indicate this is for GMBA or InfiSys.
The security and environment sections,
<![CDATA[
<CRpaymentBODY>
<CRpaymentSEC>
<userID>QVKM</userID>
<userName>Vicki Miller</userName>
<userPW>xxxxxxxxx</userPW>
</CRpaymentSEC>
<CRpaymentENV>
<programLib>HTE90PGM</programLib>
<dataLib>HTE90QDTA</dataLib>
<application>HT</application>
<additionalLib></additionalLib>
<suffix></suffix>
<environment>QUA1</environment>
</CRpaymentENV>
<CRpaymentHDR>
<appCode>GM</appCode>
<origCode>11</origCode>
<modifier></modifier>
<foreignKey>00002</foreignKey>
<linkedForeignKey></linkedForeignKey>
<specialNote></specialNote>
<tenderProcessFlag></tenderProcessFlag>
<paymentDate>20140214</paymentDate>
<paymentTime>150530</paymentTime>
<paymentStatus>99</paymentStatus>
<totalPaidAmount>000000100.00</totalPaidAmount>
<overrideTenderMethod></overrideTenderMethod>
<comment1>This is comment number one.</comment1>
<comment2>This is comment number two.</comment2>
<comment3>This is comment number three.</comment3>
<comment4>This is comment number four.</comment4>
<authCode></authCode>
<cardType></cardType>
<cardNumber></cardNumber>
</CRpaymentHDR>
<CRpaymentDTL>
<addtlFeeCode></addtlFeeCode>
<afcMiscRevFlag></afcMiscRevFlag>
<otherKeyFld></otherKeyFld>
<commentSpclInstr></commentSpclInstr>
<quantity>000000001.00</quantity>
<paymentAmount>000000100.00</paymentAmount>
<paymentDesc>GMBA Misc Revenue Pmt</paymentDesc>
<customerID></customerID>
<locationID></locationID>
<serviceCode></serviceCode>
<lienableNonlienableCode></lienableNonlienableCode>
<lienNbr></lienNbr>
<citationNbr></citationNbr>
<caseNbr></caseNbr>
<stockNbr></stockNbr>
<bankCode>03</bankCode>
<projectNbr>390101</projectNbr>
<creditAcct>00100001000300</creditAcct>
<debitAcct></debitAcct>
<paymentComment>Payment 1 comment.</paymentComment>
</CRpaymentDTL>
</CRpaymentBODY>
When using Postman to test, this would be the format in the body, as raw data....
with headers for Content-Type and Accept set to application/json; charset=utf-8
{
"ApplCode":"GM",
"OrigCode":"11",
"Modifier":"",
"ForeignKey":"071320201407571",
"PaymentDate":"20221208",
"PaymentTime":"050505",
"PaymentStatus":"99",
"TotalPaidAmount":"1.00",
"Comment1":"first comment",
"PaymentDetailList": [
{
"AddtlFeeCode":"",
"AfcMiscRevFlag":"Y",
"OtherKeyFld":"25",
"PaymentAmount":"1.00",
"CustomerID":"123456789",
"CreditAcct":"13500001010000"
}
]
}
]]>