/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { var queryParams = new List<string> { "studies", StudyNameAndEnvironment(), "subjects", SubjectKey, "datasets", dataset_type }; if (!string.IsNullOrEmpty(FormOid)) queryParams.Add(FormOid); return RequestHelpers.MakeUrl("/", QueryString(), queryParams.ToArray()); }
public void RequestHelpers_MakeUrl_method_encodes_a_study_with_a_slash_in_the_name() { var url = RequestHelpers.MakeUrl("/", "Mediflex_/11/11", "TEST_RESOURCE"); Assert.AreEqual("Mediflex_%2f11%2f11/TEST_RESOURCE", url); url = RequestHelpers.MakeUrl("/", "webservice.aspx?PostODMClinicalData"); Assert.AreEqual("webservice.aspx?PostODMClinicalData", url); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", QueryString(), new string[] { "studies", StudyNameAndEnvironment(), "subjects" })); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", QueryString(), new string[] { "datasets", "ClinicalAuditRecords.odm" })); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", new string[] { "metadata", "studies", ProjectName, "versions" })); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> /// <exception cref="System.NotImplementedException"></exception> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", QueryString(), new string[] { "datasets", "Signatures.odm" })); }
/// <summary> /// The URL path of the resource /// </summary> /// <returns></returns> /// <exception cref="System.NotImplementedException"></exception> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", QueryString(), new string[] { "studies", StudyNameAndEnvironment(), "datasets", "metadata", "regular" })); }
public override string UrlPath() { return(RequestHelpers.MakeUrl("/", "datasets", $"{DataSetName()}?studyid={StudyNameAndEnvironment()}")); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", new string[] { "webservice.aspx?PostODMClinicalData" })); }
/// <summary> /// The URL path of the resource being requested. /// </summary> /// <returns></returns> public override string UrlPath() { return(RequestHelpers.MakeUrl("/", new string[] { "studies" })); }