public ExportArtifact ExportPartials(string projectId, List <string> uris) { CheckAuthentication(); var url = Url.Combine(Config.Url, Constants.MD_URI, projectId, Constants.PROJECT_PARTIAL_EXPORT_URI); var payload = new PartialExportRequest { PartialMDExport = new PartialMDExport { Uris = uris } }; var response = PostRequest(url, payload); var exportResponse = JsonConvert.DeserializeObject(response, typeof(PartialExportResponse)) as PartialExportResponse; return(exportResponse.PartialMDArtifact); }
public ExportArtifact ExportPartials(string projectId, List<string> uris) { CheckAuthentication(); var url = Url.Combine(Config.ServiceUrl, Constants.MD_URI, projectId, Constants.PROJECT_PARTIAL_EXPORT_URI); var payload = new PartialExportRequest { PartialMDExport = new PartialMDExport { Uris = uris } }; var response = JsonPostRequest(url, payload); var exportResponse = JsonConvert.DeserializeObject(response, typeof(PartialExportResponse)) as PartialExportResponse; return exportResponse.PartialMDArtifact; }