XML Data FusionServices.Controllers.PostPaymentFormBody GM

Summary

This is a sample XML file for processing payments to the General Ledger application. ;

Remarks

Set the appCode value to GM to indicate this is for GL.
<![CDATA[
    <ApplCode>GM</ApplCode>
    <OrigCode>11</OrigCode>
    <ForeignKey>021120211302341</ForeignKey>
    <PaymentDate>20200630</PaymentDate>
    <PaymentTime>050505</PaymentTime>
    <PaymentStatus>99</PaymentStatus>
    <TotalPaidAmount>100.00</TotalPaidAmount>
    <Comment1>first comment</Comment1>
    <PaymentDetailList>
      <PaymentDetail>
        <AddtlFeeCode>GOVEZ</AddtlFeeCode>
        <AfcMiscRevFlag>Y</AfcMiscRevFlag>
        <OtherKeyFld>25</OtherKeyFld>
        <PaymentAmount>20.00</PaymentAmount>
        <CustomerID>123456789</CustomerID>
        <CreditAcct>00100001000200</CreditAcct>
      </PaymentDetail>
      <PaymentDetail>
        <AddtlFeeCode>GOVEZ</AddtlFeeCode>
        <AfcMiscRevFlag>Y</AfcMiscRevFlag>
        <OtherKeyFld>47</OtherKeyFld>
        <PaymentAmount>50.00</PaymentAmount>
        <CustomerID>123456789</CustomerID>
        <CreditAcct>00100003690100</CreditAcct>
      </PaymentDetail>
      <PaymentDetail>
        <AddtlFeeCode>GOVEZ</AddtlFeeCode>
        <AfcMiscRevFlag>Y</AfcMiscRevFlag>
        <OtherKeyFld>106</OtherKeyFld>
        <PaymentAmount>30.00</PaymentAmount>
        <CustomerID>123456789</CustomerID>
        <CreditAcct>00100002019900</CreditAcct>
      </PaymentDetail>
    </PaymentDetailList>
    
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"
    	}
     
      ]
        
	}    
]]>