Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleПоказать
Code Block
languagejavascript
{
    "suggestions": [
        {
            "value": "АЛЬФА-БАНК",
            "unrestricted_value": "АЛЬФА-БАНК",
            "data": {
                "opf": {
                    "type": "BANK",
                    "full": "Банк"null,
                    "short": "Б"null
                },
                "name": {
                    "payment": "АО \"АЛЬФА-БАНК\"",
                    "full": "АКЦИОНЕРНОЕ ОБЩЕСТВО \"АЛЬФА-БАНК\""null,
                    "short": "АЛЬФА-БАНК"
                },
                "bic": "044525593",
                "swift": "ALFARUMMXXX",
                "okpoinn": "096104447728168971",
                "correspondent_accountkpp": "30101810200000000593770801001",
                "registration_number": "1326",
                "rkc": {
                    "opf": {
                        "type": "RKC",
                        "full": "Главное управление/Отделение (НБ)",
                        "short": "ГУ/О"
                    },
                    "name": {
                        "payment": "ГУ БАНКА РОССИИ ПО ЦФО",
                        "full": okpo": null,
                        "short": null
                    },
                    "bic": "044525000",
                    "swift": null,
                    "okpo": "09201220",
                    "correspondent_account": null"30101810200000000593",
                    "registration_number": null,
                    "rkc": null"1326",
                    "address": {
                        "value": "115035, МОСКВА 35, УЛ.БАЛЧУГ,2",
                        "unrestricted_value": "115035, МОСКВА 35, УЛ.БАЛЧУГ,2",
                        "data": null
                    }"payment_city": "г. Москва",
                    "phone": null,
                    "state": {
                        "status": "ACTIVE",
                        "actuality_date": 14539392000001583280000000,
                        "registration_date": 889488000000662860800000,
                        "liquidation_date": null
                },
   }                 }"rkc": null,
                "address": {
                    "value": "г Москва, ул Каланчевская, д 27",
                    "unrestricted_value": "107078, г Москва, Красносельский р-н, ул Каланчевская, д 27",
                    "data": {
					...                     }

                },
                "phonephones": null,
                "state": {
                    "status": "ACTIVE",
                    "actuality_date": 1453939200000,
                    "registration_date": 759024000000,
                    "liquidation_date": null
                }
            }
		}
	]
}

Запрос:

Code Block
languagehtml/xml
<req>
  <query>втб 24<<query>втб</query>
</req>

Ответ:

Expand
titleПоказать
Code Block
languagehtml/xml
<SuggestResponse>
    <suggestions>
        <value>ВТБ 24 (ПАО)<<value>ВТБ</value>
        <unrestricted_value>ВТБ 24 (ПАО)<value>ВТБ</unrestricted_value>
        <data>
            <opf>
                <type>BANK</type>
                <full>Банк<<full/full>>
                <short>Б<<short/short>>
            </opf>
            <name>
                <payment>ВТБ<payment>БАНК 24ВТБ (ПАО)</payment>
                <full>БАНК ВТБ 24 (ПУБЛИЧНОЕ АКЦИОНЕРНОЕ ОБЩЕСТВО)</full><full/>
                <short>ВТБ 24 (ПАО)<<short>ВТБ</short>
            </name>
            <bic>044525716<<bic>044525187</bic>
            <swift>CBGURUMMXXX<<swift>VTBRRUMMXXX</swift>
            <okpo>20606880<<inn>7710353606</okpo>inn>
            <correspondent_account>30101810100000000716</correspondent_account><kpp>770801001</kpp>
            <registration_number>1623</registration_number>
            <rkc>
                <opf>
                    <type>RKC</type>
                    <full>Главное управление/Отделение (НБ)</full>
                    <short>ГУ/О</short>
                </opf>
                <name>
                    <payment>ГУ БАНКА РОССИИ ПО ЦФО</payment>
                    <full/<okpo/>
                    <short/>
                </name>
                <bic>044525000</bic>
                <swift/>
                <okpo>09201220</okpo>
                <correspondent_account/><correspondent_account>30101810700000000187</correspondent_account>
                <registration_numbernumber>1000</>registration_number>
                <rkc/>
                <address>
                    <value>115035, МОСКВА 35, УЛ.БАЛЧУГ,2</value>
                    <unrestricted_value>115035, МОСКВА 35, УЛ.БАЛЧУГ,2</unrestricted_value><payment_city>г. Москва</payment_city>
                    <data/>
                </address>
                <phone/>
                <state>
                    <status>ACTIVE</status>
                    <actuality_date>1453939200000<date>1583280000000</actuality_date>
                    <registration_date>889488000000<date>656121600000</registration_date>
                    <liquidation_date/>
                </state>
            <<rkc/rkc>>
            <address>
                <value>г Москва, улПресненская Мясницкаянаб, д 35<12</value>
                <unrestricted_value>гvalue>123112, г Москва, улПресненский Мясницкаяр-н, Пресненская наб, д 35<12</unrestricted_value>
                <data>
				...                 </data>   ...
         </address>             <phone/></data>
            <state>
                <status>ACTIVE</status></address>
                <actuality_date>1453939200000</actuality_date>
                <registration_date>759024000000</registration_date>
                <liquidation_date/<phones/>
            </state>
        </data>
    </suggestions>
</SuggestResponse>