public Greenway.PrimeSuite.DataContracts.Document.DocumentImportChartResponse SendPDF(Greenway.PrimeSuite.DataContracts.Document.DocumentImportChartRequest DocumentImportRequest, String sIP) { PrimeSuiteServiceClient oClient = null; try { oClient = GreenwayDocuments.HelperFiles.HelperClass.GetServiceClient(sIP); Greenway.PrimeSuite.DataContracts.Document.DocumentImportChartResponse oResponse = new Greenway.PrimeSuite.DataContracts.Document.DocumentImportChartResponse(); oResponse = oClient.DocumentImportChart(DocumentImportRequest); return oResponse; } catch (Exception ex) { throw ex; } finally { GreenwayDocuments.HelperFiles.HelperClass.CloseServiceClient(oClient); } }
public Greenway.PrimeSuite.DataContracts.User.Task.TaskCreateResponse createATask(Greenway.PrimeSuite.DataContracts.User.Task.TaskCreateRequest createTask, String sIP) { PrimeSuiteServiceClient oClient = null; try { oClient = GreenwayDocuments.HelperFiles.HelperClass.GetServiceClient(sIP); Greenway.PrimeSuite.DataContracts.User.Task.TaskCreateResponse oResponse = new Greenway.PrimeSuite.DataContracts.User.Task.TaskCreateResponse(); oResponse = oClient.TaskCreate(createTask); return oResponse; } catch (Exception ex) { throw ex; } finally { GreenwayDocuments.HelperFiles.HelperClass.CloseServiceClient(oClient); } }
public Greenway.PrimeSuite.DataContracts.SystemAdmin.DocumentTypeSearchResponse GetDocumentTypeFromSearch(Greenway.PrimeSuite.DataContracts.SystemAdmin.DocumentTypeSearchRequest DocumentTypeSearchRequest, String sIP) { PrimeSuiteServiceClient oClient = null; try { oClient = AutomatedFax.HelperFiles.HelperClass.GetServiceClient(sIP); Greenway.PrimeSuite.DataContracts.SystemAdmin.DocumentTypeSearchResponse oResponse = new Greenway.PrimeSuite.DataContracts.SystemAdmin.DocumentTypeSearchResponse(); oResponse = oClient.DocumentTypeGet(DocumentTypeSearchRequest); return oResponse; } catch (Exception ex) { throw ex; } finally { AutomatedFax.HelperFiles.HelperClass.CloseServiceClient(oClient); } }
public Greenway.PrimeSuite.DataContracts.Person.CareProvider.CareProviderSearchResponse GetProvidersFromSearch(Greenway.PrimeSuite.DataContracts.Person.CareProvider.CareProviderSearchRequest CareProviderSearchRequest, String sIP) { PrimeSuiteServiceClient oClient = null; try { oClient = AutomatedFax.HelperFiles.HelperClass.GetServiceClient(sIP); Greenway.PrimeSuite.DataContracts.Person.CareProvider.CareProviderSearchResponse oResponse = new Greenway.PrimeSuite.DataContracts.Person.CareProvider.CareProviderSearchResponse(); oResponse = oClient.CareProviderSearch(CareProviderSearchRequest); return oResponse; } catch (Exception ex) { throw ex; } finally { AutomatedFax.HelperFiles.HelperClass.CloseServiceClient(oClient); } }
public Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse GetDocumentFromSearch(Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchRequest2 DocumentSearchRequest, String sIP) { PrimeSuiteServiceClient oClient = null; try { oClient = EmployeeDesktop.API.HelperFiles.HelperClass.GetServiceClient(sIP); Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse oResponse = new Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse(); oResponse = oClient.DocumentListSearch2(DocumentSearchRequest); return oResponse; } catch (Exception ex) { throw ex; } finally { EmployeeDesktop.API.HelperFiles.HelperClass.CloseServiceClient(oClient); } }