Create CIF Khách hàng doanh nghiệp

 avatar
user_4010915
xml
2 years ago
4.5 kB
8
Indexable
Never
//Input
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <ns3:CifCreationReq xmlns="http://www.bidv.com/common/envelope/commonheader/1.0" xmlns:ns2="http://www.bidv.com/global/common/bank/1.0" xmlns:ns3="http://www.bidv.com/entity/vn/cif/cifcreation/create/1.0">
            <Header>
                <Common>
                    <BusinessDomain>bidv.com.vn</BusinessDomain>
                    <ServiceVersion>1.0</ServiceVersion>
                    <MessageId>DKTT35ecd7f7fced435cb7089b2e5c9995c1</MessageId>
                    <TransactionId>20221216170118765</TransactionId>
                    <MessageTimestamp>2022-12-16T17:01:26.339+07:00</MessageTimestamp>
                </Common>
                <Client>
                    <SourceAppID>DKTT</SourceAppID>
                </Client>
            </Header>
            <ns3:BodyReqCreate>
                <ns3:BaseXfer>
                    <ns2:TellerId>12018032</ns2:TellerId>
                    <ns2:SupervisorId>12018032</ns2:SupervisorId>
                    <ns2:SvrBranch>0</ns2:SvrBranch>
                </ns3:BaseXfer>
                <ns3:CustomerType>1</ns3:CustomerType>
                <ns3:ID>
                    <ns3:IDNo>0102030201</ns3:IDNo>
                    <ns3:IDType>BL</ns3:IDType>
                    <ns3:IssueDt>051020</ns3:IssueDt>
                    <ns3:IssuePlace>Ha Noi</ns3:IssuePlace>
                    <ns3:Country>VN</ns3:Country>
                </ns3:ID>
                <ns3:ShortName>CONG TY CP TEST 1</ns3:ShortName>
                <ns3:FullName>CONG TY CP TEST 1</ns3:FullName>
                <ns3:BirthPlace></ns3:BirthPlace>
                <ns3:BirthDt>051020</ns3:BirthDt>
                <ns3:Addr>SEASONS EVENUE MO LAO HA DONG</ns3:Addr>
                <ns3:Addr>Q. HA DONG</ns3:Addr>
                <ns3:Addr>TP HA NOI</ns3:Addr>
                <ns3:State>VN</ns3:State>
                <ns3:BusinessCode>1306</ns3:BusinessCode>
                <ns3:ElectronicAddr>
                    <ns3:Code>Mobile</ns3:Code>
                    <ns3:Value>0986068191</ns3:Value>
                </ns3:ElectronicAddr>
                <ns3:NoneIndividual>
                    <ns3:SmallBusiness></ns3:SmallBusiness>
                    <ns3:InsiderCode>O</ns3:InsiderCode>
                    <ns3:BusinessType>D</ns3:BusinessType>
                    <ns3:NameNation>VN</ns3:NameNation>
                    <ns3:CorporateType>Y</ns3:CorporateType>
                </ns3:NoneIndividual>
            </ns3:BodyReqCreate>
        </ns3:CifCreationReq>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


//Output
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <ns0:CifCreationRes xmlns:ns0="http://www.bidv.com/entity/vn/cif/cifcreation/create/1.0">
            <ns1:Header xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
                <ns1:Common>
                    <ns1:BusinessDomain>bidv.com.vn</ns1:BusinessDomain>
                    <ns1:ServiceVersion>1.0</ns1:ServiceVersion>
                    <ns1:MessageId>DKTT35ecd7f7fced435cb7089b2e5c9995c1</ns1:MessageId>
                    <ns1:TransactionId>20221216170118765</ns1:TransactionId>
                    <ns1:MessageTimestamp>2022-12-16T17:01:26.339+07:00</ns1:MessageTimestamp>
                </ns1:Common>
                <ns1:Client>
                    <ns1:SourceAppID>DKTT</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>1020</ns1:ErrorCode>
                    <ns1:ErrorDesc>Required element [Customer Segment] is missing.</ns1:ErrorDesc>
                </ns1:ErrorInfo>
            </ns1:ResponseStatus>
            <ns0:BodyResCreate>
                <ns0:CifNo/>
            </ns0:BodyResCreate>
        </ns0:CifCreationRes>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>