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 7CC1E200B87 for ; Mon, 19 Sep 2016 11:27:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7B781160ADF; Mon, 19 Sep 2016 09:27: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 E6F1F160ACC for ; Mon, 19 Sep 2016 11:27:21 +0200 (CEST) Received: (qmail 31915 invoked by uid 500); 19 Sep 2016 09:27:21 -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 31665 invoked by uid 99); 19 Sep 2016 09:27:21 -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:27:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CF3FE2C0D5A for ; Mon, 19 Sep 2016 09:27:20 +0000 (UTC) Date: Mon, 19 Sep 2016 09:27:20 +0000 (UTC) From: "Vellingiri Mani (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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:27:22 -0000 Vellingiri Mani created SYNCOPE-945: --------------------------------------- Summary: 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 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)