Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Endpoint ID:

1001

MethodPOST
URL:

/user/{contract-id}


 contract-id

Identifies the set of contract fields passed in the request body. If omitted, the default contract for the particular app is used.

Request body:

JSON data with properties corresponding to the fields in the specified contract

Example 1 - Contract specifies full name, email and password:
{
	"name": "John Doe",
	"email": "mailbox@mailserver.com",
	"password": "password"
}

Response body:

JSON data with key(s) for the newly created account and data for the account. The result will always hold the dialogportal™ master key and if the app making the request is configured to use a specific external key, this key is also included in the response.

Example 1 – App setting specifies no specific key:
{
	"dpKey": 123456
	"name": "John Doe",
	"email": "mailbox@mailserver.com",
}
Example 2 – App setting specifies external key type:
{
	"dpKey": 123456,
	"extKeyType": 12,
	"extKey": "key"
	"name": "John Doe",
	"email": "mailbox@mailserver.com",
}

 

Status codes:201

Account was created with success

 303

Account already exists, redirected to “Get Account Data”

 400

Request is valid but data validation failed

Recent activity

Version Date Comment
Current Version (v. 10) Dec 19, 2013 11:55 Troels Nielsen
v. 19 May 23, 2022 21:04 Nick Jensen
Use /entity routing instead of /user
v. 18 Jun 23, 2021 23:19 Nick Jensen
We no longer redirect duplicates
v. 17 Jun 17, 2015 14:26 Nick Jensen
Added new ApiStatusSubCode 400.5
v. 16 Dec 19, 2013 16:10 Troels Nielsen
v. 15 Dec 19, 2013 12:28 Troels Nielsen
v. 14 Dec 19, 2013 12:20 Troels Nielsen
v. 13 Dec 19, 2013 12:15 Troels Nielsen
v. 12 Dec 19, 2013 11:59 Troels Nielsen
v. 11 Dec 19, 2013 11:56 Troels Nielsen
v. 10 Dec 19, 2013 11:55 Troels Nielsen
v. 9 Dec 19, 2013 11:52 Troels Nielsen
v. 8 Dec 19, 2013 11:49 Troels Nielsen
v. 7 Dec 19, 2013 11:25 Troels Nielsen
v. 6 Dec 19, 2013 10:48 Former user
v. 5 Dec 19, 2013 10:42 Troels Nielsen
v. 4 Dec 19, 2013 10:36 Troels Nielsen
v. 3 Dec 19, 2013 10:35 Troels Nielsen
v. 2 Dec 19, 2013 09:55 Troels Nielsen
v. 1 Dec 19, 2013 09:50 Troels Nielsen

Contributors

  • No labels