This commit is contained in:
@@ -28,18 +28,24 @@ namespace raven_integration
|
||||
|
||||
dynamic w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
ThirdInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
SecondInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
FirstInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();
|
||||
@@ -112,6 +118,8 @@ namespace raven_integration
|
||||
|
||||
dynamic w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.startDate = DateTime.Now;
|
||||
w.endDate = DateTime.Now.AddHours(1);
|
||||
|
||||
@@ -121,6 +129,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.startDate = DateTime.Now.AddHours(1);
|
||||
w.endDate = DateTime.Now.AddHours(2);
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
@@ -129,6 +139,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.startDate = DateTime.Now.AddHours(2);
|
||||
w.endDate = DateTime.Now.AddHours(3);
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
@@ -212,6 +224,8 @@ namespace raven_integration
|
||||
|
||||
dynamic w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.count = 999;
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
@@ -220,6 +234,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.count = 666;
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -227,6 +243,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.count = 333;
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -329,6 +347,8 @@ namespace raven_integration
|
||||
|
||||
dynamic w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.dollaramount = 2.22;
|
||||
w.count = 1;
|
||||
|
||||
@@ -338,6 +358,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.dollaramount = 1.11;
|
||||
w.count = 2;
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
@@ -346,6 +368,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.dollaramount = 1.11;
|
||||
w.count = 1;
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
@@ -354,6 +378,8 @@ namespace raven_integration
|
||||
|
||||
w = new JObject();
|
||||
w.name = Util.Uniquify(WidgetNameStart);
|
||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||
w.notes = "blah";
|
||||
w.dollaramount = 2.22;
|
||||
w.count = 2;
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||
|
||||
Reference in New Issue
Block a user