AgentCode issue

mail@pastecode.io avatar
unknown
xml
2 years ago
6.4 kB
6
Indexable
Never
---Request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
xmlns:ns="http://www.bidv.com/entity/vn/account/fdcreation/fdrcreate/1.0" 
xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0"
xmlns:ns2="http://www.bidv.com/global/common/bank/1.0" >
   <soap:Header/>
   <soap:Body>
      <ns:FDCreationReq>
          <ns1:Header>
            <ns1:Common>
               <ns1:BusinessDomain>FDRCReate</ns1:BusinessDomain>
               <ns1:ServiceVersion>1.1</ns1:ServiceVersion>
               <ns1:MessageId>Ab123456</ns1:MessageId>
               <ns1:TransactionId>Ab123456</ns1:TransactionId>
               <ns1:MessageTimestamp>2021-10-27T15:20:40</ns1:MessageTimestamp>
            </ns1:Common>
            <ns1:Client>
               <ns1:SourceAppID>OMNI</ns1:SourceAppID>
            </ns1:Client>
         </ns1:Header>
         <ns:BodyReqFDRCreate>
            <ns:MsgCode>?</ns:MsgCode>
            <ns:BaseXfer>
               <!--Optional:-->
               <ns2:TellerId>11600074</ns2:TellerId>
               <!--Optional:-->
               <ns2:Seq>?</ns2:Seq>
               <!--Optional:-->
               <ns2:SupervisorId>?</ns2:SupervisorId>
               <ns2:SvrBranch>116000</ns2:SvrBranch>
            </ns:BaseXfer>
            <ns:CustInfo>
               <!--Optional:-->
               <ns:CustId>12242293</ns:CustId>
            </ns:CustInfo>
            <ns:Product>
               <!--Optional:-->
               <ns:ProductId>2000</ns:ProductId>
               <!--Optional:-->
               <ns:ProductGrp>CD</ns:ProductGrp>
            </ns:Product>
            <ns:DepAcctInfo>
               <!--Optional:-->
               <ns:OpenDt>?</ns:OpenDt>
               <!--Optional:-->
               <ns:Term>
                  <!--Optional:-->
                  <ns:Count>1</ns:Count>
                  <!--Optional:-->
                  <ns:Unit>M</ns:Unit>
               </ns:Term>
               <!--Optional:-->
               <ns:MtDate>?</ns:MtDate>
               <!--Optional:-->
               <ns:CurrCode>VND</ns:CurrCode>
               <!--Optional:-->
               <ns:OrgAmt>10000.00</ns:OrgAmt>
               <!--Optional:-->
               <ns:FundingAcctId/>
               <!--Optional:-->
               <ns:AcctCCRel>?</ns:AcctCCRel>
               <!--Optional:-->
               <ns:Principal>
                  <!--Optional:-->
                  <ns:PmtMethod>2</ns:PmtMethod>
                  <!--Optional:-->
                  <ns:PayToAcctId>1110000044</ns:PayToAcctId>
               </ns:Principal>
               <!--Optional:-->
               <ns:IntPmt>
                  <!--Optional:-->
                  <ns:Frequency>1MAE</ns:Frequency>
                  <!--Optional:-->
                  <ns:PrepaidInterestInd>0</ns:PrepaidInterestInd>
                  <!--Optional:-->
                  <ns:PmtMethod>2</ns:PmtMethod>
                  <!--Optional:-->
                  <ns:PayToAcctId>1110000044</ns:PayToAcctId>
                  <!--Optional:-->
                  <ns:DtFirstPmt>?</ns:DtFirstPmt>
                  <!--Optional:-->
                  <ns:SchFrequency>1MA10</ns:SchFrequency>
                  <!--Optional:-->
                  <ns:SchAmt>10000</ns:SchAmt>
               </ns:IntPmt>
               <!--Optional:-->
               <ns:IntRate>
                  <!--Optional:-->
                  <ns:Rate>8</ns:Rate>
                  <!--Optional:-->
                  <ns:SpreadMinus>+</ns:SpreadMinus>
                  <!--Optional:-->
                  <ns:SpreadPlus>-</ns:SpreadPlus>
               </ns:IntRate>
               <!--Optional:-->
               <ns:OtherInfo>
                  <!--Optional:-->
                  <ns:AcctMg>11102100</ns:AcctMg>
                  <!--Optional:-->
                  <ns:PurpCode>1</ns:PurpCode>
                  <!--Optional:-->
                  <ns:SpecPurpCode>AA1</ns:SpecPurpCode>
                  <!--Optional:-->
                  <ns:Remark>not comment</ns:Remark>
               </ns:OtherInfo>
               <!--Optional:-->
               <ns:AgentInfo>
                  <!--You have a CHOICE of the next 2 items at this level-->
                 <!-- <ns:AgencyCode>Name</ns:AgencyCode> -->
                  <ns:AgentCode>123</ns:AgentCode>
                  <!--Optional:-->
                  <ns:PromotionCode>CCTG1</ns:PromotionCode>
                  <!--Optional:-->
                  <ns:ReferRepre>not comment</ns:ReferRepre>
               </ns:AgentInfo>
            </ns:DepAcctInfo>
         </ns:BodyReqFDRCreate>
      </ns:FDCreationReq>
   </soap:Body>
</soap:Envelope>

---Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Body>
      <ns0:FDCreationRes xmlns:ns0="http://www.bidv.com/entity/vn/account/fdcreation/fdrcreate/1.0">
         <ns1:Header xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
            <ns1:Common>
               <ns1:BusinessDomain>FDRCReate</ns1:BusinessDomain>
               <ns1:ServiceVersion>1.1</ns1:ServiceVersion>
               <ns1:MessageId>Ab123456</ns1:MessageId>
               <ns1:TransactionId>Ab123456</ns1:TransactionId>
               <ns1:MessageTimestamp>2021-10-27T15:20:40</ns1:MessageTimestamp>
            </ns1:Common>
            <ns1:Client>
               <ns1:SourceAppID>OMNI</ns1:SourceAppID>
            </ns1:Client>
         </ns1:Header>
         <ns1:ResponseStatus xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
            <ns1:Status>1</ns1:Status>
            <ns1:GlobalErrorCode>400</ns1:GlobalErrorCode>
            <ns1:GlobalErrorDescription>Error in Backend</ns1:GlobalErrorDescription>
            <ns1:ErrorInfo>
               <ns1:SourceAppID>Core</ns1:SourceAppID>
               <ns1:ErrorCode>1485</ns1:ErrorCode>
               <ns1:ErrorDesc>DEP.ZCCREL (Account-Cost Center Relationship)|Invalid table value DEP.ZCCREL (Account-Cost Center Relationship)</ns1:ErrorDesc>
            </ns1:ErrorInfo>
         </ns1:ResponseStatus>
         <ns0:BodyResFDRCreate>
            <ns0:FDRNo/>
         </ns0:BodyResFDRCreate>
      </ns0:FDCreationRes>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>