syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vellingiri Mani (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNCOPE-945) Create user via REST
Date Mon, 19 Sep 2016 09:28:21 GMT

     [ https://issues.apache.org/jira/browse/SYNCOPE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vellingiri Mani updated SYNCOPE-945:
------------------------------------
    Attachment: core-rest.log.txt

core-rest.log

> Create user via REST
> --------------------
>
>                 Key: SYNCOPE-945
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-945
>             Project: Syncope
>          Issue Type: Test
>          Components: deb
>    Affects Versions: 2.0.0.M5
>         Environment: Ubuntu 16.04
>            Reporter: Vellingiri Mani
>             Fix For: 2.0.0.M5
>
>         Attachments: core-rest.log.txt
>
>
> Hi,
> Currently I am evaluating syncope for our usage. I would need to do bulk user creation
from REST. I started to create single user from REST client and it fails.
> From postman, I tried to create a user with below inputs. I get '400 Bad Request'. If
there is anything wrong in the format.
> POST - http://135.249.22.223:8080/syncope/rest/users
> Authorization:
> Basic Auth - admin/password
> Headers:
> Content-type: application/json
> Body:
> {
>   "@class": "org.apache.syncope.common.lib.to.UserTO",
>   "creator": "admin",
>   "lastModifier": "admin",
>   "key": "rest1",
>   "type": "USER",
>   "realm": "/",
>   "status": "Active",
>   "auxClasses": [],
>   "plainAttrs": [],
>   "derAttrs": [],
>   "virAttrs": [],
>   "resources": []
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message