Exportcenter:GetSamplingReport:v2.2: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «== Общие сведения ==») |
|||
(не показано 15 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
== Общие сведения == | == Общие сведения == | ||
Операция '''GetSamplingReport''' предназначена для получения акта отбора проб для проведения лабораторных исследований по его номеру | |||
== Спецификация запроса == | |||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:getSamplingReportRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:metadata>'''}} | |||
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]] | |||
|[1..1] | |||
| style="width:52em;"| 1. Служебная информация | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:processID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:processID>'''}} | |||
|[[Identifier_v2.0|bs:Identifier]] | |||
|[1..1] | |||
| style="width:52em;"| 1.1. Идентификатор процесса в ИС Одно окно РЭЦ | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:seqNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:seqNumber>'''}} | |||
|[[SequenceNumber_v2.0|bs:SequenceNumber]] | |||
|[1..1] | |||
| style="width:52em;"| 1.2. Порядковый номер запроса | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}businessEntity>'''}} | |||
|[[BusinessEntity_v2.0|dt:BusinessEntity]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4. Сведения о хозяйствующем субъекте | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4.1. Глобальный идентификатор записи | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4.2. ИНН хозяйствующего субъекта | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}businessEntity>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}} | |||
|[[SamplingReport_v2.2|vd:SamplingReport]] | |||
|[1..1] | |||
| style="width:52em;"| 1.5. Сведения об акте отбора проб | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 1.5.1. Номер акта отбора проб | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReport>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:getSamplingReportRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Спецификация ответа == | |||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:getSamplingReportResponse>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:metadata>'''}} | |||
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]] | |||
|[1..1] | |||
| style="width:52em;"| 1. Служебная информация | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:processID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:processID>'''}} | |||
|[[Identifier_v2.0|bs:Identifier]] | |||
|[1..1] | |||
| style="width:52em;"| 1.1. Идентификатор процесса в ИС Одно окно РЭЦ | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:seqNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:seqNumber>'''}} | |||
|[[SequenceNumber_v2.0|bs:SequenceNumber]] | |||
|[1..1] | |||
| style="width:52em;"| 1.2. Порядковый номер запроса | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}} | |||
|[[SamplingReport_v2.2|vd:SamplingReport]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1. Сведения об оформленном акте отбора проб | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.1. Глобальный идентификатор акта | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.3. Номер акта | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueDate>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#date xs:date] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.4. Дата оформления акта | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|9}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}} | |||
|[[DocumentType_v2.2|vd:DocumentType]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.5. Тип документа (9 - акт отбора проб) | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReportStatus>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReportStatus>'''}} | |||
|[[SamplingReportStatus_v2.2|vd:SamplingReportStatus]] | |||
|[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;">2.1.2. Статус акта</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* CONFIRMED - оформлен</div> | |||
</div> | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issuerLaboratoryResearchParty>'''}} | |||
|[[VeterinaryLaboratory_v2.2|dt:VeterinaryLaboratory]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.19. Место проведения лаб. исследований (лаборатория) | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[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;">2.1.19.1. Глобальный идентификатор лаборатории</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Справочник "Лаборатории", ВетИС</div> | |||
</div> | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| Наименование лаборатории | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}issuerLaboratoryResearchParty>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issuerSamplingSpecialist>'''}} | |||
|[[User_v2.0|vd:User]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.10. Пробу отобрал | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}fio>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}fio>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.10.1. ФИО | |||
|- | |||
|018 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}} | |||
|[[String255|bs:String255]] | |||
|[0..1] | |||
| style="width:52em;"| 2.1.10.2. Должность | |||
|- | |||
|019 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}issuerSamplingSpecialist>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|020 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingLocation>'''}} | |||
|[[Enterprise_v2.0|dt:Enterprise]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.20. Место отбора пробы | |||
|- | |||
|021 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[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;">2.1.20.1. Глобальный идентификатор места отбора пробы</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Справочник "Места осуществления деятельности хоз.субъекта", ВетИС</div> | |||
</div> | |||
|- | |||
|022 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.20.2. Наименование места отбора пробы | |||
|- | |||
|023 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingLocation>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|024 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}personPresentAtSampling>'''}} | |||
|[[User_v2.0|vd:User]] | |||
|[0..*] | |||
| style="width:52em;"| 2.1.11. Лица, в присутствии которых производился отбор пробы | |||
|- | |||
|025 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}fio>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}fio>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.11.1. ФИО | |||
|- | |||
|026 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.11.2. Должность | |||
|- | |||
|027 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}personPresentAtSampling>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|028 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}laboratoryResearchSample>'''}} | |||
|[[Sample_v2.3|vd:Sample]] | |||
|[1..1] | |||
| style="width:52em;"| Сведения о пробе | |||
|- | |||
|029 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingDateTime>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingDateTime>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#dateTime xs:dateTime] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.8. Дата и время отбора пробы | |||
|- | |||
|030 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}sampleCipher>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}sampleCipher>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.6. Шифр пробы | |||
|- | |||
|031 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}sampleAffixedSeal>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}sampleAffixedSeal>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.7. Номер пломбы / сейф пакета | |||
|- | |||
|032 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingRegulatoryDocuments>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingRegulatoryDocuments>'''}} | |||
|[[Text|bs:Text]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.9. Проба отобрана согласно | |||
|- | |||
|033 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReasonList>'''}} | |||
|[[SamplingReasonList_v2.3|dt:SamplingReasonList]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.14. Основание для проведения лаб. исследований | |||
|- | |||
|034 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}samplingReason>'''}} | |||
|[[SamplingReason_v2.3|dt:SamplingReason]] | |||
|[1..*] | |||
| style="width:52em;"| 2.1.14.1. Основание для проведения лаб. исследований | |||
|- | |||
|035 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}reasonType>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}reasonType>'''}} | |||
|[[SamplingReasonType_v2.3|dt:SamplingReasonType]] | |||
|[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;">2.1.14.1.1. Вид основания</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* По указанию ЦА РСХН для целей экспорта могут использоваться только акты отбора проб Меркурий со следующими основаниями: | |||
** OWNER_APPLICATION - Oбращение владельца перемещаемого (перевозимого) груза | |||
** EXPORT_MONITORING - В рамках гос.программы "Экспорт АПК" | |||
** PRODUCTION_CONTROL - Производственный контроль | |||
** SARS_COV2_TESTING - Исследование упаковки на наличие генетического материала коронавируса SARS-CoV-2 | |||
* '''Акты с другими основаниями возвращаться НЕ будут'''</div> | |||
</div> | |||
|- | |||
|036 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}samplingReason>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|037 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReasonList>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|038 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}certifiedBatchProducer>'''}} | |||
|[[CertifiedProducer_v2.2|dt:CertifiedProducer]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.16. Сведения о производителе (поднадзорный объект) | |||
|- | |||
|039 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[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;">2.1.16.1. Глобальный идентификатор производителя</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Справочник "Поднадзорные объекты", ВетИС</div> | |||
</div> | |||
|- | |||
|040 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}approvedName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}approvedName>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.16.2. Наименование производителя | |||
|- | |||
|041 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}certifiedBatchProducer>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|042 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}certifiedBatch>'''}} | |||
|[[CertifiedBatch_v2.0|vd:CertifiedBatch]] | |||
|[1..1] | |||
| style="width:52em;"| Сведения о партии продукции, от которой отобрана проба | |||
|- | |||
|043 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}batch>'''}} | |||
|[[Batch_v2.0|vd:Batch]] | |||
|[1..1] | |||
| style="width:52em;"| Партия продукции | |||
|- | |||
|044 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}productItem>'''}} | |||
|[[ProductItem_v2.0|dt:ProductItem]] | |||
|[1..1] | |||
| style="width:52em;"| Сведения о наименовании продукции | |||
|- | |||
|045 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.12. Наименование продукции | |||
|- | |||
|046 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|vd:}}productItem>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|047 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}volume>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}volume>'''}} | |||
|[[Decimal |bs:Decimal]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.13.1. Объем партии продукции | |||
|- | |||
|048 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}unit>'''}} | |||
|[[Unit_v2.0|dt:Unit]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.13.2. Единица измерения объема партии продукции. | |||
|- | |||
|049 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[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;">2.1.13.2.1. Глобальный идентификатор единицы измерения.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Справочник "Единицы измерения", ВетИС</div> | |||
</div> | |||
|- | |||
|050 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.13.2.2. Наименование единицы измерения | |||
|- | |||
|051 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|vd:}}unit>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|052 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}dateOfProduction>'''}} | |||
|[[GoodsDate_v2.0|vd:GoodsDate]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.17. Дата выработки продукции | |||
|- | |||
|053 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstDate>'''}} | |||
|[[ComplexDate_v2.0| dt:ComplexDate]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.17.1. Дата начала интервала | |||
|- | |||
|054 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | |||
|[[Year_v2.0|dt:Year]] | |||
|[1..1] | |||
| style="width:52em;"| Год | |||
|- | |||
|055 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |||
|[[Month_v2.0|dt:Month]] | |||
|[0..1] | |||
| style="width:52em;"| <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> | |||
|- | |||
|056 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День | |||
|- | |||
|057 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''</{{color|#660e7a|vd:}}firstDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|058 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|vd:}}secondDate>'''}} | |||
|[[ComplexDate_v2.0| dt:ComplexDate]] | |||
|[0..1] | |||
| style="width:52em;"| 2.1.17.2. Дата окончания интервала | |||
|- | |||
|059 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | |||
|[[Year_v2.0|dt:Year]] | |||
|[1..1] | |||
| style="width:52em;"| Год | |||
|- | |||
|060 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |||
|[[Month_v2.0|dt:Month]] | |||
|[0..1] | |||
| style="width:52em;"| <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> | |||
|- | |||
|061 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День | |||
|- | |||
|062 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''</{{color|#660e7a|vd:}}secondDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|063 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|vd:}}dateOfProduction>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|064 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}expiryDate>'''}} | |||
|[[GoodsDate_v2.0|vd:GoodsDate]] | |||
|[0..1] | |||
| style="width:52em;"| 2.1.18. Дата окончания срока годности продукции | |||
|- | |||
|065 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstDate>'''}} | |||
|[[ComplexDate_v2.0| dt:ComplexDate]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.18.1. Дата начала интервала | |||
|- | |||
|066 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | |||
|[[Year_v2.0|dt:Year]] | |||
|[1..1] | |||
| style="width:52em;"| Год | |||
|- | |||
|067 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |||
|[[Month_v2.0|dt:Month]] | |||
|[0..1] | |||
| style="width:52em;"| <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> | |||
|- | |||
|068 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День | |||
|- | |||
|069 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''</{{color|#660e7a|vd:}}firstDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|070 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|vd:}}secondDate>'''}} | |||
|[[ComplexDate_v2.0| dt:ComplexDate]] | |||
|[0..1] | |||
| style="width:52em;"| 2.1.18.2. Дата окончания интервала | |||
|- | |||
|071 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | |||
|[[Year_v2.0|dt:Year]] | |||
|[1..1] | |||
| style="width:52em;"| Год | |||
|- | |||
|072 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |||
|[[Month_v2.0|dt:Month]] | |||
|[0..1] | |||
| style="width:52em;"| <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> | |||
|- | |||
|073 | |||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День | |||
|- | |||
|074 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''</{{color|#660e7a|vd:}}secondDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|075 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|vd:}}expiryDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|076 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}batch>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|077 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}certifiedBatch>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|078 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}sampleVolume>'''}} | |||
|[[Measure_v2.0|dt:Measure]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.15. Сведения об объеме пробы | |||
|- | |||
|079 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}value>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}value>'''}} | |||
|[[Decimal|bs:Decimal]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.15.1. Объем пробы | |||
|- | |||
|080 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}unit>'''}} | |||
|[[Unit_v2.0|dt:Unit]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.15.2. Единица измерения объема пробы | |||
|- | |||
|081 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1.15.2.1. Глобальный идентификатор единицы измерения. | |||
|- | |||
|082 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| Наименование единицы измерения | |||
|- | |||
|083 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}unit>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|084 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}sampleVolume>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|085 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}controlSampleDetails>'''}} | |||
|[[ControlSampleDetails_v2.3|dt:ControlSampleDetails]] | |||
|[1..1] | |||
| style="width:52em;"| Сведения о контрольных образцах | |||
|- | |||
|086 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}controlSamplePresence>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}controlSamplePresence>'''}} | |||
|[[ControlSampleIndicator_v2.3|dt:ControlSampleIndicator]] | |||
|[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;">2.1.21. Наличие контрольного образца</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* EXISTS - присутствуют | |||
* NOT_EXISTS - отсутствуют</div> | |||
</div> | |||
|- | |||
|087 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}controlSampleDetails>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|088 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}laboratoryResearchSample>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|089 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReport>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|090 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:getSamplingReportResponse>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Примеры запросов == | |||
=== 13.4.RQ1. Пример запроса акта отбора проб. === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''13.4.Request.Example''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:getSamplingReportRequest | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!-- 1.1. --> | |||
<exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!-- 1.2. --> | |||
<dt:businessEntity> <!--type: BusinessEntity--> <!-- 1.4. --> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 1.4.1. --> | |||
<dt:inn>5674235970</dt:inn> <!--type: String255--> <!-- 1.4.2. --> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<vd:samplingReport> <!--type: SamplingReport--> <!-- 1.5. --> | |||
<vd:issueNumber>1234567890</vd:issueNumber> <!--type: String255--> <!-- 1.5.1. --> | |||
</vd:samplingReport> | |||
</exc:getSamplingReportRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''13.4.Response.Example''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:getSamplingReportResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!-- 1.1. --> | |||
<exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!-- 1.2. --> | |||
</exc:metadata> | |||
<vd:samplingReport> <!-- type: SamplingReport--> <!--2.1.--> | |||
<bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!--2.1.1.--> | |||
<vd:issueNumber>1234567890</vd:issueNumber> <!-- type: String255--> <!--2.1.3.--> | |||
<vd:issueDate>2023-01-02</vd:issueDate> <!-- type: date--> <!--2.1.4.--> | |||
<vd:type>9</vd:type> <!-- type: DocumentType--> <!--2.1.5.--> <!-- enum: [9]--> | |||
<vd:samplingReportStatus>CONFIRMED</vd:samplingReportStatus> <!-- type: SamplingReportStatus--> <!--2.1.2.--> <!-- enum: [CONFIRMED]--> | |||
<vd:issuerLaboratoryResearchParty> <!-- type: VeterinaryLaboratory --> <!--2.1.19.--> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.19.1.--> | |||
<dt:name>string</dt:name> <!-- type: String255--> | |||
</vd:issuerLaboratoryResearchParty> | |||
<vd:issuerSamplingSpecialist> <!-- type: User--> <!--2.1.10.--> | |||
<vd:fio>string</vd:fio> <!-- type: String255--> <!--2.1.10.1.--> | |||
<vd:post>string</vd:post> <!-- type: String255--> <!--2.1.10.2.--> | |||
</vd:issuerSamplingSpecialist> | |||
<vd:samplingLocation> <!-- type: Enterprise--> <!--2.1.20.--> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.20.1.--> | |||
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.20.2.--> | |||
</vd:samplingLocation> | |||
<vd:personPresentAtSampling> <!-- type: User--> <!--2.1.11.--> | |||
<vd:fio>string</vd:fio> <!-- type: String255--> <!--2.1.11.1.--> | |||
<vd:post>string</vd:post> <!-- type: String255--> <!--2.1.11.2.--> | |||
</vd:personPresentAtSampling> | |||
<vd:laboratoryResearchSample> <!-- type: Sample--> | |||
<vd:samplingDateTime>2023-01-02T00:00:00</vd:samplingDateTime> <!-- type: dateTime--> <!--2.1.8.--> | |||
<vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!-- type: UUID--> <!--2.1.6.--> | |||
<vd:sampleAffixedSeal>1234567890</vd:sampleAffixedSeal> <!-- type: String255--> <!--2.1.7.--> | |||
<vd:samplingRegulatoryDocuments>string</vd:samplingRegulatoryDocuments> <!-- type: Text--> <!--2.1.9.--> | |||
<vd:samplingReasonList> <!-- type: SamplingReasonList--> <!--2.1.14.-->> | |||
<dt:samplingReason> <!-- type: SamplingReason--> <!--2.1.14.1.--> | |||
<dt:reasonType>OWNER_APPLICATION</dt:reasonType> <!-- type: SamplingReasonType--> <!--2.1.14.1.1.--> <!-- enum: [OWNER_APPLICATION, PRODUCTION_CONTROL, EXPORT_MONITORING, SARS_COV2_TESTING]--> | |||
</dt:samplingReason> | |||
</vd:samplingReasonList> | |||
<vd:certifiedBatchProducer> <!-- type: CertifiedProducer--> <!--2.1.16.--> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.16.1.--> | |||
<dt:approvedName>string</dt:approvedName> <!-- type: String255--> <!--2.1.16.2.--> | |||
</vd:certifiedBatchProducer> | |||
<vd:certifiedBatch> <!-- type: CertifiedBatch--> | |||
<vd:batch> <!-- type: Batch--> | |||
<vd:productItem> <!-- type: ProductItem--> | |||
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.12.--> | |||
</vd:productItem> | |||
<vd:volume>100.00</vd:volume> <!-- type: Decimal--> <!--2.1.13.1.--> | |||
<vd:unit> <!-- type: Unit--> <!--2.1.13.2.--> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!-- type: UUID--> <!--2.1.13.2.1.--> | |||
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.13.2.2.--> | |||
</vd:unit> | |||
<vd:dateOfProduction> <!-- type: GoodsDate--> <!--2.1.17.--> | |||
<vd:firstDate> <!-- type: ComplexDate--> <!--2.1.17.1.--> | |||
<dt:year>2022</dt:year> <!-- type: Year--> | |||
<dt:month>12</dt:month> <!-- type: Month--> | |||
<dt:day>12</dt:day> <!-- type: Day--> | |||
</vd:firstDate> | |||
<vd:secondDate> <!-- type: ComplexDate--> <!--2.1.17.1.2.--> | |||
<dt:year>2022</dt:year> <!-- type: Year--> | |||
<dt:month>12</dt:month> <!-- type: Month--> | |||
<dt:day>22</dt:day> <!-- type: Day--> | |||
</vd:secondDate> | |||
</vd:dateOfProduction> | |||
<vd:expiryDate> <!-- type: GoodsDate--> <!--2.1.18.--> | |||
<vd:firstDate> <!-- type: ComplexDate--> <!--2.1.18.1.--> | |||
<dt:year>2023</dt:year> <!-- type: Year--> | |||
<dt:month>1</dt:month> <!-- type: Month--> | |||
<dt:day>3</dt:day> <!-- type: Day--> | |||
</vd:firstDate> | |||
<vd:secondDate> <!-- type: ComplexDate--> <!--2.1.18.2.--> | |||
<dt:year>2023</dt:year> <!-- type: Year--> | |||
<dt:month>4</dt:month> <!-- type: Month--> | |||
<dt:day>12</dt:day> <!-- type: Day--> | |||
</vd:secondDate> | |||
</vd:expiryDate> | |||
</vd:batch> | |||
</vd:certifiedBatch> | |||
<vd:sampleVolume> <!-- type: Measure--> <!--2.1.15.--> | |||
<dt:value>10.00</dt:value> <!-- type: Decimal--> <!--2.1.15.1.--> | |||
<dt:unit> <!-- type: Unit--> <!--2.1.15.2.--> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!-- type: UUID--> <!--2.1.15.2.1.--> | |||
<dt:name>string</dt:name> <!-- type: String255--> | |||
</dt:unit> | |||
</vd:sampleVolume> | |||
<vd:controlSampleDetails> <!-- type: ControlSampleDetails--> | |||
<vd:controlSamplePresence>EXISTS</vd:controlSamplePresence> <!-- type: ControlSampleIndicator--> <!--2.1.21.--> <!--enum: [EXISTS, NOT_EXISTS] --> | |||
</vd:controlSampleDetails> | |||
</vd:laboratoryResearchSample> | |||
</vd:samplingReport> | |||
</exc:getSamplingReportResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> |
Текущая версия на 08:16, 30 августа 2023
Общие сведения
Операция GetSamplingReport предназначена для получения акта отбора проб для проведения лабораторных исследований по его номеру
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <exc:getSamplingReportRequest> | |||
002 | ···<exc:metadata> | exc:ServiceMetadata | [1..1] | 1. Служебная информация |
003 | ······<exc:processID>?</exc:processID> | bs:Identifier | [1..1] | 1.1. Идентификатор процесса в ИС Одно окно РЭЦ |
004 | ······<exc:seqNumber>?</exc:seqNumber> | bs:SequenceNumber | [1..1] | 1.2. Порядковый номер запроса |
005 | ······<dt:businessEntity> | dt:BusinessEntity | [1..1] | 1.4. Сведения о хозяйствующем субъекте |
006 | ·········<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 1.4.1. Глобальный идентификатор записи |
007 | ·········<dt:inn>?</dt:inn> | bs:String255 | [1..1] | 1.4.2. ИНН хозяйствующего субъекта |
008 | ······</dt:businessEntity> | |||
009 | ···</exc:metadata> | |||
010 | ···<vd:samplingReport> | vd:SamplingReport | [1..1] | 1.5. Сведения об акте отбора проб |
011 | ······<vd:issueNumber>?</vd:issueNumber> | bs:String255 | [1..1] | 1.5.1. Номер акта отбора проб |
012 | ···</vd:samplingReport> | |||
013 | </exc:getSamplingReportRequest> |
Спецификация ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <exc:getSamplingReportResponse> | |||
002 | ···<exc:metadata> | exc:ServiceMetadata | [1..1] | 1. Служебная информация |
003 | ······<exc:processID>?</exc:processID> | bs:Identifier | [1..1] | 1.1. Идентификатор процесса в ИС Одно окно РЭЦ |
004 | ······<exc:seqNumber>?</exc:seqNumber> | bs:SequenceNumber | [1..1] | 1.2. Порядковый номер запроса |
005 | ···</exc:metadata> | |||
006 | ···<vd:samplingReport> | vd:SamplingReport | [1..1] | 2.1. Сведения об оформленном акте отбора проб |
007 | ······<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | 2.1.1. Глобальный идентификатор акта |
008 | ······<vd:issueNumber>?</vd:issueNumber> | bs:String255 | [1..1] | 2.1.3. Номер акта |
009 | ······<vd:issueDate>?</vd:issueDate> | xs:date | [1..1] | 2.1.4. Дата оформления акта |
010 | ······<vd:type>9</vd:type> | vd:DocumentType | [1..1] | 2.1.5. Тип документа (9 - акт отбора проб) |
011 | ······<vd:samplingReportStatus>?</vd:samplingReportStatus> | vd:SamplingReportStatus | [1..1] | 2.1.2. Статус акта
|
012 | ······<vd:issuerLaboratoryResearchParty> | dt:VeterinaryLaboratory | [1..1] | 2.1.19. Место проведения лаб. исследований (лаборатория) |
013 | ·········<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 2.1.19.1. Глобальный идентификатор лаборатории
|
014 | ·········<dt:name>?</dt:name> | bs:String255 | [1..1] | Наименование лаборатории |
015 | ······</vd:issuerLaboratoryResearchParty> | |||
016 | ······<vd:issuerSamplingSpecialist> | vd:User | [1..1] | 2.1.10. Пробу отобрал |
017 | ·········<vd:fio>?</vd:fio> | bs:String255 | [1..1] | 2.1.10.1. ФИО |
018 | ·········<vd:post>?</vd:post> | bs:String255 | [0..1] | 2.1.10.2. Должность |
019 | ······</vd:issuerSamplingSpecialist> | |||
020 | ······<vd:samplingLocation> | dt:Enterprise | [1..1] | 2.1.20. Место отбора пробы |
021 | ·········<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 2.1.20.1. Глобальный идентификатор места отбора пробы
|
022 | ·········<dt:name>?</dt:name> | bs:String255 | [1..1] | 2.1.20.2. Наименование места отбора пробы |
023 | ······</vd:samplingLocation> | |||
024 | ······<vd:personPresentAtSampling> | vd:User | [0..*] | 2.1.11. Лица, в присутствии которых производился отбор пробы |
025 | ·········<vd:fio>?</vd:fio> | bs:String255 | [1..1] | 2.1.11.1. ФИО |
026 | ·········<vd:post>?</vd:post> | bs:String255 | [1..1] | 2.1.11.2. Должность |
027 | ······</vd:personPresentAtSampling> | |||
028 | ······<vd:laboratoryResearchSample> | vd:Sample | [1..1] | Сведения о пробе |
029 | ·········<vd:samplingDateTime>?</vd:samplingDateTime> | xs:dateTime | [1..1] | 2.1.8. Дата и время отбора пробы |
030 | ·········<vd:sampleCipher>?</vd:sampleCipher> | bs:UUID | [1..1] | 2.1.6. Шифр пробы |
031 | ·········<vd:sampleAffixedSeal>?</vd:sampleAffixedSeal> | bs:String255 | [1..1] | 2.1.7. Номер пломбы / сейф пакета |
032 | ·········<vd:samplingRegulatoryDocuments>?</vd:samplingRegulatoryDocuments> | bs:Text | [1..1] | 2.1.9. Проба отобрана согласно |
033 | ·········<vd:samplingReasonList> | dt:SamplingReasonList | [1..1] | 2.1.14. Основание для проведения лаб. исследований |
034 | ············<dt:samplingReason> | dt:SamplingReason | [1..*] | 2.1.14.1. Основание для проведения лаб. исследований |
035 | ···············<dt:reasonType>?</dt:reasonType> | dt:SamplingReasonType | [1..1] | 2.1.14.1.1. Вид основания
|
036 | ············</dt:samplingReason> | |||
037 | ·········</vd:samplingReasonList> | |||
038 | ·········<vd:certifiedBatchProducer> | dt:CertifiedProducer | [1..1] | 2.1.16. Сведения о производителе (поднадзорный объект) |
039 | ············<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 2.1.16.1. Глобальный идентификатор производителя
|
040 | ············<dt:approvedName>?</dt:approvedName> | bs:String255 | [1..1] | 2.1.16.2. Наименование производителя |
041 | ·········</vd:certifiedBatchProducer> | |||
042 | ·········<vd:certifiedBatch> | vd:CertifiedBatch | [1..1] | Сведения о партии продукции, от которой отобрана проба |
043 | ············<vd:batch> | vd:Batch | [1..1] | Партия продукции |
044 | ···············<vd:productItem> | dt:ProductItem | [1..1] | Сведения о наименовании продукции |
045 | ··················<dt:name>?</dt:name> | bs:String255 | [1..1] | 2.1.12. Наименование продукции |
046 | ···············</vd:productItem> | |||
047 | ···············<vd:volume>?</vd:volume> | bs:Decimal | [1..1] | 2.1.13.1. Объем партии продукции |
048 | ···············<vd:unit> | dt:Unit | [1..1] | 2.1.13.2. Единица измерения объема партии продукции. |
049 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 2.1.13.2.1. Глобальный идентификатор единицы измерения.
|
050 | ··················<dt:name>?</dt:name> | bs:UUID | [1..1] | 2.1.13.2.2. Наименование единицы измерения |
051 | ···············</vd:unit> | |||
052 | ···············<vd:dateOfProduction> | vd:GoodsDate | [1..1] | 2.1.17. Дата выработки продукции |
053 | ··················<vd:firstDate> | dt:ComplexDate | [1..1] | 2.1.17.1. Дата начала интервала |
054 | ·····················<dt:year>?</dt:year> | dt:Year | [1..1] | Год |
055 | ·····················<dt:month>?</dt:month> | dt:Month | [0..1] | Месяц
|
056 | ·····················<dt:day>?</dt:day> | dt:Day | [0..1] | День |
057 | ··················</vd:firstDate> | |||
058 | ··················<vd:secondDate> | dt:ComplexDate | [0..1] | 2.1.17.2. Дата окончания интервала |
059 | ·····················<dt:year>?</dt:year> | dt:Year | [1..1] | Год |
060 | ·····················<dt:month>?</dt:month> | dt:Month | [0..1] | Месяц
|
061 | ·····················<dt:day>?</dt:day> | dt:Day | [0..1] | День |
062 | ··················</vd:secondDate> | |||
063 | ···············</vd:dateOfProduction> | |||
064 | ···············<vd:expiryDate> | vd:GoodsDate | [0..1] | 2.1.18. Дата окончания срока годности продукции |
065 | ··················<vd:firstDate> | dt:ComplexDate | [1..1] | 2.1.18.1. Дата начала интервала |
066 | ·····················<dt:year>?</dt:year> | dt:Year | [1..1] | Год |
067 | ·····················<dt:month>?</dt:month> | dt:Month | [0..1] | Месяц
|
068 | ·····················<dt:day>?</dt:day> | dt:Day | [0..1] | День |
069 | ··················</vd:firstDate> | |||
070 | ··················<vd:secondDate> | dt:ComplexDate | [0..1] | 2.1.18.2. Дата окончания интервала |
071 | ·····················<dt:year>?</dt:year> | dt:Year | [1..1] | Год |
072 | ·····················<dt:month>?</dt:month> | dt:Month | [0..1] | Месяц
|
073 | ·····················<dt:day>?</dt:day> | dt:Day | [0..1] | День |
074 | ··················</vd:secondDate> | |||
075 | ···············</vd:expiryDate> | |||
076 | ············</vd:batch> | |||
077 | ·········</vd:certifiedBatch> | |||
078 | ·········<vd:sampleVolume> | dt:Measure | [1..1] | 2.1.15. Сведения об объеме пробы |
079 | ············<dt:value>?</dt:value> | bs:Decimal | [1..1] | 2.1.15.1. Объем пробы |
080 | ············<dt:unit> | dt:Unit | [1..1] | 2.1.15.2. Единица измерения объема пробы |
081 | ···············<bs:guid>?</bs:guid> | bs:UUID | [1..1] | 2.1.15.2.1. Глобальный идентификатор единицы измерения. |
082 | ···············<dt:name>?</dt:name> | bs:String255 | [1..1] | Наименование единицы измерения |
083 | ············</dt:unit> | |||
084 | ·········</vd:sampleVolume> | |||
085 | ·········<vd:controlSampleDetails> | dt:ControlSampleDetails | [1..1] | Сведения о контрольных образцах |
086 | ············<vd:controlSamplePresence>?</vd:controlSamplePresence> | dt:ControlSampleIndicator | [1..1] | 2.1.21. Наличие контрольного образца
|
087 | ·········</vd:controlSampleDetails> | |||
088 | ······</vd:laboratoryResearchSample> | |||
089 | ···</vd:samplingReport> | |||
090 | </exc:getSamplingReportResponse> |
Примеры запросов
13.4.RQ1. Пример запроса акта отбора проб.
13.4.Request.Example
<exc:getSamplingReportRequest
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!-- 1.1. -->
<exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!-- 1.2. -->
<dt:businessEntity> <!--type: BusinessEntity--> <!-- 1.4. -->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 1.4.1. -->
<dt:inn>5674235970</dt:inn> <!--type: String255--> <!-- 1.4.2. -->
</dt:businessEntity>
</exc:metadata>
<vd:samplingReport> <!--type: SamplingReport--> <!-- 1.5. -->
<vd:issueNumber>1234567890</vd:issueNumber> <!--type: String255--> <!-- 1.5.1. -->
</vd:samplingReport>
</exc:getSamplingReportRequest>
13.4.Response.Example
<exc:getSamplingReportResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!-- 1.1. -->
<exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!-- 1.2. -->
</exc:metadata>
<vd:samplingReport> <!-- type: SamplingReport--> <!--2.1.-->
<bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!--2.1.1.-->
<vd:issueNumber>1234567890</vd:issueNumber> <!-- type: String255--> <!--2.1.3.-->
<vd:issueDate>2023-01-02</vd:issueDate> <!-- type: date--> <!--2.1.4.-->
<vd:type>9</vd:type> <!-- type: DocumentType--> <!--2.1.5.--> <!-- enum: [9]-->
<vd:samplingReportStatus>CONFIRMED</vd:samplingReportStatus> <!-- type: SamplingReportStatus--> <!--2.1.2.--> <!-- enum: [CONFIRMED]-->
<vd:issuerLaboratoryResearchParty> <!-- type: VeterinaryLaboratory --> <!--2.1.19.-->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.19.1.-->
<dt:name>string</dt:name> <!-- type: String255-->
</vd:issuerLaboratoryResearchParty>
<vd:issuerSamplingSpecialist> <!-- type: User--> <!--2.1.10.-->
<vd:fio>string</vd:fio> <!-- type: String255--> <!--2.1.10.1.-->
<vd:post>string</vd:post> <!-- type: String255--> <!--2.1.10.2.-->
</vd:issuerSamplingSpecialist>
<vd:samplingLocation> <!-- type: Enterprise--> <!--2.1.20.-->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.20.1.-->
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.20.2.-->
</vd:samplingLocation>
<vd:personPresentAtSampling> <!-- type: User--> <!--2.1.11.-->
<vd:fio>string</vd:fio> <!-- type: String255--> <!--2.1.11.1.-->
<vd:post>string</vd:post> <!-- type: String255--> <!--2.1.11.2.-->
</vd:personPresentAtSampling>
<vd:laboratoryResearchSample> <!-- type: Sample-->
<vd:samplingDateTime>2023-01-02T00:00:00</vd:samplingDateTime> <!-- type: dateTime--> <!--2.1.8.-->
<vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!-- type: UUID--> <!--2.1.6.-->
<vd:sampleAffixedSeal>1234567890</vd:sampleAffixedSeal> <!-- type: String255--> <!--2.1.7.-->
<vd:samplingRegulatoryDocuments>string</vd:samplingRegulatoryDocuments> <!-- type: Text--> <!--2.1.9.-->
<vd:samplingReasonList> <!-- type: SamplingReasonList--> <!--2.1.14.-->>
<dt:samplingReason> <!-- type: SamplingReason--> <!--2.1.14.1.-->
<dt:reasonType>OWNER_APPLICATION</dt:reasonType> <!-- type: SamplingReasonType--> <!--2.1.14.1.1.--> <!-- enum: [OWNER_APPLICATION, PRODUCTION_CONTROL, EXPORT_MONITORING, SARS_COV2_TESTING]-->
</dt:samplingReason>
</vd:samplingReasonList>
<vd:certifiedBatchProducer> <!-- type: CertifiedProducer--> <!--2.1.16.-->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--2.1.16.1.-->
<dt:approvedName>string</dt:approvedName> <!-- type: String255--> <!--2.1.16.2.-->
</vd:certifiedBatchProducer>
<vd:certifiedBatch> <!-- type: CertifiedBatch-->
<vd:batch> <!-- type: Batch-->
<vd:productItem> <!-- type: ProductItem-->
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.12.-->
</vd:productItem>
<vd:volume>100.00</vd:volume> <!-- type: Decimal--> <!--2.1.13.1.-->
<vd:unit> <!-- type: Unit--> <!--2.1.13.2.-->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!-- type: UUID--> <!--2.1.13.2.1.-->
<dt:name>string</dt:name> <!-- type: String255--> <!--2.1.13.2.2.-->
</vd:unit>
<vd:dateOfProduction> <!-- type: GoodsDate--> <!--2.1.17.-->
<vd:firstDate> <!-- type: ComplexDate--> <!--2.1.17.1.-->
<dt:year>2022</dt:year> <!-- type: Year-->
<dt:month>12</dt:month> <!-- type: Month-->
<dt:day>12</dt:day> <!-- type: Day-->
</vd:firstDate>
<vd:secondDate> <!-- type: ComplexDate--> <!--2.1.17.1.2.-->
<dt:year>2022</dt:year> <!-- type: Year-->
<dt:month>12</dt:month> <!-- type: Month-->
<dt:day>22</dt:day> <!-- type: Day-->
</vd:secondDate>
</vd:dateOfProduction>
<vd:expiryDate> <!-- type: GoodsDate--> <!--2.1.18.-->
<vd:firstDate> <!-- type: ComplexDate--> <!--2.1.18.1.-->
<dt:year>2023</dt:year> <!-- type: Year-->
<dt:month>1</dt:month> <!-- type: Month-->
<dt:day>3</dt:day> <!-- type: Day-->
</vd:firstDate>
<vd:secondDate> <!-- type: ComplexDate--> <!--2.1.18.2.-->
<dt:year>2023</dt:year> <!-- type: Year-->
<dt:month>4</dt:month> <!-- type: Month-->
<dt:day>12</dt:day> <!-- type: Day-->
</vd:secondDate>
</vd:expiryDate>
</vd:batch>
</vd:certifiedBatch>
<vd:sampleVolume> <!-- type: Measure--> <!--2.1.15.-->
<dt:value>10.00</dt:value> <!-- type: Decimal--> <!--2.1.15.1.-->
<dt:unit> <!-- type: Unit--> <!--2.1.15.2.-->
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!-- type: UUID--> <!--2.1.15.2.1.-->
<dt:name>string</dt:name> <!-- type: String255-->
</dt:unit>
</vd:sampleVolume>
<vd:controlSampleDetails> <!-- type: ControlSampleDetails-->
<vd:controlSamplePresence>EXISTS</vd:controlSamplePresence> <!-- type: ControlSampleIndicator--> <!--2.1.21.--> <!--enum: [EXISTS, NOT_EXISTS] -->
</vd:controlSampleDetails>
</vd:laboratoryResearchSample>
</vd:samplingReport>
</exc:getSamplingReportResponse>