Open amivanoff opened 5 years ago
curl -v -H "Content-Type: application/json" -X POST -d '{"Subject.UPVSIdentityID":"someuser","Subject.FormattedName":"someuser","Actor.SIdentityID":"somepass","Actor.FormattedNamep":"somepass","SPR.Roles":"some-role"}' http://master:commander@82.202.226.30:8080/master/api/1/users/create
рабочий вариант curl -v -H "Content-Type: application/json" -X POST -d '{"Subject.UPVSIdentityID":"someuser2","Subject.FormattedName":"someuser2","Actor.UPVSIdentityID":"somepass2","Actor.FormattedName":"somepass2","SPR.Roles":"some-role"}' http://master:commander@82.202.226.30:8080/master/api/1/users/create
REST API https://help.poolparty.biz/display/UDDOC/UnifiedViews+REST+API#UnifiedViewsRESTAPI-7.1CreateUser
Веб-интерфейс http://82.202.226.30:8080/unifiedviews admin / test
от REST API другой логин/пароль, не тот, что от GUI