MercuryG2B:WithdrawVetDocument:v3.0: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «== Общие сведения == == Спецификация запроса == == Спецификация ответа == == Примеры запросов...») |
|||
Строка 2: | Строка 2: | ||
== Спецификация запроса == | == Спецификация запроса == | ||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<{{color|#660e7a|merc:}}withdrawVetDocumentRequest>'''}} | |||
| | |||
| | |||
| 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|merc:}}vetDocumentId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|merc:}}vetDocumentId>'''}} | |||
|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;">Идентификатор ВСД, который аннулируется</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Аннулирование возможно только для транспортных ВСД.</div> | |||
</div> | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}withdrawReason>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|merc:}}withdrawReason>'''}} | |||
|vd:VetDocumentStatusChangeReason | |||
|[1..1] | |||
| style="width:52em;"| Причина аннулирования ВСД | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}withdrawDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|merc:}}withdrawDate>'''}} | |||
|xs:DateTime | |||
|[1..1] | |||
| style="width:52em;"| Дата события | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}specifiedPerson>'''}} | |||
|vd:User | |||
|[1..1] | |||
| style="width:52em;"| Пользователь, ответственный за аннулирование сертификата | |||
|- | |||
|010 | |||
|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;"| Логин пользователя, зарегистрированного в системе Меркурий | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|merc:}}specifiedPerson>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}withdrawVetDocumentRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Спецификация ответа == | == Спецификация ответа == |
Версия 05:00, 7 декабря 2023
Общие сведения
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:withdrawVetDocumentRequest> | |||
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 | ···<merc:vetDocumentId>?</merc:vetDocumentId> | bs:UUID | [1..1] | Идентификатор ВСД, который аннулируется
|
007 | ···<merc:withdrawReason>?</merc:withdrawReason> | vd:VetDocumentStatusChangeReason | [1..1] | Причина аннулирования ВСД |
008 | ···<merc:withdrawDate>?</merc:withdrawDate> | xs:DateTime | [1..1] | Дата события |
009 | ···<merc:specifiedPerson> | vd:User | [1..1] | Пользователь, ответственный за аннулирование сертификата |
010 | ······<vd:login>?</vd:login> | xs:NCName | [1..1] | Логин пользователя, зарегистрированного в системе Меркурий |
011 | ···</merc:specifiedPerson> | |||
012 | </merc:withdrawVetDocumentRequest> |
Спецификация ответа
Примеры запросов
TODO
См. также
Вернуться к началу ↑
Вернуться на страницу профиля API MercuryG2B:Services:v3.0