MercuryG2B:UpdateUserWorkingAreas:v3.0: различия между версиями
Перейти к навигации
Перейти к поиску
Строка 337: | Строка 337: | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|bs:UUID | |bs:UUID | ||
|[ | |[0..1] | ||
|style="width:52em;"| Уникальный идентификатор пользователя | |style="width:52em;"| Уникальный идентификатор пользователя | ||
|- | |- | ||
Строка 343: | Строка 343: | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}login>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}login>'''}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}login>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}login>'''}} | ||
|xs:NCName | |xs:NCName | ||
|[ | |[0..1] | ||
|style="width:52em;"| Логин пользователя | |style="width:52em;"| Логин пользователя | ||
|- | |- | ||
|005 | |005 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}workingAreaList>'''}} | ||
|vd:WorkingAreaList | |||
|[ | |[0..1] | ||
|style="width:52em;"| | |style="width:52em;"| Список зон ответственности | ||
|- | |- | ||
|006 | |006 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}workingArea>'''}} | ||
|vd:WorkingArea | |||
|[0.. | |[0..*] | ||
|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> | </div> | ||
|- | |- | ||
|007 | |007 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}area>'''}} | ||
| | |dt:Area | ||
|[ | |[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;"> | |||
* '''Указывается в случае, если не указано поле enterprise''' | |||
</div> | |||
</div> | |||
|- | |- | ||
|008 | |008 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}country>'''}} | ||
| | |dt:Country | ||
|[ | |[1..1] | ||
|style="width:52em;"| | |style="width:52em;"| Страна | ||
</div> | |||
|- | |- | ||
|009 | |009 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|bs: | |bs:UUID | ||
|[ | |[1..1] | ||
|style="width:52em;"| | |style="width:52em;"| Глобальный идентификатор страны | ||
|- | |- | ||
|010 | |010 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}country>'''}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
|011 | |011 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}region>'''}} | ||
| | |dt:Region | ||
|[ | |[1..1] | ||
|style="width:52em;"| | |style="width:52em;"| Регион (республика, область, край, автономная область) | ||
</div> | |||
|- | |- | ||
|012 | |012 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| | |bs:UUID | ||
|[1.. | |[1..1] | ||
|style="width:52em;"| | |style="width:52em;"| Глобальный идентификатор региона страны | ||
|- | |- | ||
|013 | |013 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}region>'''}} | ||
| | | | ||
| | |||
| | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}district>'''}} | |||
|dt:Locality | |||
|[0..1] | |||
|style="width:52em;"| Район региона | |||
</div> | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
|style="width:52em;"| Глобальный идентификатор района региона | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}district>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}locality>'''}} | |||
|dt:Country | |||
|[0..1] | |||
|style="width:52em;"| Населённый пункт | |||
</div> | |||
|- | |||
|018 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
|style="width:52em;"| Глобальный идентификатор города региона (города регионального подчинения) | |||
|- | |||
|019 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}locality>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|020 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}subLocality>'''}} | |||
|dt:Country | |||
|[0..1] | |||
|style="width:52em;"| Населённый пункт, подчиненный другогому населенному пункту (locality) | |||
</div> | |||
|- | |||
|021 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
|style="width:52em;"| Глобальный идентификатор населенного пункта | |||
|- | |||
|022 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}subLocality>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|023 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}area>'''}} | |||
| | |||
| | |||
| | |||
|- | |||
|024 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}enterprise>'''}} | |||
|dt:Enterprise | |||
|[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;"> | |||
* '''Указывается в случае, если не указано поле area''' | |||
</div> | |||
</div> | |||
|- | |||
|025 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|bs:UUID | |||
|[1..1] | |||
|style="width:52em;"| Идентификатор версии предприятия (площадки) | |||
|- | |- | ||
| | |026 | ||
|style="font-weight: ; font-family: Courier;" | | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
|bs: | |bs:UUID | ||
|[1..1] | |[1..1] | ||
|style="width:52em;"| | |style="width:52em;"| Глобальный идентификатор предприятия (площадки) | ||
|- | |||
|027 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}enterprise>'''}} | |||
| | |||
| | |||
| | |||
|- | |- | ||
| | |028 | ||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}} | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}workingArea>'''}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | |027 | ||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}} | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}workingAreaList>'''}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | |027 | ||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}user>'''}} | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}user>'''}} | ||
| | | | ||
| | | | ||
| | |||
|- | |- | ||
| | |027 | ||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}} | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}updateUserWorkingAreasResponse>'''}} | ||
| | |||
| | | | ||
| | | | ||
|} | |} | ||
Версия 14:47, 27 мая 2024
Общие сведения
Код операции | Описание операции |
---|---|
... | Назначение зон ответственности пользователям |
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:updateUserWorkingAreasRequest> | |||
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:workingAreaList> | vd:WorkingAreaList | [0..1] | Список зон ответственности |
010 | ·········<vd:workingArea> | vd:WorkingArea | [0..*] | Зона ответственности пользователя
|
011 | ············<vd:area> | dt:Area | [0..1] | Территория
|
012 | ···············<dt:country> | dt:Country | [1..1] | Страна
|
013 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор страны |
014 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор страны |
015 | ···············</dt:country> | |||
016 | ···············<dt:region> | dt:Region | [1..1] | Регион (республика, область, край, автономная область)
|
017 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор региона |
018 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор региона |
019 | ···············</dt:region> | |||
020 | ···············<dt:district> | dt:Locality | [0..1] | Район региона
|
021 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор района региона |
022 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор района региона |
023 | ···············</dt:district> | |||
024 | ···············<dt:locality> | dt:Locality | [0..1] | Населённый пункт
|
025 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор города региона (города регионального подчинения) |
026 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор города региона (города регионального подчинения) |
027 | ···············</dt:locality> | |||
028 | ···············<dt:subLocality> | dt:Locality | [0..1] | Населённый пункт, подчиненный другогому населенному пункту (locality)
|
029 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор населенного пункта |
030 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор населенного пункта |
031 | ···············</dt:subLocality> | |||
031 | ············</vd:area> | |||
032 | ············<vd:enterprise> | dt:Enterprise | [0..1] | Данные о предприятии (площадке)
|
029 | ··················<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Идентификатор версии предприятия (площадки) |
030 | ··················<bs:guid>?</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор предприятия (площадки) |
031 | ············</vd:enterprise> | |||
031 | ·········</vd:workingArea> | |||
031 | ······</vd:workingAreaList> | |||
031 | ···</vd:user> | |||
031 | </merc:updateUserWorkingAreasRequest> |
Спецификация ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:updateUserAuthoritiesResponse> | |||
002 | ···<vd:user> | vd:User | [1..*] | Описание пользователя системы |
003 | ······<bs:uuid>?</bs:uuid> | bs:UUID | [0..1] | Уникальный идентификатор пользователя |
004 | ······<vd:login>?</vd:login> | xs:NCName | [0..1] | Логин пользователя |
005 | ······<vd:workingAreaList> | vd:WorkingAreaList | [0..1] | Список зон ответственности |
006 | ·········<vd:workingArea> | vd:WorkingArea | [0..*] | Зона ответственности пользователя
|
007 | ············<vd:area> | dt:Area | [0..1] | Территория
|
008 | ···············<dt:country> | dt:Country | [1..1] | Страна |
009 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор страны |
010 | ···············</dt:country> | |||
011 | ···············<dt:region> | dt:Region | [1..1] | Регион (республика, область, край, автономная область) |
012 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор региона страны |
013 | ···············</dt:region> | |||
014 | ···············<dt:district> | dt:Locality | [0..1] | Район региона |
015 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор района региона |
016 | ···············</dt:district> | |||
017 | ···············<dt:locality> | dt:Country | [0..1] | Населённый пункт |
018 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор города региона (города регионального подчинения) |
019 | ···············</dt:locality> | |||
020 | ···············<dt:subLocality> | dt:Country | [0..1] | Населённый пункт, подчиненный другогому населенному пункту (locality) |
021 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор населенного пункта |
022 | ···············</dt:subLocality> | |||
023 | ············</vd:area> | |||
024 | ············<vd:enterprise> | dt:Enterprise | [0..1] | Данные о предприятии (площадке)
|
025 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Идентификатор версии предприятия (площадки) |
026 | ··················<bs:guid>?</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор предприятия (площадки) |
027 | ············</vd:enterprise> | |||
028 | ·········</vd:workingArea> | |||
027 | ······</vd:workingAreaList> | |||
027 | ···</vd:user> | |||
027 | </merc:updateUserWorkingAreasResponse> |
Примеры запросов
TODO
См. также
Вернуться к началу ↑
Вернуться на страницу профиля API MercuryG2B:Services:v3.0