public XmlNode GetData(OutputConfiguration configuration)
 {
     return(ServiceHandler.Instance.Client.GetTimeOffRegistrationsRaw(
                ServiceHandler.Instance.SiteCode,
                ServiceHandler.Instance.ApiId,
                ServiceHandler.Instance.ApiPassword,
                configuration.GetIntegerSafe("EmployeeId"),
                configuration.GetIntegerSafe("DepartmentId"),
                configuration.GetDateTimeSafe("FromDate"),
                configuration.GetDateTimeSafe("ToDate")));
 }
Пример #2
0
 public XmlNode GetData(OutputConfiguration configuration)
 {
     return(ServiceHandler.Instance.Client.GetOpportunitiesRaw(
                ServiceHandler.Instance.SiteCode,
                ServiceHandler.Instance.ApiId,
                ServiceHandler.Instance.ApiPassword,
                configuration.GetIntegerSafe("OpportunityID"),
                configuration.GetIntegerSafe("CustomerID"),
                configuration.GetIntegerSafe("OwnerID"),
                configuration.GetIntegerSafe("OpportunityTypeID"),
                configuration.GetIntegerSafe("BarrierID"),
                configuration.GetDateTimeSafe("StartDate").ToString(),
                configuration.GetDateTimeSafe("EndDate").ToString()));
 }
Пример #3
0
 public XmlNode GetData(OutputConfiguration configuration)
 {
     return(ServiceHandler.Instance.Client.GetWorkUnitsRaw(
                ServiceHandler.Instance.SiteCode,
                ServiceHandler.Instance.ApiId,
                ServiceHandler.Instance.ApiPassword,
                configuration.GetIntegerSafe("WorkUnitId"),
                configuration.GetIntegerSafe("EmployeeId"),
                configuration.GetIntegerSafe("AllocationId"),
                configuration.GetIntegerSafe("TaskId"),
                configuration.GetIntegerSafe("ProjectId"),
                configuration.GetIntegerSafe("DepartmentId"),
                configuration.GetDateTimeSafe("StartDate").ToString("yyyy-MM-dd"),
                configuration.GetDateTimeSafe("EndDate").ToString("yyyy-MM-dd")));
 }