Exportcenter:GetLegalEntityList:v2.0: различия между версиями
Строка 122: | Строка 122: | ||
|- | |- | ||
|010 | |010 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}fio>'''}}{{color|#131313|Иванов Иван Иванович}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}fio>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}fio>'''}}{{color|#131313|Иванов Иван Иванович}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}fio>'''}} | ||
|[[String255|bs:String255]] | |[[String255|bs:String255]] | ||
Строка 142: | Строка 132: | ||
</div> | </div> | ||
|- | |- | ||
| | |011 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|3312200096}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|3312200096}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}} | ||
|[[String255|bs:String255]] | |[[String255|bs:String255]] | ||
Строка 148: | Строка 138: | ||
| style="width:52em;"| ИНН хозяйствующего субъекта. | | style="width:52em;"| ИНН хозяйствующего субъекта. | ||
|- | |- | ||
| | |012 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}ogrn>'''}}{{color|#131313|4085022240002}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}ogrn>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}ogrn>'''}}{{color|#131313|4085022240002}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}ogrn>'''}} | ||
|[[String255|bs:String255]] | |[[String255|bs:String255]] | ||
Строка 159: | Строка 149: | ||
</div> | </div> | ||
|- | |- | ||
| | |013 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}juridicalAddress>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}juridicalAddress>'''}} | ||
|[[Address_v2.0|dt:Address]] | |[[Address_v2.0|dt:Address]] | ||
Строка 169: | Строка 159: | ||
</div> | </div> | ||
|- | |- | ||
| | |014 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}country>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}country>'''}} | ||
|[[Country_v2.0|dt:Country]] | |[[Country_v2.0|dt:Country]] | ||
Строка 175: | Строка 165: | ||
| style="width:52em;"| Страна. | | style="width:52em;"| Страна. | ||
|- | |- | ||
| | |015 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
Строка 185: | Строка 175: | ||
</div> | </div> | ||
|- | |- | ||
| | |016 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|RU}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}} | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|RU}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}} | ||
|[[Code_v2.0|dt:Code]] | |[[Code_v2.0|dt:Code]] | ||
Строка 196: | Строка 186: | ||
</div> | </div> | ||
|- | |- | ||
| | |017 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}country>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}country>'''}} | ||
| | | | ||
Строка 202: | Строка 192: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |018 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}region>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}region>'''}} | ||
|[[Region_v2.0|dt:Region]] | |[[Region_v2.0|dt:Region]] | ||
Строка 208: | Строка 198: | ||
| style="width:52em;"| Регион (республика, область, край, автономная область). | | style="width:52em;"| Регион (республика, область, край, автономная область). | ||
|- | |- | ||
| | |019 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
Строка 218: | Строка 208: | ||
</div> | </div> | ||
|- | |- | ||
| | |020 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}region>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}region>'''}} | ||
| | | | ||
Строка 224: | Строка 214: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |021 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}district>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}district>'''}} | ||
|[[Locality_v2.0|dt:Locality]] | |[[Locality_v2.0|dt:Locality]] | ||
Строка 230: | Строка 220: | ||
| style="width:52em;"| Район региона. | | style="width:52em;"| Район региона. | ||
|- | |- | ||
| | |022 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
Строка 240: | Строка 230: | ||
</div> | </div> | ||
|- | |- | ||
| | |023 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}district>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}district>'''}} | ||
| | | | ||
Строка 246: | Строка 236: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |024 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}locality>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}locality>'''}} | ||
|[[Locality_v2.0|dt:Locality]] | |[[Locality_v2.0|dt:Locality]] | ||
Строка 252: | Строка 242: | ||
| style="width:52em;"| Населённый пункт. | | style="width:52em;"| Населённый пункт. | ||
|- | |- | ||
| | |025 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
Строка 262: | Строка 252: | ||
</div> | </div> | ||
|- | |- | ||
| | |026 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}locality>'''}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}locality>'''}} | ||
| | | | ||
Строка 268: | Строка 258: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |027 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}juridicalAddress>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}juridicalAddress>'''}} | ||
| | | | ||
Строка 342: | Строка 264: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |028 | ||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|dt:}}businessEntity>'''}} | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|dt:}}businessEntity>'''}} | ||
| | | | ||
Строка 348: | Строка 270: | ||
| style="width:52em;"| | | style="width:52em;"| | ||
|- | |- | ||
| | |029 | ||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</ws:CheckRegisterLegalEntityApplicationRequest>'''}} | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</ws:CheckRegisterLegalEntityApplicationRequest>'''}} | ||
| | | |
Версия 23:52, 7 сентября 2021
Общие сведения
Операция GetLegalEntityList предназначена для получения списка хозяйствующих субъектов. В список попадают только актуальные записи (active = true). Поддерживается возможность постраничного вывода и фильтрации по шаблону. Выполнение операции заканчивается либо возвратом списка хозяйствующих субъектов, либо ошибкой, в случае если параметры запроса не корректны или произошла иная ошибка выполнения запроса.
Входные данные
- параметры выводимого списка;
- поля, по которым осуществляется фильтрация хозяйствующих субъектов.
Выходные данные
- список хозяйствующих субъектов.
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <ws:CheckRegisterLegalEntityApplicationRequest> | |||
002 | ···<bs:listOptions> | bs:ListOptions | [0..1] | Параметры запрашиваемого списка. |
003 | ······<bs:count>10</bs:count> | xs:nonNegativeInteger | [0..1] | Максимальное запрашиваемое количество объектов в списке.
|
004 | ······<bs:offset>2</bs:offset> | xs:nonNegativeInteger | [0..1] | Номер элемента, по которому осуществляется смещение первого элемента списка.
|
005 | ···</bs:listOptions> | |||
006 | ···<dt:businessEntity> | dt:BusinessEntity | [0..1] | Данные о хозяйствующем субъекте. |
007 | ······<bs:uuid>UUID</bs:uuid> | bs:UUID | [0..1] | Идентификатор версии хозяйствующего субъекта. |
008 | ······<bs:guid>GUID</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор хозяйствующего субъекта. |
009 | ······<dt:name>Наименование ХС</dt:name> | bs:String255 | [0..1] | Наименование хозяйствующего субъекта без указания организационно-правовой формы.
|
010 | ······<dt:fio>Иванов Иван Иванович</dt:fio> | bs:String255 | [0..1] | ФИО индивидуального предпринимателя.
|
011 | ······<dt:inn>3312200096</dt:inn> | bs:String255 | [0..1] | ИНН хозяйствующего субъекта. |
012 | ······<dt:ogrn>4085022240002</dt:ogrn> | bs:String255 | [0..1] | ОГРН или ОГРНИП.
|
013 | ······<dt:juridicalAddress> | dt:Address | [1..1] | Юридический адрес.
|
014 | ·········<dt:country> | dt:Country | [1..1] | Страна. |
015 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор страны.
|
016 | ············<dt:code>RU</dt:code> | dt:Code | [1..1] | Код страны.
|
017 | ·········</dt:country> | |||
018 | ·········<dt:region> | dt:Region | [1..1] | Регион (республика, область, край, автономная область). |
019 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор региона страны.
|
020 | ·········</dt:region> | |||
021 | ·········<dt:district> | dt:Locality | [0..1] | Район региона. |
022 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор района региона.
|
023 | ·········</dt:district> | |||
024 | ·········<dt:locality> | dt:Locality | [0..1] | Населённый пункт. |
025 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор города региона (города регионального подчинения) страны.
|
026 | ·········</dt:locality> | |||
027 | ······</dt:juridicalAddress> | |||
028 | ···</dt:businessEntity> | |||
029 | </ws:CheckRegisterLegalEntityApplicationRequest> |
Спецификация ответа
Описание ошибок
Ошибка | Описание |
---|---|
InternalServiceFault | Внутренняя ошибка сервиса. |
IncorrectRequestFault | Некорректный запрос. Происходит в случае, если запрос не соответствует требованиям указанным в xsd, то есть сообщение не проходит валидацию. |
OffsetOutOfRangeFault | Заданный в запросе отступ больше числа записей в результате запроса. |