POST v1/accounts/registerorder
registers a new account with given product. billing runs on activation.
Request Information
URI Parameters
None.
Body Parameters
Core.Model.AccountRegisterOrderName | Description | Type | Additional information |
---|---|---|---|
product |
allowed values: starter, business |
string |
Required String length: inclusive between 2 and 64 |
productpris |
must be empty or "pris" |
string |
String length: inclusive between 0 and 4 |
additionaluser |
can be empty or between 0 and 100 |
integer |
Matching regular expression pattern: ([0-9]+) Range: inclusive between 0 and 99 |
paymentinterval |
allowed values: monthly, yearly |
string |
Required String length: inclusive between 2 and 64 |
company | string |
Required String length: inclusive between 2 and 256 |
|
firstname | string |
Required String length: inclusive between 2 and 256 |
|
lastname | string |
Required String length: inclusive between 2 and 256 |
|
function | string |
Max length: 256 |
|
birthday | date |
None. |
|
street | string |
Required String length: inclusive between 2 and 256 |
|
zip | string |
Required String length: inclusive between 2 and 256 |
|
city | string |
Required String length: inclusive between 2 and 256 |
|
country |
2 digit iso code |
string |
Required String length: inclusive between 2 and 2 |
phone | string |
Max length: 256 |
|
fax | string |
Max length: 256 |
|
vatId | string |
Max length: 256 |
|
users email address |
string |
Required Data type: EmailAddress String length: inclusive between 7 and 256 user@domain.tld |
|
domain | string |
Required String length: inclusive between 2 and 256 |
|
newsletter | boolean |
Required |
|
ipaddress | string |
Required String length: inclusive between 4 and 256 |
|
templateId | string |
String length: inclusive between 0 and 36 |
Request Formats
application/json, text/json
{ "product": "sample string 1", "productpris": "sample string 2", "additionaluser": 3, "paymentinterval": "sample string 4", "company": "sample string 5", "firstname": "sample string 6", "lastname": "sample string 7", "function": "sample string 8", "birthday": "2024-05-09T02:24:32", "street": "sample string 10", "zip": "sample string 11", "city": "sample string 12", "country": "sample string 13", "phone": "sample string 14", "fax": "sample string 15", "vatId": "sample string 16", "email": "sample string 17", "domain": "sample string 18", "newsletter": true, "ipaddress": "sample string 20", "templateId": "sample string 21" }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |