Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 10899200B87 for ; Mon, 19 Sep 2016 11:33:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F654160AE0; Mon, 19 Sep 2016 09:33:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81063160ABC for ; Mon, 19 Sep 2016 11:33:21 +0200 (CEST) Received: (qmail 48231 invoked by uid 500); 19 Sep 2016 09:33:20 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 48201 invoked by uid 99); 19 Sep 2016 09:33:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 09:33:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 88A4A2C0D57 for ; Mon, 19 Sep 2016 09:33:20 +0000 (UTC) Date: Mon, 19 Sep 2016 09:33:20 +0000 (UTC) From: "Vellingiri Mani (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SYNCOPE-945) Create user via REST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Sep 2016 09:33:22 -0000 [ https://issues.apache.org/jira/browse/SYNCOPE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502852#comment-15502852 ] Vellingiri Mani commented on SYNCOPE-945: ----------------------------------------- Ok > 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 > 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)