This commit is contained in:
2020-05-08 16:55:46 +00:00
parent 21fd1f154f
commit 012cf187b5
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ namespace raven_integration
String jobId = a.ObjectResponse["jobId"].Value<String>(); String jobId = a.ObjectResponse["jobId"].Value<String>();
//Get a list of operations //Get a list of operations
a = await Util.GetAsync("ServerJob", await Util.GetTokenAsync("OpsAdminFull")); a = await Util.GetAsync("JobOperations", await Util.GetTokenAsync("OpsAdminFull"));
Util.ValidateDataReturnResponseOk(a); Util.ValidateDataReturnResponseOk(a);
Util.ValidateHTTPStatusCode(a, 200); Util.ValidateHTTPStatusCode(a, 200);

View File

@@ -49,7 +49,7 @@ namespace raven_integration
List<string> keys = new List<string>(); List<string> keys = new List<string>();
keys.AddRange(new string[] { "AddressType", "ClientName", "RateName", "WorkorderService" }); keys.AddRange(new string[] { "AddressType", "CustomerName", "RateName", "WorkOrder" });
dynamic d = new JObject(); dynamic d = new JObject();
d = JToken.FromObject(keys); d = JToken.FromObject(keys);