Changed api response "result" to "data"

This commit is contained in:
2018-11-07 16:05:21 +00:00
parent e2330974f6
commit 6c7376f2e8
27 changed files with 227 additions and 270 deletions

View File

@@ -130,7 +130,7 @@ namespace raven_integration
//create via inventory full test user
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync( "InventoryFull"), d.ToString());
Util.ValidateDataReturnResponseOk(a);
long Id = a.ObjectResponse["result"]["id"].Value<long>();
long Id = a.ObjectResponse["data"]["id"].Value<long>();
//Now put a change with no ownerId set
d.active = false;