Changed api response "result" to "data"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user