This commit is contained in:
@@ -147,6 +147,9 @@ namespace raven_integration
|
||||
DUSER.roles = 0;//norole (any role can get a subset of locale keys)
|
||||
DUSER.localeId = NewId;//random locale
|
||||
DUSER.userType = 3;//non scheduleable
|
||||
//Required by form custom rules
|
||||
DUSER.notes = "notes";
|
||||
DUSER.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), DUSER.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
long DUSERID = a.ObjectResponse["data"]["id"].Value<long>();
|
||||
|
||||
Reference in New Issue
Block a user