MercuryG2B:GetVetDocumentChangesList:v3.0: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «== Общие сведения == == Спецификация запроса == == Спецификация ответа == == Классификатор сп...») |
|||
Строка 2: | Строка 2: | ||
== Спецификация запроса == | == Спецификация запроса == | ||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<{{color|#660e7a|merc:}}getVetDocumentChangesListRequest>'''}} | |||
| | |||
| | |||
| 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>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|bs:}}listOptions>'''}} | |||
|bs:ListOptions | |||
|[0..1] | |||
| style="width:52em;"| Параметры запрашиваемого списка | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}count>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}count>'''}} | |||
|xs:nonNegativeInteger | |||
|[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;"> | |||
* По умолчанию значение 100; | |||
* Максимально возможное значение 1000.</div> | |||
</div> | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}offset>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}offset>'''}} | |||
|xs:nonNegativeInteger | |||
|[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;"> | |||
* По умолчанию значение 0.</div> | |||
</div> | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|bs:}}listOptions>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|bs:}}updateDateInterval>'''}} | |||
|vd:issueDateInterval | |||
|[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;"> | |||
* Максимальная длина интервала - 31 день.</div> | |||
</div> | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}beginDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}beginDate>'''}} | |||
|xs:dateTime | |||
|[1..1] | |||
| style="width:52em;"| Начало временного интервала | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}endDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}endDate>'''}} | |||
|xs:dateTime | |||
|[1..1] | |||
| style="width:52em;"| Конец временного интервала | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|bs:}}updateDateInterval>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|dt:}}enterpriseGuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}enterpriseGuid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор предприятия, по которому производится поиск документа | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}vetDocumentType>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vetDocumentType>'''}} | |||
|vd:VetDocumentType | |||
|[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;"> | |||
* входящий (INCOMING). | |||
* исходящий (OUTGOING). | |||
* производственный (PRODUCTIVE). | |||
* транспортный (TRANSPORT). | |||
* возвратный (RETURNABLE).</div> | |||
</div> | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}vetDocumentStatus>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vetDocumentStatus>'''}} | |||
|vd:VetDocumentStatus | |||
|[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;"> | |||
* подтверждён (CONFIRMED). | |||
* аннулирован (WITHDRAWN). | |||
* погашен (UTILIZED).</div> | |||
</div> | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}getVetDocumentChangesListRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Спецификация ответа == | == Спецификация ответа == |
Версия 05:28, 25 октября 2023
Общие сведения
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:getVetDocumentChangesListRequest> | |||
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 | ···<bs:listOptions> | bs:ListOptions | [0..1] | Параметры запрашиваемого списка |
007 | ······<bs:count>?</bs:count> | xs:nonNegativeInteger | [0..1] | Максимальное запрашиваемое количество объектов в списке
|
008 | ······<bs:offset>?</bs:offset> | xs:nonNegativeInteger | [0..1] | Номер элемента, по которому осуществляется смещение первого элемента списка
|
009 | ···</bs:listOptions> | |||
010 | ···<bs:updateDateInterval> | vd:issueDateInterval | [0..1] | Интервал времени оформления документа
|
011 | ······<bs:beginDate>?</bs:beginDate> | xs:dateTime | [1..1] | Начало временного интервала |
012 | ······<bs:endDate>?</bs:endDate> | xs:dateTime | [1..1] | Конец временного интервала |
013 | ···</bs:updateDateInterval> | |||
014 | ···<dt:enterpriseGuid>?</dt:enterpriseGuid> | bs:UUID | [1..1] | Идентификатор предприятия, по которому производится поиск документа |
015 | ···<vd:vetDocumentType>?</vd:vetDocumentType> | vd:VetDocumentType | [0..1] | Тип ВСД
|
016 | ···<vd:vetDocumentStatus>?</vd:vetDocumentStatus> | vd:VetDocumentStatus | [0..1] | Статус ВСД
|
017 | </merc:getVetDocumentChangesListRequest> |
Спецификация ответа
Классификатор справочников и перечислений Codelist
Описание классификатора и назначения опциональных атрибутов типа dt:CodeType (@listID, @listAgencyID, @listName, @listVersionID, @name) приведено на странице: MercuryG2B:Codelist:v2.4r1
Примеры запросов
TODO
См. также
Вернуться к началу ↑
Вернуться на страницу профиля API MercuryG2B:Services:v3.0