public static ReportResult GetRelationshipTabReportFull(long reportId, long relTypeId, bool isReverse, HttpStatusCode expectedResposeCode = HttpStatusCode.OK) { long foreignId = 9007199254740986; string uri = string.Format(@"data/v1/report/{0}?metadata=full&page=0,200&relationship={1},{2},{3}", reportId, foreignId, relTypeId, isReverse ? "rev" : "fwd"); return(ReportControllerTestHelper.GetReportRequest(uri, expectedResposeCode)); }
/// <summary> /// The report loaded to drive a listbox on an edit form. /// </summary> public static ReportResult GetEditFormListboxContents(long reportId, HttpStatusCode expectedResposeCode = HttpStatusCode.OK) { string uri = string.Format(@"data/v1/report/{0}?metadata=colbasic&page=0,200", reportId); return(ReportControllerTestHelper.GetReportRequest(uri, expectedResposeCode)); }