private string ClearCustom(string root, Clear clear, Metadata metadata) { var postData = clear.ToUrlQuery() + "&" + metadata.ToUrlQuery(); return RequestPost(root, postData, ""); }
private string ClearCustom(string root, Clear clear, Metadata metadata) { var postData = clear.ToUrlQuery() + "&" + metadata.ToUrlQuery(); return(RequestPost(root, postData, "")); }
/// <summary> /// Runs a clear request of existing attributes on a Factual entity. /// </summary> /// <param name="tableName">the name of the table in which to clear attributes for an entity (e.g., "places")</param> /// <param name="factualId">the factual id on which the clear is run</param> /// <param name="clear">the clear parameters to run against entity</param> /// <param name="metadata">the metadata to send with information on this request</param> /// <returns>the response of running clear request on a Factual entity.</returns> public string Clear(string tableName, string factualId, Clear clear, Metadata metadata) { return ClearCustom("t/" + tableName + "/" + factualId + "/clear", clear, metadata); }
/// <summary> /// Runs a clear request of existing attributes on a Factual entity. /// </summary> /// <param name="tableName">the name of the table in which to clear attributes for an entity (e.g., "places")</param> /// <param name="factualId">the factual id on which the clear is run</param> /// <param name="clear">the clear parameters to run against entity</param> /// <param name="metadata">the metadata to send with information on this request</param> /// <returns>the response of running clear request on a Factual entity.</returns> public string Clear(string tableName, string factualId, Clear clear, Metadata metadata) { return(ClearCustom("t/" + tableName + "/" + factualId + "/clear", clear, metadata)); }