Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Раскрыть
titleПоказать
Блок кода
languagehtml/xml
<SuggestResponse>
    <suggestions>
        <value>г Москва, ул Серпуховская Б.</value>
        <unrestricted_value>г Москва, ул Серпуховская Б.</unrestricted_value>
        <data>
            <postal_code>115093</postal_code>
            <country>Россия</country>
            <region_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</region_fias_id>
            <region_kladr_id>7700000000000</region_kladr_id>
            <region_with_type>г Москва</region_with_type>
            <region_type>г</region_type>
            <region_type_full>город</region_type_full>
            <region>Москва</region>
            <area_fias_id/>
            <area_kladr_id/>
            <area_with_type/>
            <area_type/>
            <area_type_full/>
            <area/>
            <city_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</city_fias_id>
            <city_kladr_id>7700000000000</city_kladr_id>
            <city_with_type>г Москва</city_with_type>
            <city_type>г</city_type>
            <city_type_full>город</city_type_full>
            <city>Москва</city>
            <city_area/>
            <city_district_fias_id/>
            <city_district_kladr_id/>
            <city_district_with_type/>
            <city_district_type/>
            <city_district_type_full/>
            <city_district/>
            <settlement_fias_id/>
            <settlement_kladr_id/>
            <settlement_with_type/>
            <settlement_type/>
            <settlement_type_full/>
            <settlement/>
            <street_fias_id>601875e2-717a-4c30-a3c4-1fb49e67d93f</street_fias_id>
            <street_kladr_id>77000000000262500</street_kladr_id>
            <street_with_type>ул Серпуховская Б.</street_with_type>
            <street_type>ул</street_type>
            <street_type_full>улица</street_type_full>
            <street>Серпуховская Б.</street>
            <house_fias_id/>
            <house_kladr_id/>
            <house_type/>
            <house_type_full/>
            <house/>
            <block_type/>
            <block_type_full/>
            <block/>
            <flat_type/>
            <flat_type_full/>
            <flat/>
            <flat_area/>
            <square_meter_price/>
            <flat_price/>
            <postal_box/>
            <fias_id>601875e2-717a-4c30-a3c4-1fb49e67d93f</fias_id>
            <fias_level>7</fias_level>
            <kladr_id>77000000000262500</kladr_id>
            <capital_marker>0</capital_marker>
            <okato/>
            <oktmo/>
            <tax_office/>
            <tax_office_legal/>
            <timezone/>
            <geo_lat/>
            <geo_lon/>
            <beltway_hit/>
            <beltway_distance/>
            <qc_geo/>
            <qc_complete/>
            <qc_house/>
            <unparsed_parts/>
            <qc/>
        </data>
    </suggestions>
    <suggestions>
        <value>г Москва, Серпуховская пл</value>
        <unrestricted_value>г Москва, Серпуховская пл</unrestricted_value>
        <data>
            <postal_code>115184</postal_code>
            <country>Россия</country>
            <region_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</region_fias_id>
            <region_kladr_id>7700000000000</region_kladr_id>
            <region_with_type>г Москва</region_with_type>
            <region_type>г</region_type>
            <region_type_full>город</region_type_full>
            <region>Москва</region>
            <area_fias_id/>
            <area_kladr_id/>
            <area_with_type/>
            <area_type/>
            <area_type_full/>
            <area/>
            <city_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</city_fias_id>
            <city_kladr_id>7700000000000</city_kladr_id>
            <city_with_type>г Москва</city_with_type>
            <city_type>г</city_type>
            <city_type_full>город</city_type_full>
            <city>Москва</city>
            <city_area/>
            <city_district_fias_id/>
            <city_district_kladr_id/>
            <city_district_with_type/>
            <city_district_type/>
            <city_district_type_full/>
            <city_district/>
            <settlement_fias_id/>
            <settlement_kladr_id/>
            <settlement_with_type/>
            <settlement_type/>
            <settlement_type_full/>
            <settlement/>
            <street_fias_id>6fe35e69-360a-4d75-8061-066a5c9e669c</street_fias_id>
            <street_kladr_id>77000000000702000</street_kladr_id>
            <street_with_type>Серпуховская пл</street_with_type>
            <street_type>пл</street_type>
            <street_type_full>площадь</street_type_full>
            <street>Серпуховская</street>
            <house_fias_id/>
            <house_kladr_id/>
            <house_type/>
            <house_type_full/>
            <house/>
            <block_type/>
            <block_type_full/>
            <block/>
            <flat_type/>
            <flat_type_full/>
            <flat/>
            <flat_area/>
            <square_meter_price/>
            <flat_price/>
            <postal_box/>
            <fias_id>6fe35e69-360a-4d75-8061-066a5c9e669c</fias_id>
            <fias_level>7</fias_level>
            <kladr_id>77000000000702000</kladr_id>
            <capital_marker>0</capital_marker>
            <okato>45286560000</okato>
            <oktmo>45376000</oktmo>
            <tax_office>7705</tax_office>
            <tax_office_legal/>
            <timezone/>
            <geo_lat/>
            <geo_lon/>
            <beltway_hit/>
            <beltway_distance/>
            <qc_geo/>
            <qc_complete/>
            <qc_house/>
            <unparsed_parts/>
            <qc/>
        </data>
    </suggestions>
</SuggestResponse>

Включить страницу
_API_TESTER
_API_TESTER

HTML
<div id="apitester" class="apitester"></div>
<script>
    const apiMethod = "/suggestions/api/4_1/rs/suggest/address";
    const template = `{ "query": "москва серпуховская" }`;
    new ApiTester("#apitester", "POST", apiMethod, template);
</script>