//[Test()]
 public static void intConfigUpdate()
 {
     string query = "/API/Interceptor/" + TestGlobals.intSerialCreated;
     DeviceStatusPutJSON json = new DeviceStatusPutJSON();
     json.deviceStatus = 1;
     GenericRequest putInt = new GenericRequest (TestGlobals.adminServer, query, json);
     Test mTest = new Test (putInt);
     HttpClient client = new HttpClient ();
     client.DefaultRequestHeaders.Authorization = AuthenticateTest.getSessionToken ();
     AsyncContext.Run (async () => await new HTTPSCalls ().runTest (mTest, HTTPOperation.PUT, client));
     string statusCode = HTTPSCalls.result.Key.GetValue ("StatusCode").ToString ();
     Assert.AreEqual ("204", statusCode);
 }
        private static void disableId(string id)
        {
            string query = "/api/interceptor/" + id;
            DeviceStatusPutJSON json = new DeviceStatusPutJSON();
            GenericRequest intReq = new GenericRequest(TestGlobals.adminServer, query, json);
            Test intTest = new Test(intReq);
            HttpClient client;

            Console.WriteLine(intReq.getUri().ToString());

            client = new HttpClient();
            client.DefaultRequestHeaders.Authorization = AuthenticateTest.getSessionToken();
            AsyncContext.Run(async () => await new HTTPSCalls().runTest(intTest, HTTPOperation.PUT, client));
            Console.WriteLine(HTTPSCalls.result.Value);
        }