// GET: api/SignedNotes/5 public IEnumerable<SendFaxesReporting> Get(string id) { SignedNotesData signedNotesData = new SignedNotesData(); string[] values = id.Split(','); values[0] = values[0].Substring(0, 2) + "/" + values[0].Substring(2, 2) + "/" + values[0].Substring(4, 4); values[1] = values[1].Substring(0, 2) + "/" + values[1].Substring(2, 2) + "/" + values[1].Substring(4, 4); return signedNotesData.GetSignedDocuments(values[0], values[1], values[2]); }
// GET: api/SignedNotes public IEnumerable<SendFaxesReporting> Get() { string filter = System.Web.Http.HttpRequestMessageExtensions.GetQueryString(Request, "filter.filters[0].value"); SignedNotesData signedNotesData = new SignedNotesData(); return signedNotesData.GetSignedDocuments(); }