PUT api/User/Save
Saves User Entity
Request Information
URI Parameters
None.
Body Parameters
Creates new user account and changes existing. When user is created link confirmation to email is sent which is valid for 1 week. Use to update password and Language. However do not change UserName
UserEntityName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
None. |
|
UserName | string |
Required String length: inclusive between 0 and 128 |
|
Password | string |
Required String length: inclusive between 0 and 128 |
|
LanguageID |
Language: English = 'EN', Latvian='LV', Russian='RU' |
string |
Required String length: inclusive between 0 and 2 |
Confirmed |
Is true when User email is confirmed |
boolean |
None. |
Expired |
If true, need initiate password change after successfull login |
boolean |
None. |
SubscribeEmails |
Used to mark email sending preferences directly from DMC |
boolean |
None. |
Subscribe3rdEmails |
Used to mark email sending preferences from DMC partners and 3rd parties |
boolean |
None. |
Request Formats
application/json, text/json
{ "UserID": "sample string 1", "UserName": "sample string 2", "Password": "sample string 3", "LanguageID": "sample string 4", "Confirmed": true, "Expired": true, "SubscribeEmails": true, "Subscribe3rdEmails": true }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |