This commit is contained in:
2019-07-02 18:57:40 +00:00
parent d297e27496
commit 077f8bf9f0
4 changed files with 79 additions and 16 deletions

View File

@@ -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>();