Exportcenter:GetSamplingReport:v2.2: различия между версиями
Перейти к навигации
Перейти к поиску
(не показано 11 промежуточных версий 2 участников) | |||
Строка 133: | Строка 133: | ||
|006 | |006 | ||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}} | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}} | ||
|[[ | |[[SamplingReport_v2.2|vd:SamplingReport]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| 2.1. Сведения об оформленном акте отбора проб | | style="width:52em;"| 2.1. Сведения об оформленном акте отбора проб | ||
Строка 309: | Строка 309: | ||
|[[SamplingReasonList_v2.3|dt:SamplingReasonList]] | |[[SamplingReasonList_v2.3|dt:SamplingReasonList]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| 2.1.14. Основание для проведения лаб. | | style="width:52em;"| 2.1.14. Основание для проведения лаб. исследований | ||
|- | |- | ||
|034 | |034 | ||
Строка 315: | Строка 315: | ||
|[[SamplingReason_v2.3|dt:SamplingReason]] | |[[SamplingReason_v2.3|dt:SamplingReason]] | ||
|[1..*] | |[1..*] | ||
| style="width:52em;"| 2.1.14.1. Основание для проведения лаб. | | style="width:52em;"| 2.1.14.1. Основание для проведения лаб. исследований | ||
|- | |- | ||
|035 | |035 | ||
Строка 325: | Строка 325: | ||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
* По указанию ЦА РСХН для целей экспорта могут использоваться только акты отбора проб Меркурий со следующими основаниями: | * По указанию ЦА РСХН для целей экспорта могут использоваться только акты отбора проб Меркурий со следующими основаниями: | ||
** | ** OWNER_APPLICATION - Oбращение владельца перемещаемого (перевозимого) груза | ||
** | ** EXPORT_MONITORING - В рамках гос.программы "Экспорт АПК" | ||
** PRODUCTION_CONTROL - Производственный контроль | ** PRODUCTION_CONTROL - Производственный контроль | ||
** | ** SARS_COV2_TESTING - Исследование упаковки на наличие генетического материала коронавируса SARS-CoV-2 | ||
* '''Акты с другими основаниями возвращаться НЕ будут'''</div> | * '''Акты с другими основаниями возвращаться НЕ будут'''</div> | ||
</div> | </div> | ||
Строка 457: | Строка 457: | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |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]] | |[[Month_v2.0|dt:Month]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| Месяц | | 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 | |056 | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |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]] | |[[Day_v2.0|dt:Day]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| День | | style="width:52em;"| День | ||
|- | |- | ||
Строка 487: | Строка 491: | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |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]] | |[[Month_v2.0|dt:Month]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| Месяц | | 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 | |061 | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |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]] | |[[Day_v2.0|dt:Day]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| День | | style="width:52em;"| День | ||
|- | |- | ||
Строка 529: | Строка 537: | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |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]] | |[[Month_v2.0|dt:Month]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| Месяц | | 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 | |068 | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |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]] | |[[Day_v2.0|dt:Day]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| День | | style="width:52em;"| День | ||
|- | |- | ||
Строка 559: | Строка 571: | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |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]] | |[[Month_v2.0|dt:Month]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| Месяц | | 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 | |073 | ||
|style="font-weight: ; font-family: Courier;" |·····················{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |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]] | |[[Day_v2.0|dt:Day]] | ||
|[ | |[0..1] | ||
| style="width:52em;"| День | | style="width:52em;"| День | ||
|- | |- | ||
Строка 642: | Строка 658: | ||
|086 | |086 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}controlSamplePresence>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}controlSamplePresence>'''}} | |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] | |[1..1] | ||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; 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;">2.1.21. | <span style="white-space:nowrap; font-weight: normal;">2.1.21. Наличие контрольного образца</span> | ||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
* EXISTS - присутствуют | * EXISTS - присутствуют | ||
* | * NOT_EXISTS - отсутствуют</div> | ||
</div> | </div> | ||
|- | |- | ||
Строка 676: | Строка 692: | ||
|- | |- | ||
|} | |} | ||
== Примеры запросов == | |||
=== 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>