MercuryG2B:CheckShipmentRegionalization:v3.0: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «== Общие сведения == {| class="wikitable" ! Код операции !! Описание операции |- | '''...''' | Проверка возм...») |
|||
(не показано 16 промежуточных версий этого же участника) | |||
Строка 17: | Строка 17: | ||
! Обязат. | ! Обязат. | ||
! Описание (нажмите [...] для отображения дополнительного описания) | ! Описание (нажмите [...] для отображения дополнительного описания) | ||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<merc:checkShipmentRegionalizationRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}localTransactionId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|merc:}}localTransactionId>'''}} | |||
|xs:NCName | |||
|[1..1] | |||
|style="width:52em;" | Идентификатор заявки в клиентской системе | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}initiator>'''}} | |||
|vd:User | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Является ответственным за выполнение бизнес-операции | |||
* Здесь потребуется логин ветврача или пользователя ХС. Логин для базовой аутентификации не подойдёт | |||
</div> | |||
</div> | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}login>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}login>'''}} | |||
|xs:NCName | |||
|[1..1] | |||
| style="width:52em;"| Логин пользователя, зарегистрированного в системе Меркурий | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|merc:}}initiator>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|dt:}}cargoType>'''}} | |||
|dt:SubProduct | |||
|[1..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Категория груза, для которой запрашиваются правила перемещения по маршруту</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Третий уровень иерархического справочника продукции ИС Меркурий | |||
* Обязательно указывать один из идентификаторов: uuid или guid; при указании обоих приоритет у uuid | |||
</div> | |||
</div> | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор версии вида продукции | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор вида продукции | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|dt:}}cargoType>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}shipmentRoute>'''}} | |||
|vd:ShipmentRoute | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Сведения о маршруте следования (пунктах перегрузки)</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Должно быть указано минимум 2 точки в маршруте | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}routePoint>'''}} | |||
|vd:ShipmentRoutePoint | |||
|[1..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Сведения о точке маршрута</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно должно быть заполнено хотя бы одно из полей, либо location либо enterprise | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}sqnId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}sqnId>'''}} | |||
|bs:SequenceNumber | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Порядовый номер точки маршрута</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Не обязателен для заполнения, будет сгенерирован автоматически в ответе | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}location>'''}} | |||
|dt:Location | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Сведения о точке маршрута</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* '''Указывается в случае, если не указано значение enterpise''' | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}address>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}country>'''}} | |||
|dt:Country | |||
|[1..1] | |||
| style="width:52em;"| Страна | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор страны в соответствии со справочником РСХН | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор страны в соответствии со справочником РСХН | |||
|- | |||
|018 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}country>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|019 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}region>'''}} | |||
|dt:Region | |||
|[1..1] | |||
| style="width:52em;"| Регион (республика, область, край, автономная область) | |||
|- | |||
|020 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор региона в соответствии со справочником РСХН | |||
|- | |||
|021 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор региона в соответствии со справочником РСХН | |||
|- | |||
|022 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}region>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|023 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}district>'''}} | |||
|dt:District | |||
|[0..1] | |||
| style="width:52em;"| Район региона | |||
|- | |||
|024 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор района региона в соответствии со справочником РСХН | |||
|- | |||
|025 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор района региона в соответствии со справочником РСХН | |||
|- | |||
|026 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}district>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|027 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}locality>'''}} | |||
|dt:Locality | |||
|[0..1] | |||
| style="width:52em;"| Населённый пункт | |||
|- | |||
|028 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор населенного пункта в соответствии со справочником РСХН | |||
|- | |||
|029 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор населенного пункта в соответствии со справочником РСХН | |||
|- | |||
|030 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}locality>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|031 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}subLocality>'''}} | |||
|dt:Locality | |||
|[0..1] | |||
| style="width:52em;"| Населённый пункт, подчиненный другогому населенному пункту (locality) | |||
|- | |||
|032 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор населенного пункта в соответствии со справочником РСХН | |||
|- | |||
|033 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор населенного пункта в соответствии со справочником РСХН | |||
|- | |||
|034 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}subLocality>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|035 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}address>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|036 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}location>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|037 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}enterprise>'''}} | |||
|dt:Enterprise | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Сведения о предприятии, которое является точкой маршрута</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно указывать один из идентификаторов: uuid или guid; при указании обоих приоритет у uuid | |||
* '''Указывается в случае, если не указано значение location''' | |||
|- | |||
|038 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор предприятия | |||
|- | |||
|039 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор предприятия | |||
|- | |||
|040 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}enterprise>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|041 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}routePoint>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|042 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}shipmentRoute>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|043 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}checkShipmentRegionalizationRequest>'''}} | |||
| | |||
| | |||
| | |||
|} | |} | ||
Строка 27: | Строка 314: | ||
! Обязат. | ! Обязат. | ||
! Описание (нажмите [...] для отображения дополнительного описания) | ! Описание (нажмите [...] для отображения дополнительного описания) | ||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<{{color|#660e7a|merc:}}checkShipmentRegionalizationResponse}} | |||
| | |||
| | |||
| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}r13nRouteSection>'''}} | |||
|vd:RouteSectionR13nRules | |||
|[1..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Описание правил перемещения продукции</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Количество элементов `r13nRouteSection` в ответе соответствует количеству отрезков маршрута | |||
* Атрибут `r13nRouteSection/sqnId` равен номеру отрезка, нумерация начинается с единицы | |||
* Количество элементов `r13nRouteSection/appliedR13nRule` соответствует количеству категорий груза (элемент `cargoType`) в запросе | |||
</div> | |||
</div> | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}sqnId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}sqnId>'''}} | |||
|bs:SequenceNumber | |||
|[1..1] | |||
| style=" width:52em" | Порядовый номер отрезка маршрута | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}appliedR13nRule>'''}} | |||
|dt:RegionalizationShippingRule | |||
|[1..*] | |||
| style=" width:52em" | Применяемое правило перемещения для каждой категории груза на данном участке маршрута | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}cargoType>'''}} | |||
|dt:SubProduct | |||
|[1..*] | |||
| style=" width:52em" | Ветеринарная категория груза, на которую распространяется правило перемещения | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Идентификатор версии вида продукцииа | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Глобальный идентификатор вида продукции | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|bs:String255 | |||
|[1..1] | |||
| style=" width:52em" | Название вида продукции | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}cargoType>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}decision>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}decision>'''}} | |||
|dt:RegionalizationDecision | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Решение о возможности перемещения груза</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 1 - перемещение разрешено | |||
* 2 - перемещение разрешено при обязательном соблюдении условий | |||
* 3 - перемещение запрещено | |||
</div> | |||
</div> | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}requirement>'''}} | |||
|dt:RegionalizationRequirement | |||
|[0..*] | |||
| style=" width:52em" | Требование к перемещению партии в отношении к определенному заболеванию | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}relatedDisease>'''}} | |||
|dt:AnimalDisease | |||
|[1..1] | |||
| style=" width:52em" | Заболевание, к которому относится данное требование | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Идентификатор заболевания | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Глобальный идентификатор заболевания | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|bs:String255 | |||
|[1..1] | |||
| style=" width:52em" | Название заболевания | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}relatedDisease>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}type>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}type>'''}} | |||
|dt:RegionalizationDecision | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Вид требования</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 1 - перемещение разрешено | |||
* 2 - перемещение разрешено при обязательном соблюдении условий | |||
* 3 - перемещение запрещено</div> | |||
</div> | |||
|- | |||
|018 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}conditionGroup>'''}} | |||
|dt:RegionalizationConditionGroup | |||
|[0..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Группа условий регионализации, соблюдаемых при перевозке продукции</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Имеет смысл, если тип требования `type` имеет значение 2 (перемещение разрешено при обязательном соблюдении условий). В этом случае требование считается выполненным, если выполнена одна из альтернативных групп условий `conditionGroup`. См. условие выполнения группы в описании типа `dt:RegionalizationConditionGroup` | |||
</div> | |||
|- | |||
|019 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}condition>'''}} | |||
|dt:RegionalizationCondition | |||
|[1..*] | |||
| style=" width:52em" | Условие регионализации, соблюдаемое при перевозке груза | |||
|- | |||
|020 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Идентификатор версии условия регионализации | |||
|- | |||
|021 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" |Глобальный идентификатор условия регионализации | |||
|- | |||
|022 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}referenceNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}referenceNumber>'''}} | |||
|bs:Identifier | |||
|[1..1] | |||
| style=" width:52em" | Номер условия регионализации | |||
|- | |||
|023 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}text>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}text>'''}} | |||
|bs:Text | |||
|[1..1] | |||
| style=" width:52em" | Формулировка условия регионализации | |||
|- | |||
|024 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}strict>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}strict>'''}} | |||
|xs:boolean | |||
|[0..1] | |||
| style=" width:52em" | Обязательность соблюдения условия регионализации | |||
|- | |||
|025 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}relatedDisease>'''}} | |||
|dt:AnimalDisease | |||
|[1..*] | |||
| style=" width:52em" | Заболевание, к которому относится данное условие регионализации | |||
|- | |||
|026 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Идентификатор версии заболевания | |||
|- | |||
|027 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style=" width:52em" | Глобальный идентификатор заболевания | |||
|- | |||
|028 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|bs:String255 | |||
|[1..1] | |||
| style=" width:52em" | Название заболевания | |||
|- | |||
|029 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''</{{color|#660e7a|dt:}}relatedDisease>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|030 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}condition>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|031 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}conditionGroup>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|032 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}requirement>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|033 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}appliedR13nRule>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|034 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}r13nRouteSection>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|035 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}checkShipmentRegionalizationResponse>'''}} | |||
| | |||
| | |||
| | |||
|} | |} | ||
Текущая версия на 15:24, 10 июня 2024
Общие сведения
Код операции | Описание операции |
---|---|
... | Проверка возможности осуществления перевозки партии в рамках правил регионализации |
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:checkShipmentRegionalizationRequest> | |||
002 | ···<merc:localTransactionId>?</merc:localTransactionId> | xs:NCName | [1..1] | Идентификатор заявки в клиентской системе |
003 | ···<merc:initiator> | vd:User | [1..1] | Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу
|
004 | ······<vd:login>?</vd:login> | xs:NCName | [1..1] | Логин пользователя, зарегистрированного в системе Меркурий |
005 | ···</merc:initiator> | |||
006 | ···<dt:cargoType> | dt:SubProduct | [1..*] | Категория груза, для которой запрашиваются правила перемещения по маршруту
|
007 | ······<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор версии вида продукции |
008 | ······<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор вида продукции |
009 | ···</dt:cargoType> | |||
010 | ···<vd:shipmentRoute> | vd:ShipmentRoute | [1..1] | Сведения о маршруте следования (пунктах перегрузки)
|
011 | ······<vd:routePoint> | vd:ShipmentRoutePoint | [1..*] | Сведения о точке маршрута
|
012 | ·········<bs:sqnId>?</bs:sqnId> | bs:SequenceNumber | [0..1] | Порядовый номер точки маршрута
|
013 | ·········<vd:location> | dt:Location | [0..1] | Сведения о точке маршрута
|
014 | ············<dt:address> | |||
015 | ···············<dt:country> | dt:Country | [1..1] | Страна |
016 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор страны в соответствии со справочником РСХН |
017 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор страны в соответствии со справочником РСХН |
018 | ···············</dt:country> | |||
019 | ···············<dt:region> | dt:Region | [1..1] | Регион (республика, область, край, автономная область) |
020 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор региона в соответствии со справочником РСХН |
021 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор региона в соответствии со справочником РСХН |
022 | ···············</dt:region> | |||
023 | ···············<dt:district> | dt:District | [0..1] | Район региона |
024 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор района региона в соответствии со справочником РСХН |
025 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор района региона в соответствии со справочником РСХН |
026 | ···············</dt:district> | |||
027 | ···············<dt:locality> | dt:Locality | [0..1] | Населённый пункт |
028 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор населенного пункта в соответствии со справочником РСХН |
029 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор населенного пункта в соответствии со справочником РСХН |
030 | ···············</dt:locality> | |||
031 | ···············<dt:subLocality> | dt:Locality | [0..1] | Населённый пункт, подчиненный другогому населенному пункту (locality) |
032 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор населенного пункта в соответствии со справочником РСХН |
033 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор населенного пункта в соответствии со справочником РСХН |
034 | ···············</dt:subLocality> | |||
035 | ············</dt:address> | |||
036 | ·········</vd:location> | |||
037 | ·········<vd:enterprise> | dt:Enterprise | [0..1] | Сведения о предприятии, которое является точкой маршрута
|
038 | ············<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор предприятия |
039 | ············<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор предприятия |
040 | ·········</vd:enterprise> | |||
041 | ······</vd:routePoint> | |||
042 | ···</vd:shipmentRoute> | |||
043 | </merc:checkShipmentRegionalizationRequest> |
Спецификация ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:checkShipmentRegionalizationResponse | |||
002 | ···<vd:r13nRouteSection> | vd:RouteSectionR13nRules | [1..*] | Описание правил перемещения продукции
|
003 | ······<vd:sqnId>?</vd:sqnId> | bs:SequenceNumber | [1..1] | Порядовый номер отрезка маршрута |
004 | ······<vd:appliedR13nRule> | dt:RegionalizationShippingRule | [1..*] | Применяемое правило перемещения для каждой категории груза на данном участке маршрута |
005 | ·········<dt:cargoType> | dt:SubProduct | [1..*] | Ветеринарная категория груза, на которую распространяется правило перемещения |
006 | ············<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии вида продукцииа |
007 | ············<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор вида продукции |
008 | ············<dt:name>?</dt:name> | bs:String255 | [1..1] | Название вида продукции |
009 | ·········</dt:cargoType> | |||
010 | ·········<dt:decision>?</dt:decision> | dt:RegionalizationDecision | [1..1] | Решение о возможности перемещения груза
|
011 | ·········<dt:requirement> | dt:RegionalizationRequirement | [0..*] | Требование к перемещению партии в отношении к определенному заболеванию |
012 | ············<dt:relatedDisease> | dt:AnimalDisease | [1..1] | Заболевание, к которому относится данное требование |
013 | ···············<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | Идентификатор заболевания |
014 | ···············<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор заболевания |
015 | ···············<dt:name>?</dt:name> | bs:String255 | [1..1] | Название заболевания |
016 | ············</dt:relatedDisease> | |||
017 | ············<dt:type>?</dt:type> | dt:RegionalizationDecision | [1..1] | Вид требования
|
018 | ············<dt:conditionGroup> | dt:RegionalizationConditionGroup | [0..*] | Группа условий регионализации, соблюдаемых при перевозке продукции
|
019 | ···············<dt:condition> | dt:RegionalizationCondition | [1..*] | Условие регионализации, соблюдаемое при перевозке груза |
020 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии условия регионализации |
021 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор условия регионализации |
022 | ··················<dt:referenceNumber>?</dt:referenceNumber> | bs:Identifier | [1..1] | Номер условия регионализации |
023 | ··················<dt:text>?</dt:text> | bs:Text | [1..1] | Формулировка условия регионализации |
024 | ··················<dt:strict>?</dt:strict> | xs:boolean | [0..1] | Обязательность соблюдения условия регионализации |
025 | ··················<dt:relatedDisease> | dt:AnimalDisease | [1..*] | Заболевание, к которому относится данное условие регионализации |
026 | ·····················<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии заболевания |
027 | ·····················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор заболевания |
028 | ·····················<dt:name>?</dt:name> | bs:String255 | [1..1] | Название заболевания |
029 | ··················</dt:relatedDisease> | |||
030 | ···············</dt:condition> | |||
031 | ············</dt:conditionGroup> | |||
032 | ·········</dt:requirement> | |||
033 | ······</vd:appliedR13nRule> | |||
034 | ···</vd:r13nRouteSection> | |||
035 | </merc:checkShipmentRegionalizationResponse> |
Примеры запросов
TODO
См. также
Вернуться к началу ↑
Вернуться на страницу профиля API MercuryG2B:Services:v3.0