public List <ScriptDefinition> GetEndpointScripts() { string url = Url + @"scripts/production/EndpointModule"; string result = SimpleRestClient.Get(url); return(Newtonsoft.Json.JsonConvert.DeserializeObject <List <ScriptDefinition> >(result)); }
public string ExecuteEndpointSecure(Credentials c, string name, dynamic args) { string argString = Newtonsoft.Json.JsonConvert.SerializeObject(args, Newtonsoft.Json.Formatting.Indented); string url = Url + $@"EndPoint/{name}"; return(SimpleRestClient.Post(url, argString, c.Username, c.Password)); }
public List <string> GetExpiredQueues() { string url = Url + "ExpiredQueues"; string result = SimpleRestClient.Get(url); return(Newtonsoft.Json.JsonConvert.DeserializeObject <List <string> >(result)); }