Министерство на регионалното развитие и благоустройството - Класификатор на населените места

Име на операция - TechnoLogica.RegiX.GraoNMAdapter.APIService.INMAPI.SettlementPlacesSearch

Структура на данните

  • SettlementPlaces -
    • DistrictCode - Код на област
    • DistrictName - Наименование на област
    • MunicipalityCode - Код на община
    • MunicipalityName - Наименование на община
    • SettlementPlaceCode - Код на населено място
    • SettlementPlaceName - Наименование на населено място
    • SettlementTypeCode - Код на вид на населено място
    • SettlementTypeName - Вид на населено място

XSD схеми

Заявка
                
           <?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:common="http://egov.bg/RegiX/GRAO/NM" xmlns="http://egov.bg/RegiX/GRAO/NM/SettlementPlacesRequest" targetNamespace="http://egov.bg/RegiX/GRAO/NM/SettlementPlacesRequest" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/GRAO/NM" schemaLocation="NMCommon.xsd"/>
	<xs:simpleType name="ActualizationType">
		<xs:annotation>
			<xs:documentation>Тип на идентификатор</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="ДНМ"/>
			<xs:enumeration value="ИНМ"/>
			<xs:enumeration value="КНМ"/>
			<xs:enumeration value="ЗНМ"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="SettlementPlacesRequestType">
		<xs:sequence>
			<xs:element name="StartDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Начална дата</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Крайна дата</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ActualizationType" type="ActualizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Вид актуализационен запис  (ДНМ, ИНМ, КНМ, ЗНМ)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="SettlementPlacesRequest" type="SettlementPlacesRequestType">
		<xs:annotation>
			<xs:documentation>Справка на населени места</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

       
Отговор
                
           <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:common="http://egov.bg/RegiX/GRAO/NM" xmlns="http://egov.bg/RegiX/GRAO/NM/SettlementPlacesResponse" targetNamespace="http://egov.bg/RegiX/GRAO/NM/SettlementPlacesResponse" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/GRAO/NM" schemaLocation="NMCommon.xsd"/>
  <xs:complexType  name="SettlementPlacesResponseType">
    <xs:sequence>
      <xs:element name="SettlementPlaces" type="common:SettlementPlaceType" minOccurs="0" maxOccurs="unbounded"></xs:element>
    </xs:sequence>
  </xs:complexType>
	<xs:element name="SettlementPlacesResponse" type="SettlementPlacesResponseType">
		<xs:annotation>
			<xs:documentation>Справка на населени места</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

       
Common
                
            
    <?xml version="1.0" encoding="UTF-8"?>
 
<xs:schema xmlns="http://egov.bg/RegiX/GRAO/NM" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://egov.bg/RegiX/GRAO/NM" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:complexType name="SettlementPlaceType">
    <xs:sequence>
      <xs:element name="DistrictCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на област</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DistrictName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на област</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MunicipalityCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на община</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MunicipalityName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на община</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementPlaceCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementPlaceName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementTypeCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на вид на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementTypeName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Вид на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>