MercuryG2B:AddBusinessEntityUser:v3.0: различия между версиями
Перейти к навигации
Перейти к поиску
Dovgan-aj (обсуждение | вклад) |
м (Golubenkov-md-200113 переименовал страницу MercuryG2B:AddBussinessEntityUser:v3.0 в MercuryG2B:AddBusinessEntityUser:v3.0) |
||
| (не показано 5 промежуточных версий этого же участника) | |||
| Строка 85: | Строка 85: | ||
|- | |- | ||
|009 | |009 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}firstName>'''}} | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[0..1] | ||
| Строка 103: | Строка 103: | ||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
* Обязательно к указнию только при регистрации нового пользователя | * Обязательно к указнию только при регистрации нового пользователя | ||
</div> | </div> | ||
|- | |- | ||
| Строка 226: | Строка 225: | ||
|- | |- | ||
|025 | |025 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}workPhone>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}workPhone>'''}} | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[0..1] | ||
| Строка 237: | Строка 236: | ||
|- | |- | ||
|026 | |026 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}} | | style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}email>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}email>'''}} | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[0..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;"> | <span style="white-space:nowrap; font-weight: normal;">Адрес электронной почты пользователя | ||
</span> | </span> | ||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
| Строка 249: | Строка 248: | ||
|- | |- | ||
|027 | |027 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}} | | style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}workEmail>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}workEmail>'''}} | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[0..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;"> | <span style="white-space:nowrap; font-weight: normal;">Рабочий адрес электронной почты пользователя </span> | ||
</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
* Может быть указано только при регистрации нового пользователя | * Может быть указано только при регистрации нового пользователя | ||
| Строка 261: | Строка 259: | ||
|- | |- | ||
|028 | |028 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}} | | style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}} | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[0..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;"> | <span style="white-space:nowrap; font-weight: normal;">Должность пользователя</span> | ||
<div class="mw-collapsible-content" style="font-weight: normal;"> | <div class="mw-collapsible-content" style="font-weight: normal;"> | ||
* Может быть указано только при регистрации нового пользователя | * Может быть указано только при регистрации нового пользователя | ||
| Строка 272: | Строка 270: | ||
|- | |- | ||
|029 | |029 | ||
| style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}authorityList>'''}} | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}authorityList>'''}} | |||
|vd:AuthorityList | |vd:AuthorityList | ||
|[0..1] | |[0..1] | ||
| Строка 293: | Строка 280: | ||
</div> | </div> | ||
|- | |- | ||
| | |030 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}authority>'''}} | | style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}authority>'''}} | ||
|vd:UserAuthority | |vd:UserAuthority | ||
|[1..*] | |[1..*] | ||
|style="width:52em;"|Роль пользователя | | style="width:52em;" |Роль пользователя | ||
|- | |- | ||
| | |031 | ||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}ID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}ID>'''}} | | style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}ID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}ID>'''}} | ||
|xs:NCName | |xs:NCName | ||
|[1..1] | |[1..1] | ||
|style="width:52em;"| Идентификатор роли пользователя | | style="width:52em;" | Идентификатор роли пользователя | ||
|- | |- | ||
| | |032 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}authority>'''}} | | style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}authority>'''}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | |033 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}authorityList>'''}} | | style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}authorityList>'''}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | |034 | ||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}user>'''}} | | style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}user>'''}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | |035 | ||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}addBusinessEntityUserRequest>'''}} | | style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}addBusinessEntityUserRequest>'''}} | ||
| | | | ||
| | | | ||
| Строка 394: | Строка 381: | ||
|bs:String255 | |bs:String255 | ||
|[0..1] | |[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;"> | |||
* Элемент возвращается только при наличии '''подтвержденного''' e-mail в профиле пользователя. | |||
</div> | |||
|- | |- | ||
|010 | |010 | ||
Текущая версия на 10:53, 24 июня 2026
Общие сведения
| Код операции | Описание операции |
|---|---|
| ... | Регистрация и привязка пользователей к хозяйствующему субъекту |
Спецификация запроса
| # | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
|---|---|---|---|---|
| 001 | <merc:addBusinessEntityUserRequest> | |||
| 002 | ···<merc:localTransactionId>?</merc:localTransactionId> | xs:NCName | [1..1] | Идентификатор заявки в клиентской системе. |
| 003 | ······<merc:initiator> | vd:User | [1..1] | Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу
|
| 004 | ·········<vd:login>?</vd:login> | xs:NCName | [0..1] | Логин пользователя, зарегистрированного в системе Меркурий
|
| 005 | ······</merc:initiator> | |||
| 006 | ···<vd:user> | vd:User | [1..*] | Описание пользователя системы
|
| 007 | ······<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор пользователя |
| 008 | ······<vd:login>?</vd:login> | xs:NCName | [0..1] | Логин пользователя |
| 009 | ······<vd:firstName>?</vd:firstName> | bs:String255 | [0..1] | Имя
|
| 010 | ······<vd:middleName>?</vd:middleName> | bs:String255 | [0..1] | Отчество
|
| 011 | ······<vd:lastName>?</vd:lastName> | bs:String255 | [0..1] | Фамилия
|
| 012 | ······<vd:birthDate>?</vd:birthDate> | xs:date | [0..1] | Дата рождения
|
| 013 | ······<vd:identity> | vs:Document | [0..1] | Документ, удостоверяющий личность
|
| 014 | ·········<vd:issueSeries>?</vd:issueSeries> | bs:String255 | [0..1] | Серия документа |
| 015 | ·········<vd:issueNumber>?</vd:issueNumber> | bs:String255 | [0..1] | Номер документа |
| 016 | ·········<vd:type>?</vd:type> | bs:String255 | [0..1] | Тип документа
|
| 017 | ······</vd:identity> | |||
| 018 | ······<vd:citizenship> | vd:Citizenship | [0..1] | Гражданство пользователя
|
| 019 | ·········<vd:country> | dt:Country | [1..1] | Страна
|
| 020 | ············<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор страны в соответствии со справочником РСХН |
| 021 | ············<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор страны в соответствии со справочником РСХН |
| 022 | ·········</vd:country> | |||
| 023 | ······</vd:citizenship> | |||
| 024 | ······<vd:snils>?</vd:snils> | vd:SNILSType | [0..1] | СНИЛС
|
| 025 | ······<vd:workPhone>?</vd:workPhone> | bs:String255 | [0..1] | Телефон пользователя
|
| 026 | ······<vd:email>?</vd:email> | bs:String255 | [0..1] | Адрес электронной почты пользователя
|
| 027 | ······<vd:workEmail>?</vd:workEmail> | bs:String255 | [0..1] | Рабочий адрес электронной почты пользователя
|
| 028 | ······<vd:post>?</vd:post> | bs:String255 | [0..1] | Должность пользователя
|
| 029 | ······<vd:authorityList> | vd:AuthorityList | [0..1] | Список ролей пользователя
|
| 030 | ·········<vd:authority> | vd:UserAuthority | [1..*] | Роль пользователя |
| 031 | ············<vd:ID>?</vd:ID> | xs:NCName | [1..1] | Идентификатор роли пользователя |
| 032 | ·········</vd:authority> | |||
| 033 | ······</vd:authorityList> | |||
| 034 | ···</vd:user> | |||
| 035 | </merc:addBusinessEntityUserRequest> |
Спецификация ответа
| # | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
|---|---|---|---|---|
| 001 | <merc:addBusinessEntityUserResponse> | |||
| 002 | ···<vd:user> | vd:User | [1..*] | Описание пользователя системы |
| 003 | ······<bs:uuid>?</bs:uuid> | bs:UUID | [1..1] | Уникальный идентификатор пользователя |
| 004 | ······<vd:login>?</vd:login> | xs:NCName | [1..1] | Логин пользователя |
| 005 | ······<vd:firstName>?</vd:firstName> | bs:String255 | [1..1] | Имя |
| 006 | ······<vd:middleName>>?</vd:middleName> | bs:String255 | [0..1] | Отчество |
| 007 | ······<vd:lastName>?</vd:lastName> | bs:String255 | [1..1] | Фамилия |
| 008 | ······<vd:workPhone>?</vd:workPhone> | bs:String255 | [0..1] | Рабочий телефон пользователя |
| 009 | ······<vd:workEmail>?</vd:workEmail> | bs:String255 | [0..1] | Рабочий адрес электронной почты пользователя.
|
| 010 | ······<vd:post>?</vd:post> | bs:String255 | [0..1] | Должность пользователя |
| 011 | ······<vd:authorityList> | vd:AuthorityList | [0..1] | Список ролей пользователя |
| 012 | ·········<vd:authority> | vd:UserAuthority | [1..*] | Роль пользователя |
| 013 | ············<vd:ID>?</vd:ID> | xs:NCName | [1..1] | Идентификатор роли пользователя |
| 014 | ············<vd:name>?</vd:name> | bs:String255 | [1..1] | Описание роли пользователя |
| 015 | ·········</vd:authority> | |||
| 016 | ······</vd:authorityList> | |||
| 017 | ···</vd:user> | |||
| 018 | </merc:addBusinessEntityUserResponse> |
Примеры запросов
TODO
См. также
Вернуться к началу ↑
Вернуться на страницу профиля API MercuryG2B:Services:v3.0
