Министерство на туризма - Национален туристически регистър

Справка по ЕИК/БУЛСТАТ за категоризация на заведения за хранене и развлечение

Име на операция - TechnoLogica.RegiX.MtTouristRegisterAdapter.APIService.IMtTouristRegisterAPI.GetTotaRegBarRestaurantCategoryByEIK

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

  • Objects -
    • SiteName -
    • Adress -
      • DistName - Област
      • TerName - Община
      • PopName - Населено място
      • Adress - Адрес
      • Phone - Телефон
      • Fax - Факс
    • SiteType -
    • SiteSubType -
    • Category -
    • Capacity -
      • Capacity - Определен капацитет
      • IndoorsCapacity - Определен капацитет на закрито
      • OutdoorsCapacity - Определен капацитет на открито
    • WorkTime -
    • Subobjects -
      • Description -
      • Type -
    • Certificate -
      • CategoryCertNum - Номер на удостоверение за категория
      • CategoryCertDate - Дата на удостоверението за категория
      • ValidityTerm - Срок на валидност
    • EIK -

XSD схеми

Заявка
                
           <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://egov.bg/RegiX/MT/BarRestaurantCategoryByEIKRequest" targetNamespace="http://egov.bg/RegiX/MT/BarRestaurantCategoryByEIKRequest" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="BarRestaurantCategoryByEIKRequest" type="BarRestaurantCategoryByEIKRequestType">
		<xs:annotation>
			<xs:documentation>Справка по ЕИК/БУЛСТАТ за категоризация на заведения за хранене и развлечение_Request</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="BarRestaurantCategoryByEIKRequestType">
		<xs:sequence>
			<xs:element name="EIK" type="xs:string">
				<xs:annotation>
					<xs:documentation>Единен идентификационен код (ЕИК)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>

       
Отговор
                
           <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://egov.bg/RegiX/MT/BarRestaurantCategoryByEIKResponse" xmlns:common="http://egov.bg/RegiX/MT/Common" targetNamespace="http://egov.bg/RegiX/MT/BarRestaurantCategoryByEIKResponse" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/MT/Common" schemaLocation="CommonTypes.xsd"/>
	<xs:element name="BarRestaurantCategoryByEIKResponse" type="TouristEntertainmentObjectArray">
		<xs:annotation>
			<xs:documentation>Справка по ЕИК/БУЛСТАТ за категоризация на заведения за хранене и развлечение_Response</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="TouristEntertainmentObjectArray">
		<xs:sequence>
			<xs:element name="Objects" type="TouristEntertainmentObject" nillable="true" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Обекти</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TouristEntertainmentObject">
		<xs:sequence>
			<xs:element name="SiteName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Наименование на обекта</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Adress" type="common:ContactType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Адрес</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SiteType" type="xs:string" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Тип – барове, ресторанти и т.н.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SiteSubType" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Подтип</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Category" type="xs:int" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Дадена категория – 1*, 2*, 3*, 4*, 5*;</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Capacity" type="common:CapacityType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Определен капацитет</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WorkTime" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Времетраене на работата</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Subobjects" minOccurs="0">
				<xs:complexType>
					<xs:sequence minOccurs="0">
						<xs:element name="Subobject" type="common:TouristSubobjectType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Certificate" type="common:CertificateType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Сертификат</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EIK" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Единен идентификационен код (ЕИК)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>

       
Common
                
            
    <?xml version="1.0" encoding="UTF-8"?>
 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://egov.bg/RegiX/MT/Common" targetNamespace="http://egov.bg/RegiX/MT/Common" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="EntertainmentObjectTypeEnum" type="EntertainmentObjectTypeEnum"/>
	<xs:simpleType name="EntertainmentObjectTypeEnum">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Bar"/>
			<xs:enumeration value="Restaurant"/>
			<xs:enumeration value="Other"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="ContactType">
		<xs:sequence>
			<xs:element name="DistName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Област</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TerName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Община</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PopName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Населено място</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Adress" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Адрес</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Phone" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Телефон</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Fax" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Факс</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CertificateType">
		<xs:sequence>
			<xs:element name="CategoryCertNum" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Номер на удостоверение за категория</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CategoryCertDate" type="xs:date" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Дата на удостоверението за категория</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityTerm" type="xs:date" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Срок на валидност</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TouristSubobjectType">
		<xs:sequence>
			<xs:element name="Description" type="xs:string" minOccurs="0"/>
			<xs:element name="Type" type="EntertainmentObjectTypeEnum" nillable="true" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CapacityType">
		<xs:sequence>
			<xs:element name="Capacity" type="xs:int" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Определен капацитет</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndoorsCapacity" type="xs:int" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Определен капацитет на закрито</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OutdoorsCapacity" type="xs:int" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Определен капацитет на открито</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>