Excerpt |
---|
Creates a new user account in the dialogportal™ database with fields specified in a contract between the calling application and dialogportal™. dialogportal™ automatically assigns a unique key for the new account and optionally a key with an external type. |
Endpoint ID: | 1001 | ||||||||||||||||
Method |
| ||||||||||||||||
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
| ||||||||||||||||
| 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.
| ||||||||||||||||
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 |