Skip to content

mTIME-WS-API

Contents

Chapter 1

Overview

Overview of mTIME webservice.

Authorization

The mTIME webservice must be accessed through a logged-in AD user. Also the AD user must be assigned the ‘Integrator’ role in mTIME.

Quick Links

  • List of mTIME WS objects
  • List of mTIME WS methods
  • AddUpdate_Employee usage guidelines

Overview

Chapter 2

AddUpdate_Employee usage guidelines

See Employee for properties description.

Change an existing employee

  1. var employee = mTIMESoapClient.Integration_nav2009_Get_Employee(“JEJ”);
  2. employee.PersonnelManager = new PersonnelManager
  3. {
  4. Initials = “PM2”,
  5. StartDate = DateTime.Parse(“2015-10-01”)
  6. };
  7. mTIMESoapClient.Integration_nav2009_AddUpdate_Employee(employee);

Create a new employee or update with all data

  1. mTIMESoapClient.Integration_nav2009_AddUpdate_Employee(
  2. new Employee()
  3. {
  4. Initials = “JEJ”,
  5. FirstName = “Jens”,
  6. LastName = “Jensen”,
  7. NIN = “01012000xxxx”,
  8. DateOfHire = DateTime.Parse(“2015-10-01”),
  9. ContactInfo = new ContactInfo
  10. {
  11. Address1 = “Address”,
  12. PostalCode = “2000”,
  13. City = “Frederiksberg”,
  14. Email = “jej@mail”,
  15. Phone = “555-555”
  16. },
  17. PersonnelManager = new PersonnelManager
  18. {
  19. Initials = “PEP”,
  20. StartDate = DateTime.Parse(“2015-10-01”)
  21. },
  22. Unit = new Unit
  23. {
  24. Abbrev = “AfdE”,
  25. StartDate = DateTime.Parse(“2015-10-01”)
  26. },
  27. Agreement = new Agreement
  28. {
  29. Abbrev = “KONTOR”,
  30. StartDate = DateTime.Parse(“2015-10-01”)
  31. },
  32. NormWeek = new NormWeek()
  33. {
  34. Numerator = 32,
  35. Denominator = 37,
  36. StartDate = DateTime.Parse(“2015-10-01”)

AddUpdate_Employee usage guidelines

  1. },
  2. ExtendedUserInfoFieldList = new ExtendedUserInfoField[]
  3. {
  4. new ExtendedUserInfoField()
  5. {
  6. Name = “Sektion”,
  7. Value = “SekA”
  8. }
  9. }
  10. });

Reply

userGroup_reply.status indicates whether the operation succeeded or not. userGroup_reply.msg contains info and error message.

2.1 Summary conflicts

Unit, PersonnelManager, Agreement and NormWeek cannot be changed if StartDate intersects with an approved summary period.

Chapter 3

Namespace Index

3.1 Namespace List

Here is a list of all documented namespaces with brief descriptions:

mTID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 mTID.DOMExternal

Classes used in mTID webservices to expose domain objects externally. . . . . . . 11

Namespace Index

Chapter 4

Hierarchical Index

4.1 Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:

mTID.DOMExternal.Agreement . . .14
mTID.DOMExternal.AliasRecord . . .14
mTID.DOMExternal.ClockInOutRecord . . .15
mTID.DOMExternal.ContactInfo . . . DomainObjectBase17
mTID.DOMExternal.AccountLevel . . .13
mTID.DOMExternal.Employee . . .19
mTID.DOMExternal.EmployeeBalance . . .22
mTID.DOMExternal.NormWeek . . .54
mTID.DOMExternal.PersonnelManager . . .55
mTID.DOMExternal.SyncReply . . .56
mTID.DOMExternal.Unit . . .57
mTID.DOMExternal.UnitInfo . . . WebService58
mTID.mTID_WebService . . .23
mTID.DOMExternal.WorkRecord . . .59
mTID.DOMExternal.WSReply . . .60
mTID.DOMExternal.WSReplyId . . .61

Hierarchical Index

Chapter 5

Class Index

5.1 Class List

Here are the classes, structs, unions and interfaces with brief descriptions:

mTID.DOMExternal.AccountLevel DK: Konto niveau i hierarki . . . .13
mTID.DOMExternal.Agreement DK: Overenskomst . . . .14
mTID.DOMExternal.AliasRecord . . . .14
mTID.DOMExternal.ClockInOutRecord DK: Medarbejder komme/gå tider . . . .15
mTID.DOMExternal.ContactInfo Contact information . . . .17
mTID.DOMExternal.Employee An mTID employee . . . .19
mTID.DOMExternal.EmployeeBalance DK: BrugerSaldo . . . .22
mTID.mTID_WebService Summary description for mTID_WebService . . . .23
mTID.DOMExternal.NormWeek DK: Normuge . . . .54
mTID.DOMExternal.PersonnelManager DK: Personaleleder . . . .55
mTID.DOMExternal.SyncReply Reply returned when doing a sync . . . .56
mTID.DOMExternal.Unit DK: Enhed . . . .57
mTID.DOMExternal.UnitInfo Information on a single unit . . . .58
mTID.DOMExternal.WorkRecord DK: Medarbejder time registreringer. . . .59
mTID.DOMExternal.WSReply Standard reply from mTIME web services . . . .60
mTID.DOMExternal.WSReplyId Reply from mTIME web services containing an id response . . . .61

Class Index

Chapter 6

Namespace Documentation

6.1 mTID Namespace Reference

Namespaces

• namespace DOMExternal

Classes used in mTID webservices to expose domain objects externally.

Classes

• class mTID_WebService

Summary description for mTID_WebService

6.2 mTID.DOMExternal Namespace Reference

Classes used in mTID webservices to expose domain objects externally.

Classes

  • class AccountLevel

DK: Konto niveau i hierarki.

  • class Agreement

DK: Overenskomst

  • class AliasRecord
  • class ClockInOutRecord

DK: Medarbejder komme/gå tider

  • class ContactInfo

Contact information.

  • class Employee

An mTID employee.

  • class EmployeeBalance

DK: BrugerSaldo

  • class NormWeek

DK: Normuge

  • class PersonnelManager

DK: Personaleleder.

  • class SyncReply

Reply returned when doing a sync.

  • class Unit

DK: Enhed.

  • class UnitInfo

Information on a single unit.

  • class WorkRecord

DK: Medarbejder time registreringer

  • class WSReply

Standard reply from mTIME web services.

  • class WSReplyId

Reply from mTIME web services containing an id response.

6.2.1 Detailed Description

Classes used in mTID webservices to expose domain objects externally.

Chapter 7

Class Documentation

7.1 mTID.DOMExternal.AccountLevel Class Reference

DK: Konto niveau i hierarki.

Inheritance diagram for mTID.DOMExternal.AccountLevel:

Ws Api Chapter 7
Ws Api Chapter 7

Public Member Functions

AccountLevel (mTIDDomain.DomainObjects.AccountLevel domAccountLevel)

Properties

  • string Name [get, set] • int Level [get, set]
  • bool CanRegister [get, set]
  • bool Visible [get, set]

7.1.1 Detailed Description

DK: Konto niveau i hierarki.

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/AccountLevel.cs

7.2 mTID.DOMExternal.Agreement Class Reference

DK: Overenskomst

Properties

  • int ID [get, set]

mTID Agreement ID.

  • string Abbrev [get, set]

mTID abbreviated Agreement name. DK: Forkortelse for overenskomst. (Max length: 12).

  • DateTime StartDate [get, set]

Start date for agreement. DK: Startdato for overenskomst.

7.2.1 Detailed Description

DK: Overenskomst

7.2.2 Property Documentation

7.2.2.1 string mTID.DOMExternal.Agreement.Abbrev [get], [set]

mTID abbreviated Agreement name. DK: Forkortelse for overenskomst. (Max length: 12).

7.2.2.2 int mTID.DOMExternal.Agreement.ID [get], [set]

mTID Agreement ID.

7.2.2.3 DateTime mTID.DOMExternal.Agreement.StartDate [get], [set]

Start date for agreement. DK: Startdato for overenskomst.

Must always be first day of month.

Approved summary conflicts

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.3 mTID.DOMExternal.AliasRecord Class Reference

Public Member Functions

• AliasRecord (mTIDDomain.DomainObjects.Alias alias)

Create external alias from internal DOM alias.

Properties

  • int ID [get, set] • string Name [get, set]
  • string AccountAbbrev [get, set]
  • string ProjectGroupAbbrev [get, set]
  • string UnitAbbrev [get, set]
  • string EmployeeInitials [get, set]
  • string DimVariant [get, set]
  • DateTime Startdate [get, set] • DateTime Enddate [get, set]
  • bool IsDynamicAlias [get, set]
  • bool CanRegisterOnThisAlias [get, set]
  • bool CanAddDynamicAliasOnThisAlias [get, set]

7.3.1 Constructor & Destructor Documentation

7.3.1.1 mTID.DOMExternal.AliasRecord.AliasRecord ( mTIDDomain.DomainObjects.Alias alias ) [inline]

Create external alias from internal DOM alias.

Parameters

workRecord

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/AliasRecord.cs

7.4 mTID.DOMExternal.ClockInOutRecord Class Reference

DK: Medarbejder komme/gå tider

Public Member Functions

• ClockInOutRecord (ClockInOutPeriod domClockInOut)

Create external clock in/out record from domain ClockInOutPeriod

Properties

  • int ID [get, set] • DateTime Date [get, set] • string ClockIn [get, set]

Clock-in timestamp.

  • string ClockOut [get, set]

Clock-out timestamp.

  • string Comment [get, set]
  • int EmployeeID [get, set]
  • string EmployeeInitials [get, set]
  • int ExternalID [get, set]

ID representing the clock in/out record in an external system.

  • DateTime Created [get, set]

When was this clock-in/out first created.

  • DateTime Modified [get, set]

Latest modification time

7.4.1 Detailed Description

DK: Medarbejder komme/gå tider

A clock in/out record with 00:00-00:00 represents a delete.

7.4.2 Constructor & Destructor Documentation

7.4.2.1 mTID.DOMExternal.ClockInOutRecord.ClockInOutRecord ( ClockInOutPeriod domClockInOut ) [inline]

Create external clock in/out record from domain ClockInOutPeriod

Parameters

domClockInOut

7.4.3 Property Documentation

7.4.3.1 string mTID.DOMExternal.ClockInOutRecord.ClockIn [get], [set]

Clock-in timestamp.

7.4.3.2 string mTID.DOMExternal.ClockInOutRecord.ClockOut[get], [set]

Clock-out timestamp.

7.4.3.3 DateTime mTID.DOMExternal.ClockInOutRecord.Created [get], [set]

When was this clock-in/out first created.

7.4.3.4 int mTID.DOMExternal.ClockInOutRecord.ExternalID[get], [set]

ID representing the clock in/out record in an external system.

7.4.3.5 DateTime mTID.DOMExternal.ClockInOutRecord.Modified [get], [set]

Latest modification time

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/ClockInOutRecord.cs

7.5 mTID.DOMExternal.ContactInfo Class Reference

Contact information.

Public Member Functions

• ContactInfo (mTIDDomain.DomainObjects.User user)

Construct contact information from a domain User.

Properties

  • int ID [get, set]

mTID contact information ID.

  • string Email [get, set]

DK: E-mail adresse. (Max length: 100).

  • string Title [get, set]

DK: Jobtitel. (Max length: ).

  • string Phone [get, set]

DK: Telefonnummer. (Max length: 20).

  • string Address1 [get, set]

DK: Adresse 1. (Max length: 100).

  • string Address2 [get, set]

DK: Adresse 2. (Max length: 100).

  • string PostalCode [get, set]

DK: Postnummer. (Max length: 10).

  • string City [get, set]

DK: Bynavn. (Max length: 50).

  • string CIN [get, set]

Community Identification Number. Municipality Code. DK: Kommune Kode. (Max length: ).

  • string CountryCode [get, set]

DK: Landekode. (Max length: ).

7.5.1 Detailed Description

Contact information.

7.5.2 Constructor & Destructor Documentation

7.5.2.1 mTID.DOMExternal.ContactInfo.ContactInfo ( mTIDDomain.DomainObjects.User user ) [inline]

Construct contact information from a domain User.

Parameters

user

7.5.3 Property Documentation

7.5.3.1 string mTID.DOMExternal.ContactInfo.Address1 [get], [set]

DK: Adresse 1. (Max length: 100).

7.5.3.2 string mTID.DOMExternal.ContactInfo.Address2[get], [set]

DK: Adresse 2. (Max length: 100).

7.5.3.3 string mTID.DOMExternal.ContactInfo.CIN[get], [set]

Community Identification Number. Municipality Code. DK: Kommune Kode. (Max length: ).

7.5.3.4 string mTID.DOMExternal.ContactInfo.City [get], [set]

DK: Bynavn. (Max length: 50).

7.5.3.5 string mTID.DOMExternal.ContactInfo.CountryCode [get], [set]

DK: Landekode. (Max length: ).

7.5.3.6 string mTID.DOMExternal.ContactInfo.Email [get], [set]

DK: E-mail adresse. (Max length: 100).

7.5.3.7 int mTID.DOMExternal.ContactInfo.ID [get], [set]

mTID contact information ID.

7.5.3.8 string mTID.DOMExternal.ContactInfo.Phone [get], [set]

DK: Telefonnummer. (Max length: 20).

7.5.3.9 string mTID.DOMExternal.ContactInfo.PostalCode [get], [set]

DK: Postnummer. (Max length: 10).

7.5.3.10 string mTID.DOMExternal.ContactInfo.Title [get], [set]

DK: Jobtitel. (Max length: ).

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.6 mTID.DOMExternal.Employee Class Reference

An mTID employee.

Properties

• int ID [get, set]

mTID employee ID.

• string Initials [get, set]

Current mTID Initials. (Max length: 25).

  • string ADInitials [get, set]

Active Directory Initials. (Max length: 25).

  • string NIN [get, set]

National Identification Number. CPR, SSN, etc.

  • string PKAT [get, set]

DK: Personalekategori kode EN: Personnel category code

  • DateTime DateOfBirth [get, set]

DK: Fødselsdato.

  • string FirstName [get, set]

DK: Fornavn. (Max length: 50).

  • string LastName [get, set]

DK: Efternavn. (Max length: 50).

  • ContactInfo ContactInfo [get, set]

DK: Kontaktinformation.

  • string SalaryNumber [get, set]

DK: Lønnummer.

  • DateTime DateOfVacationCalculation [get, set]

DK: Ferieberegningsdato.

  • DateTime DateOfHire [get, set]

DK: Ansættelsesdato.

  • DateTime DateOfDeletion [get, set]

DK: Slettet dato.

  • Unit Unit [get, set]

DK: Enhed.

  • PersonnelManager PersonnelManager [get, set]

DK: Personaleleder.

  • Agreement Agreement [get, set]

DK: Overenskomst

  • NormWeek NormWeek [get, set]

DK: Normuge.

  • List*<* ExtendedUserInfoField > ExtendedUserInfoFieldList [get, set]

DK: List of extendedUserInfoFields.

  • string ActiveNavisionDimensions [get, set]

DK: Dimensioner som skal adderes på brugeren

7.6.1 Detailed Description

An mTID employee.

7.6.2 Property Documentation

7.6.2.1 string mTID.DOMExternal.Employee.ActiveNavisionDimensions [get], [set]

DK: Dimensioner som skal adderes på brugeren

7.6.2.2 string mTID.DOMExternal.Employee.ADInitials [get], [set]

Active Directory Initials. (Max length: 25).

7.6.2.3 Agreement mTID.DOMExternal.Employee.Agreement[get], [set]

DK: Overenskomst

7.6.2.4 ContactInfo mTID.DOMExternal.Employee.ContactInfo[get], [set]

DK: Kontaktinformation.

7.6.2.5 DateTime mTID.DOMExternal.Employee.DateOfBirth [get], [set]

DK: Fødselsdato.

7.6.2.6 DateTime mTID.DOMExternal.Employee.DateOfDeletion[get], [set]

DK: Slettet dato.

Non NULL value initiates mTIME hire termination process

7.6.2.7 DateTime mTID.DOMExternal.Employee.DateOfHire [get], [set]

DK: Ansættelsesdato.

7.6.2.8 DateTime mTID.DOMExternal.Employee.DateOfVacationCalculation[get], [set]

DK: Ferieberegningsdato.

7.6.2.9 List*<ExtendedUserInfoField>* mTID.DOMExternal.Employee.ExtendedUserInfoFieldList[get], [set]

DK: List of extendedUserInfoFields.

7.6.2.10 string mTID.DOMExternal.Employee.FirstName [get], [set]

DK: Fornavn. (Max length: 50).

7.6.2.11 int mTID.DOMExternal.Employee.ID[get], [set]

mTID employee ID.

7.6.2.12 string mTID.DOMExternal.Employee.Initials [get], [set]

Current mTID Initials. (Max length: 25).

7.6.2.13 string mTID.DOMExternal.Employee.LastName[get], [set]

DK: Efternavn. (Max length: 50).

7.6.2.14 string mTID.DOMExternal.Employee.NIN[get], [set]

National Identification Number. CPR, SSN, etc.

7.6.2.15 NormWeek mTID.DOMExternal.Employee.NormWeek[get], [set]

DK: Normuge.

7.6.2.16 PersonnelManager mTID.DOMExternal.Employee.PersonnelManager[get], [set]

DK: Personaleleder.

7.6.2.17 string mTID.DOMExternal.Employee.PKAT [get], [set]

DK: Personalekategori kode EN: Personnel category code

7.6.2.18 string mTID.DOMExternal.Employee.SalaryNumber [get], [set]

DK: Lønnummer.

7.6.2.19 Unit mTID.DOMExternal.Employee.Unit [get], [set]

DK: Enhed.

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.7 mTID.DOMExternal.EmployeeBalance Class Reference

DK: BrugerSaldo

Properties

  • string EmployeeBalanceName [get, set]

Name of the balance

  • string EmployeeInitials [get, set]

Balance belongs to this employee

  • float BalanceValue [get, set]

Balance value.

  • DateTime Date [get, set]

Date associated with the balance entry

  • string Comment [get, set]

Comment for the balance entry

7.7.1 Detailed Description

DK: BrugerSaldo

7.7.2 Property Documentation

7.7.2.1 float mTID.DOMExternal.EmployeeBalance.BalanceValue [get], [set]

Balance value.

Value type (days/hours) is defined by the balance setup in mTIME.

7.7.2.2 string mTID.DOMExternal.EmployeeBalance.Comment[get], [set]

Comment for the balance entry

7.7.2.3 DateTime mTID.DOMExternal.EmployeeBalance.Date[get], [set]

Date associated with the balance entry

7.7.2.4 string mTID.DOMExternal.EmployeeBalance.EmployeeBalanceName [get], [set]

Name of the balance

DK: Brugersaldo navn

7.7.2.5 string mTID.DOMExternal.EmployeeBalance.EmployeeInitials[get], [set]

Balance belongs to this employee

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/EmployeeBalance.cs

7.8 mTID.mTID_WebService Class Reference

Summary description for mTID_WebService

Inheritance diagram for mTID.mTID_WebService:

Ws Api
Ws Api

Public Member Functions

  • bool UpdateAdInitials (string adInitials, string initials, decimal xdb_ID)

Update AD initials.

  • DataSet Laas_SLS_Registrering (string SLS_UdbetalingerID_Streng)

Låser ‘SLS-Registrering’ i mTID.

  • string Get_TasteBilag (string Fradato, string Tildato, bool PlederGodkendt, string Brugerinit)

Henter TasteBilag som HTML fra mTID

  • string Versionsindstillinger_Get (string FeltNavn, string Logonbruger)

Henter en versions indstilling i mTID.

  • WSReply UpdateSystemSetting (string name, string value)

Update system setting.

  • int mailLog_save (bool IsMailSend, string fromAdr, string to, string cc, string subject, string body, string agentjob_koerelserID, string fejlbesked)

Gemmer en log omkring sendt mail i mTID.

  • int MailEvents (string bruger, string brugerID, string eventID)

Aktiver mail events i mTID.

  • int MailAgent_Run ()

Aktiver mailAgent run for mTID.

  • int MailAgent_Run_FromDate (Nullable*<* DateTime > runDate)

Aktiver mailAgent run for mTID.

  • int RegistreringTimerGem (string bruger, string dag, string maaned, string aar, string emnenr, string aktivitetnr, System.Nullable*<* int > enhed, System.Nullable*<* decimal > timer, string kommentar, System.←Nullable*<* int > dimensionsID, System.Nullable*<* bool > helligdag, string aarsagvariant, System.Nullable*<* bool > overrideRegUdenforInterval, ref string fejlbesked, ref System.Nullable*<* float > fravaerstimer_retur, System.Nullable*<* decimal > anmodning_ID, System.Nullable*<* decimal > bruger_Boern_ID, System.←- Nullable*<* bool > kunOutputIkkeSelect, System.Nullable*<* int > mode, string sprog, System.Nullable*<* bool > timerHundrededele, string logonBruger, System.Nullable*<* bool > kgTidForNormtid, System.Nullable*<* bool > tjekFor24Timer, System.Nullable*<* bool > tjekForUlovligeEmneKombinationer, System.Nullable*<* bool > overrideJaSletRegistreringerPaaSekundaereEmner)

Registration hours save.

  • Nav2009Controller.userGroup_reply RegistreringTimerGem2 (string bruger, string dag, string maaned, string aar, string emnenr, string aktivitetnr, System.Nullable*<* int > enhed, System.Nullable*<* decimal > timer, string kommentar, System.Nullable*<* int > dimensionsID, System.Nullable*<* bool > helligdag, string aarsagvariant, System.Nullable*<* bool > overrideRegUdenforInterval, ref string fejlbesked, ref System.Nullable*<* float > fravaerstimer_retur, System.Nullable*<* decimal > anmodning_ID, System.Nullable*<* decimal > bruger_Boern_ID, System.Nullable*<* bool > kunOutputIkkeSelect, System.Nullable*<* int > mode, string sprog, bool timerHundrededele, string logonBruger, System.Nullable*<* bool > kgTidForNormtid, System.←Nullable*<* bool > tjekFor24Timer, System.Nullable*<* bool > tjekForUlovligeEmneKombinationer, System.←Nullable*<* bool > overrideJaSletRegistreringerPaaSekundaereEmner)

Registration hours save with error messages.

  • int Clear_cache_VersionsMulighed ()

Sletter cache på IIS, for versions indstilling i mTID.

  • int Clear_cache_Labels ()

Sletter cache på IIS, for labels i mTID.

  • int Clear_cache_CellContent ()

Sletter cache på IIS, for Skema CellContent i mTID.

  • int Clear_cache_Xml ()

Sletter cache på IIS, for Skema xml i mTID.

  • int Clear_cache_Kalender ()

Sletter cache på IIS, for ferie Kalender i mTID.

  • int Clear_cache_UserId ()

Sletter cache på IIS, for UserId i mTID.

  • int Clear_cache_UserName ()

Sletter cache på IIS, for UserName i mTID.

  • int Clear_cache_UserStartAndEndTime ()

Sletter cache på IIS, for Skema User Start/End times i mTID.

  • int Clear_cache_UserWorkHours ()

Sletter cache på IIS, for Kalender i mTID.

  • int Clear_cache_UserTimeConsumption ()

Sletter cache på IIS, for bruger tidsforbrug.

  • WSReply CRMCaseCreate (string CaseNo, string CaseName, DateTime StartDate)

Create case.

  • WSReply CRMCaseUpdate (string CaseNo, DateTime EndDate, bool MakeInactive)

Update case with new end date and active status.

  • WSReply CRMCaseAttachToUser (string CaseNo, string EmployeeInitials)

Attach case to employee.

  • WSReply CRMCaseDetachFromUser (string CaseNo, string EmployeeInitials)

Detach case for employee.

  • WSReply CRMCaseReregistration (string OriginalCaseNo, string NewCRMCaseNo, DateTime StartDate, DateTime EndDate)

Re-register OriginalCaseNo as NewCaseNo.

  • Nav2009Controller.userGroup_reply Integration_EP_AddUpdateAllowance (string employeeInitials, Date←-

Time date, string accountAbbrev, int minutes, string comment, string registeredBy)

Add/update an allowance work record.

  • List*<* Nav2009Controller.userGroup.SummedRegistration > Integration_nav2009_Get_Regular_←Registrations_Summary (DateTime Startdate, DateTime Enddate)

Get Regular Registrations Summary.

  • List*<* mTID.DOMExternal.WorkRecord > Integration_Get_WorkRecords_Absence_ForEmployee (string employeeInitials, DateTime fromDate, DateTime toDate)

Get absence work records for employee.

  • List*<* mTID.DOMExternal.WorkRecord > Integration_Get_WorkRecords_OvertimeAllowance_For←-

Employee_RegisteredBy (string employeeInitials, DateTime fromDate, DateTime toDate, string registeredBy)

Get overtime allowance work records for employee.

  • List*<* mTID.DOMExternal.WorkRecord > Integration_Get_WorkRecords_Regular_ForEmployee (string employeeInitials, DateTime fromDate, DateTime toDate)

Get regular work records for employee.

  • List*<* Nav2009Controller.userGroup.Registration > Integration_nav2009_Get_Project_Registrations (string groupAbbreviation, string caseNumber, DateTime Startdate, DateTime Enddate)

Get work record registrations for all employees in a project.

  • void Integration_nav2009_Send_Project_Registrations ()

Send project registrations for group.

  • Nav2009Controller.userGroup_reply Integration_nav2009_Add_Activity (string number, string name, string comment, int?levelId, bool accountLevel, bool includedInSum, bool active, int?unitId)

Add an activity.

  • Nav2009Controller.userGroup_reply Integration_nav2009_Add_Activity_To_Account (string accountNo, string activityNumber)

Associate an activity to an account.

  • Nav2009Controller.userGroup_reply Integration_nav2009_Remove_Activity_From_Account (string account←-

No, string activityNumber)

Remove an activity from account.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_ProjectMember (string Project←Member_Initial, string caseNumber)

Add an employee to a project.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_ProjectMemberExt (string Project←Member_Initial, string caseNumber, decimal?budget, decimal?hourRate)

Add an employee to a project with budget and hourrate.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_ProjectManager (string Project←Manager_Initial, string caseNumber)

Add project manager to project group.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_ProjectGroup (string caseNumber, string caseName)

Add a project group.

  • int Integration_nav2009_Add_ProjectAccount (string No, string Name, string Description, int Level, string Parent, string Link)

Add a project account.

  • int Integration_AddUpdate_Account (string No, string Name, string Description, int Level, string Parent, string Link, bool isAbsenceAccount, bool isOvertimeAllowanceAccount, bool isIncludedInFlex)

Add an account (DK:emne)

  • int Integration_nav2009_Add_DimensionValue (string DimName, string Value, string ValueName)

Add dimension value.

  • int Integration_nav2009_Add_Dimension (string Name, string description, bool directRegistrationForm←- Skema)

Add alias dimension.

  • WSReplyId DimensionEmnerDefaultDo (string action, int?dimensionSkema_ID, string alias, string emne←Nr, string dimensionsNavn, string dimensionsvaerdi, bool?iSkema, string dimvariant, string lokalDimvar, int?aliasType, int?aliasType2, string search, string enhed, string bruger, string datofra, string datotil, string valgfri, string obligatorisk, int?spaerred, string viewEnhed, bool?konterbar, string farvekode, int?gruppe←_ID, string logonBruger, decimal?heleEllerHalveTimer, bool?debug, bool?brugerMode, bool?skalTilfoej←DimensionOgMaaIkkeRegPaa, bool?maaOpretDynamiskPaaDenne, string gruppe_Forkortelse, bool?skjult)

Add/update an alias. Direct mapping of Dimension_Emner_DefaultDo for testing purposes.

  • int Integration_nav2009_Add_AliasExt (string Name, string ProjectAccountNo, string groupAbbreviation, bool editable, bool mustAddDimension, bool dynamicAlias, string DimVariant)

Integration NAV2009 Add Alias Extended to mTID.

  • int Integration_nav2009_Add_Alias (string Name, string ProjectAccountNo, string groupAbbreviation, bool editable, string DimVariant)

Add Alias.

  • int Integration_Add_AliasGeneral (string Name, string ProjectAccountNo, bool editable, string DimVariant, int AliasType, string Enhed, int?GruppeID)

Add Alias to mTID basic version.

  • int Integration_Add_AliasGeneralPeriode (string Name, string ProjectAccountNo, bool editable, string Dim←Variant, int AliasType, string Enhed, int?GruppeID, DateTime from, DateTime to)

Add Alias to mTID basic version.

  • int Integration_Remove_WorkRecord (DateTime date, string initials, string accountNr, int?aliasId)

Remove workrecord if it already exists.

  • List*<* mTID.DOMExternal.AliasRecord > Integration_GetAliasesByIds (string stringOfIds)

Get aliases by ids.

  • int Integration_Get_AliasId (string name)

Get alias id

  • int Integration_Get_UnitId (string name)

Get unit id.

  • string Get_AccountNrFromAliasId (int?aliasId)

Get account number for alias with id.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_ProjectStatus (string group←Abbreviation, string status, DateTime Startdate, string Author)

Add/Update ProjectGroup Status.

  • Nav2009Controller.userGroup_reply Integration_nav2009_AddUpdate_Employee (Employee employee)

Add employee or update employee properties. General usage guideline

  • Nav2009Controller.userGroup_reply Integration_Edit_EmployeeBalance (EmployeeBalance employee←Balance)

Edit employee balance.

  • mTID.DOMExternal.UnitInfo Integration_nav2009_Get_UnitInfo (string abbrev)

Get mTID.DOMExternal.UnitInfo for a single unit.

  • List*<* mTID.DOMExternal.UnitInfo > Integration_nav2009_Get_UnitInfos ()

Get mTID.DOMExternal.UnitInfo for all units in mTIME.

  • Employee Integration_nav2009_Get_Employee (string initials)

Get employee data for a single employee.

  • List*<* Employee > Integration_nav2009_Get_Employees ()

Get employee data on all employees in mTIME.

  • List*<* Employee > Integration_Get_EmployeesByAgreement (string agreementAbbrev)

Get employees by mTID.DOMExternal.Agreement abbreviation.

  • List*<* Employee > Integration_nav2009_Get_EmployeesTerminated (int?year)

Get terminated employees.

  • List*<* Employee > Integration_nav2009_Get_EmployeesAttachedToAUnit ()

Get employee data for employees attached to a unit.

  • Nav2009Controller.userGroup_reply Integration_ClockInOut_ConfirmASync (DateTime?syncId)

Confirm clock in/out periods with syncId as synced.

  • List*<* ClockInOutRecord > Integration_Get_ClockInOuts (DateTime?createdSince)

Get clock in/out records by creation date.

  • mTID.DOMExternal.WorkRecord Integration_Get_RegularWorkRecord (DateTime?date, string accountNr, int?aliasId, string initials)

Get regular work records, without flex calculated into the list

  • SyncReply Integration_Get_UnsyncedClockInOuts ()

Get unsynced clock in/outs.

  • Nav2009Controller.userGroup_reply Integration_AddUpdate_ClockInOutRecord (ClockInOutRecord clock←-

InOutRecord)

Add/update clock in/out record.

  • Nav2009Controller.userGroup_reply Integration_AddUpdate_ClockInOut (int?employeeId, string employee←Initials, DateTime date, string clockIn, string clockOut, string comment, int?externalId)

Add/update clock in clock out for an employee.

  • Nav2009Controller.userGroup_reply Integration_AddUpdate_Unit (UnitInfo unit)

Add/update a unit.

  • Nav2009Controller.userGroup_reply Integration_AddUpdate_AccountLevel (mTID.DOMExternal.Account←-

Level AccountLevel)

Add/update account hierarchy.

  • Nav2009Controller.userGroup_reply Integration_AddUpdate_Agreement (mTID.DOMExternal.Agreement agreement)

Add/update an mTID.DOMExternal.Agreement.

  • string Integration_TimeStamp_Save (string bruger, string dato, DateTime starttid, System.Nullable*<* Date←Time > sluttid, string kommentar)

Store an arrival/departure time in mTID.

  • string Integration_Sagsbudgetlinje_Reset (DateTime startDate, DateTime endDate)

Reset budget for all users in mTID in period.

  • string Integration_Sagsbudgetlinje_Save (string brugerinit, DateTime startDate, DateTime endDate, string accountNo, decimal budgetTal)

Store a budget for a user in mTID.

  • bool isHoliday (string DatoInDK, string UserName)

Check holiday status for user on specific date.

  • DataSet isHoliday_period (string month, string year, string UserName)

Get holidays for user in specific month.

  • int Job_FravaersAgent ()
  • int Job_Flex ()
  • int Job_Autotilskrivning ()
  • int Job_AutoGodkend ()
  • int Job_SlettedeBruger ()
  • int Job_NormtidSumBeregner ()
  • DataSetResult Test ()
  • mTID.Areas.integration.Controllers.Nav2009Controller.userGroup_reply AddSaveDimension (string name, string callName, bool isUnitBound, bool isActive, int?order, string valueType, string description, int showType, bool schemaDimension, bool directSchemaRegistration, int?dimVaerdiID, int?xdb_ID)

Add/update dimension.

  • mTID.Areas.integration.Controllers.Nav2009Controller.userGroup_reply AddSaveDimensionValue (string fk_dimName, int?unitId, string value, string valueName, DateTime?blockedFrom, bool showInKeyAttachment, bool directSchemaRegistration, bool isDefault, decimal?xdb_ID)

Save dimension value.

  • List*<* mTID.DOMExternal.WorkRecord > Get_Workrecords_For_DimensionValueAndPeriodeThats←Approved (DateTime fromDate, DateTime toDate, string dimValue)

Get work records for dimensionValue, and period.

  • List*<* mTID.DOMExternal.WorkRecord > Get_Workrecords_For_DimensionAndUnitPeriodeThatsApproved

(DateTime fromDate, DateTime toDate, int unitId, string dimName)

Get approved work records from an employee in unit registered on a specific dimension.

  • mTID.Areas.integration.Controllers.Nav2009Controller.userGroup_reply ApproveCurrentMonth (string employeeInititals, string approverInititals, bool closeMonth, bool managerOrEmployeeToUpdate, Date←Time month, string comment)
  • bool SendUserPass (string userInitials, string body, string subject)
  • string CheckOutdatedPasswords ()
  • string SendPasswordReminderMails ()
  • bool StartSLS_GetAllSalaryNumberFromSLS_Job ()
  • bool StartSLS_GetSalaryNumberFromSLS_Job (string cprnumber)
  • bool StartSLS_TransferPeriodsToXDB_Job (int initiator, DateTime endDate)
  • bool StartSLS_TransferPeriodsToXDB_Job_ByUserId (int initiator, DateTime endDate, int userId)
  • bool StartSLS_TransferPeriodsToXDB_Job_ForAFullYear (int initiator, int year)
  • bool StartSLS_TransferPeriodsToXDB_Job_FromDate (int initiator, DateTime fromDate)
  • bool StartSLS_TransferPeriodsToXDB_Job_ByUserIdFromDate (int initiator, int userId, DateTime from←Date)
  • List*<* GetUsers_SLSLoenNumbersReturnResult > GetUsers_SLSLoenNumbers ()
  • bool StartExchangeSync ()

7.8.1 Detailed Description

Summary description for mTID_WebService

7.8.2 Member Function Documentation

7.8.2.1 mTID.Areas.integration.Controllers.Nav2009Controller.userGroup_reply mTID.mTID_WebService.AddSaveDimension ( string name, string callName, bool isUnitBound, bool isActive, int? order, string valueType, string description, int showType, bool schemaDimension, bool directSchemaRegistration, int? dimVaerdiID, int? xdb_ID ) [inline]

Add/update dimension.

Parameters

name
callName
isUnitBound
isActive
order
valueType
description
showType
schemaDimension
directSchemaRegistration
dimVaerdiID
xdb_ID

Returns

7.8.2.2 mTID.Areas.integration.Controllers.Nav2009Controller.userGroup_reply mTID.mTID_WebService.AddSave←DimensionValue ( string fk_dimName, int? unitId, string value, string valueName, DateTime? blockedFrom, bool showInKeyAttachment, bool directSchemaRegistration, bool isDefault, decimal? xdb_ID )[inline]

Save dimension value.

Parameters

fk_dimName
unitId
value
valueName
blockedFrom
showInKeyAttachment
directSchemaRegistration
isDefault
xdb_ID

Returns

7.8.2.3 int mTID.mTID_WebService.Clear_cache_CellContent () [inline]

Sletter cache på IIS, for Skema CellContent i mTID.

Returns

7.8.2.4int mTID.mTID_WebService.Clear_cache_Kalender ( ) [inline]

Sletter cache på IIS, for ferie Kalender i mTID.

Returns

7.8.2.5 int mTID.mTID_WebService.Clear_cache_Labels ( )[inline]

Sletter cache på IIS, for labels i mTID.

Returns

7.8.2.6 int mTID.mTID_WebService.Clear_cache_UserId ( ) [inline]

Sletter cache på IIS, for UserId i mTID.

Returns

7.8.2.7 int mTID.mTID_WebService.Clear_cache_UserName ( )[inline]

Sletter cache på IIS, for UserName i mTID.

Returns

7.8.2.8 int mTID.mTID_WebService.Clear_cache_UserStartAndEndTime ( ) [inline]

Sletter cache på IIS, for Skema User Start/End times i mTID.

Returns

7.8.2.9 int mTID.mTID_WebService.Clear_cache_UserTimeConsumption ( )[inline] Sletter cache på IIS, for bruger tidsforbrug.

Returns

7.8.2.10 int mTID.mTID_WebService.Clear_cache_UserWorkHours ( ) [inline]

Sletter cache på IIS, for Kalender i mTID.

Returns

7.8.2.11 int mTID.mTID_WebService.Clear_cache_VersionsMulighed ( )[inline]

Sletter cache på IIS, for versions indstilling i mTID.

Returns

7.8.2.12 int mTID.mTID_WebService.Clear_cache_Xml ( )[inline]

Sletter cache på IIS, for Skema xml i mTID.

Returns

7.8.2.13 WSReply mTID.mTID_WebService.CRMCaseAttachToUser ( string CaseNo, string EmployeeInitials )[inline]

Attach case to employee.

Parameters

CaseNo
EmployeeInitials

Returns

Metoden søger for at tilføje CRM sagen CaseNo til brugeren med initialer UserInitial registreringsskema.

7.8.2.14 WSReply mTID.mTID_WebService.CRMCaseCreate ( string CaseNo, string CaseName, DateTime StartDate )[inline]

Create case.

Parameters

CaseNo
CaseName
StartDate

Returns

7.8.2.15 WSReply mTID.mTID_WebService.CRMCaseDetachFromUser ( string CaseNo, string EmployeeInitials )[inline]

Detach case for employee.

Parameters

CaseNo
EmployeeInitials

Returns

Metoden søger for at fjerne CRM sagen CaseNo fra brugeren med initialer UserInitial registreringsskema.

7.8.2.16 WSReply mTID.mTID_WebService.CRMCaseReregistration ( string OriginalCaseNo, string NewCRMCaseNo, DateTime StartDate, DateTime EndDate ) [inline]

Re-register OriginalCaseNo as NewCaseNo.

Parameters

OriginalCaseNo
NewCRMCaseNo
StartDate
EndDate

Returns

Metoden søger for at overføre alle registreringer fortaget i perioden StartDate til EndDate fra sagsnummer Original←CaseNo til NewCaseNo. Metoden skal udføres selvom måneden er godkendt. Teknisk vil UMTID sætte 0 timer ind i den eksisterende tidspost, og oprette en ny tidspost med de nye informationer på, og hvis måneden er godkendt, markere at tidsposten er låst.

7.8.2.17 WSReply mTID.mTID_WebService.CRMCaseUpdate ( string CaseNo, DateTime EndDate, bool MakeInactive ) [inline]

Update case with new end date and active status.

Parameters

CaseNo
EndDate
MakeInactive

Returns

Metoden søger for at sætte en lukkedato på aliaset, som CRM sagen er oprettet under, samt spærre for selve CRM sagskontoen I kontoplanen.

7.8.2.18 WSReplyId mTID.mTID_WebService.DimensionEmnerDefaultDo ()

( string action, int? dimensionSkema_ID, string alias, string emneNr, string dimensionsNavn, string dimensionsvaerdi, bool? iSkema, string dimvariant, string lokalDimvar, int? aliasType, int? aliasType2, string search, string enhed, string bruger, string datofra, string datotil, string valgfri, string obligatorisk, int? spaerred, string viewEnhed, bool? konterbar, string farvekode, int? gruppe_ID, string logonBruger, decimal? heleEllerHalveTimer, bool? debug, bool? brugerMode, bool skalTilfoejDimensionOgMaaIkkeRegPaa, bool? maaOpretDynamiskPaaDenne, string gruppe_Forkortelse, bool? skjult**) [inline]**

Add/update an alias. Direct mapping of Dimension_Emner_DefaultDo for testing purposes.

Returns

WSReplyId with alias id set.

7.8.2.19 string mTID.mTID_WebService.Get_AccountNrFromAliasId ( int? aliasId ) [inline]

Get account number for alias with id.

Parameters

alias- Id

Returns

7.8.2.20 string mTID.mTID_WebService.Get_TasteBilag ( string Fradato, string Tildato, bool PlederGodkendt, string Brugerinit)[inline]

Henter TasteBilag som HTML fra mTID

Parameters

Fradato
Tildato
PlederGodkendt
Brugerinit

Returns

7.8.2.21 List*<mTID.DOMExternal.WorkRecord>* mTID.mTID_WebService.Get_Workrecords_For_Dimension←- AndUnitPeriodeThatsApproved ( DateTime fromDate, DateTime toDate, int unitId, string dimName )[inline]

Get approved work records from an employee in unit registered on a specific dimension.

Parameters

fromDate
toDate
unitId
dimName

Returns

7.8.2.22 List***<mTID.DOMExternal.WorkRecord>*** mTID.mTID_WebService.Get_Workrecords_For_←DimensionValueAndPeriodeThatsApproved ( DateTime fromDate, DateTime toDate, string dimValue )[inline]

Get work records for dimensionValue, and period.

Parameters

employeeInitials
fromDate
toDate

Returns

7.8.2.23 int mTID.mTID_WebService.Integration_Add_AliasGeneral ( string Name, string ProjectAccountNo, bool editable, string DimVariant, int AliasType, string Enhed, int? GruppeID )[inline]

Add Alias to mTID basic version.

Parameters

Name
ProjectAccountNo
editable
DimVariant
AliasType1:General, 2:Unit, 3:Personal, 4:Group
Enhed
GruppeID

Returns

7.8.2.24 int mTID.mTID_WebService.Integration_Add_AliasGeneralPeriode ( string Name, string ProjectAccountNo, bool editable, string DimVariant, int AliasType, string Enhed, int? GruppeID, DateTime from, DateTime to ) [inline]

Add Alias to mTID basic version.

Parameters

Name
ProjectAccountNo
editable
DimVariant
AliasType1:General, 2:Unit, 3:Personal, 4:Group
Enhed
GruppeID
fromStart date for alias
toEnd date for alias

Returns

7.8.2.25 int mTID.mTID_WebService.Integration_AddUpdate_Account ( string No, string Name, string Description, int Level, string Parent, string Link, bool isAbsenceAccount, bool isOvertimeAllowanceAccount, bool isIncludedInFlex )[inline]

Add an account (DK:emne)

Parameters

No
Name
Description
Level
Parent
Link
isAbsenceAccount
isOvertimeAllowanceAccount
isIncludedInFlex

Returns

7.8.2.26 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_AddUpdate_AccountLevel (

mTID.DOMExternal.AccountLevel AccountLevel ) [inline]

Add/update account hierarchy.

Parameters

AccountLevel

Returns

7.8.2.27 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_AddUpdate_Agreement (

mTID.DOMExternal.Agreement agreement ) [inline]

Add/update an mTID.DOMExternal.Agreement.

Parameters

agreement

Returns

7.8.2.28 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_AddUpdate_ClockInOut ( int? employeeId, string employeeInitials, DateTime date, string clockIn, string clockOut, string comment, int? externalId )[inline]

Add/update clock in clock out for an employee.

Parameters

employeeInitials
date
clockIn
clockOut
externalId

Returns

7.8.2.29 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_AddUpdate_ClockInOutRecord ( ClockInOutRecord clockInOutRecord ) [inline]

Add/update clock in/out record.

Parameters

clockInOutRecord

Returns

7.8.2.30 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_AddUpdate_Unit ( UnitInfo unit )[inline]

Add/update a unit.

Parameters

unit

Returns

7.8.2.31 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_ClockInOut_ConfirmASync ( DateTime?

syncId ) [inline]

Confirm clock in/out periods with syncId as synced.

Parameters

sync- IdIf null, confirm all as synced

Returns

7.8.2.32 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_Edit_EmployeeBalance ( EmployeeBalance employeeBalance )[inline]

Edit employee balance.

An employee balance (‘Flex’, ‘Senior days’ etc.) is edited with a new absolute balance value. A delta balance value is automatically calculated and applied to the balance, thus obtaining the new desired absolute value.

Parameters

employeeBalance

7.8.2.33 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_EP_AddUpdateAllowance ( string employeeInitials, DateTime date, string accountAbbrev, int minutes, string comment, string registeredBy )[inline]

Add/update an allowance work record.

Parameters

employeeInitialsEmployee initials
dateDate of the work record
accountAbbrevAllowance account number
minutesMinutes to register
commentComment
registeredByLogon user

Returns

7.8.2.34 int mTID.mTID_WebService.Integration_Get_AliasId ( string name ) [inline]

Get alias id

Parameters

nameName of alias to lookup

Returns

7.8.2.35 List*<ClockInOutRecord>* mTID.mTID_WebService.Integration_Get_ClockInOuts ( DateTime? createdSince )[inline]

Get clock in/out records by creation date.

Parameters

createdSince

7.8.2.36 List*<Employee>* mTID.mTID_WebService.Integration_Get_EmployeesByAgreement ( string agreementAbbrev ) [inline]

Get employees by mTID.DOMExternal.Agreement abbreviation.

Parameters

agreementAbbrevAbbreviation for agreement

Returns

7.8.2.37 mTID.DOMExternal.WorkRecord mTID.mTID_WebService.Integration_Get_RegularWorkRecord ( DateTime?

date, string accountNr, int? aliasId, string initials )[inline]

Get regular work records, without flex calculated into the list

Parameters

createdSince

Returns

7.8.2.38 int mTID.mTID_WebService.Integration_Get_UnitId ( string name )[inline]

Get unit id.

Parameters

nameName of unit to lookup

Returns

7.8.2.39 SyncReply mTID.mTID_WebService.Integration_Get_UnsyncedClockInOuts ( ) [inline]

Get unsynced clock in/outs.

7.8.2.40 List*<mTID.DOMExternal.WorkRecord>* mTID.mTID_WebService.Integration_Get_Work←Records_Absence_ForEmployee ( string employeeInitials, DateTime fromDate, DateTime toDate ) [inline]

Get absence work records for employee.

Parameters

employeeInitials
fromDate
toDate

Returns

7.8.2.41 List*<mTID.DOMExternal.WorkRecord>* mTID.mTID_WebService.Integration_Get_WorkRecords_Overtime←Allowance_ForEmployee_RegisteredBy ( string employeeInitials, DateTime fromDate, DateTime toDate, string registeredBy ) [inline]

Get overtime allowance work records for employee.

Parameters

employeeInitials
fromDate
toDate

Returns

7.8.2.42 List*<mTID.DOMExternal.WorkRecord>* mTID.mTID_WebService.Integration_Get_Work←Records_Regular_ForEmployee ( string employeeInitials, DateTime fromDate, DateTime toDate )[inline]

Get regular work records for employee.

Parameters

employeeInitials
fromDate
toDate

7.8.2.43 List*<mTID.DOMExternal.AliasRecord>* mTID.mTID_WebService.Integration_GetAliasesByIds ( string stringOfIds )[inline]

Get aliases by ids.

Parameters

stringOfIdsA string of ids separated by space

Returns

7.8.2.44 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_Add_Activity ( string number, string name, string comment, int? levelId, bool accountLevel, bool includedInSum, bool active, int? unitId ) [inline]

Add an activity.

Parameters

number
name
comment
levelId
accountLevel
includedInSum
active
unitId

Returns

7.8.2.45 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_Add_Activity_To_Account ( string accountNo, string activityNumber ) [inline]

Associate an activity to an account.

Associate an activity created by Integration_nav2009_Add_Activity to an account.

Parameters

accountNo
activityNumber

7.8.2.46 int mTID.mTID_WebService.Integration_nav2009_Add_Alias ( string Name, string ProjectAccountNo, string groupAbbreviation, bool editable, string DimVariant )[inline]

Add Alias.

Parameters

Name
ProjectAccountNo
groupAbbreviation
editable
DimVariant

Returns

7.8.2.47 int mTID.mTID_WebService.Integration_nav2009_Add_AliasExt ( string Name, string ProjectAccountNo, string groupAbbreviation, bool editable, bool mustAddDimension, bool dynamicAlias, string DimVariant )[inline]

Integration NAV2009 Add Alias Extended to mTID.

Parameters

NameName of the alias (Required)
ProjectAccountNo(Required)
groupAbbreviation
editable
mustAddDimension
dynamicAlias
DimVariant

Returns

7.8.2.48 int mTID.mTID_WebService.Integration_nav2009_Add_Dimension ( string Name, string description, bool directRegistrationFormSkema ) [inline]

Add alias dimension.

Returns

7.8.2.49 int mTID.mTID_WebService.Integration_nav2009_Add_DimensionValue ( string DimName, string Value, string ValueName ) [inline]

Add dimension value.

Parameters

DimName
Value
ValueName
Name
description
directRegistrationFormSkema

Returns

7.8.2.50 int mTID.mTID_WebService.Integration_nav2009_Add_ProjectAccount ( string No, string Name, string Description, int Level, string Parent, string Link )[inline]

Add a project account.

Parameters

NoAccount number
Name
Description
Level
Parent
Link

Returns

7.8.2.51 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_Employee ( Employee

employee ) [inline]

Add employee or update employee properties. General usage guideline

employee

Returns

7.8.2.52 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_ProjectGroup ( string caseNumber, string caseName )[inline]

Add a project group.

  • Associate project members using Integration_nav2009_AddUpdate_ProjectMemberExt.
  • Add project manager for group using Integration_nav2009_AddUpdate_ProjectManager.

Parameters

caseNumber
caseName

Returns

7.8.2.53 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_ProjectManager ( string ProjectManager_Initial, string caseNumber ) [inline]

Add project manager to project group.

Parameters

ProjectManager_InitialInitials of employee to be assigned as project manager
caseNumberProject case number

Returns

7.8.2.54 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_ProjectMember ( string ProjectMember_Initial, string caseNumber ) [inline]

Add an employee to a project.

ProjectMember_InitialEmployee initials
caseNumberProject case number

Returns

See also

Integration_nav2009_AddUpdate_ProjectMemberExt

7.8.2.55 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_ProjectMemberExt ( string ProjectMember_Initial, string caseNumber, decimal? budget, decimal? hourRate ) [inline]

Add an employee to a project with budget and hourrate.

Parameters

ProjectMember_InitialEmployee initials (Required)
caseNumberProject case number (Required)
budgetProject budget for the project member in hours/hundredths
hourRateHourly rate in unspecified currency (DK: Timeløn)

Returns

See also

Integration_nav2009_AddUpdate_ProjectMember

7.8.2.56 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_AddUpdate_ProjectStatus ( string groupAbbreviation, string status, DateTime Startdate, string Author )[inline]

Add/Update ProjectGroup Status.

Parameters

groupAbbreviation
status
Startdate
Author

Returns

**7.**8.2.57 Employee mTID.mTID_WebService.Integration_nav2009_Get_Employee ( string initials )[inline]

Get employee data for a single employee.

Parameters

initialsInitials of employee to lookup

Returns

7.8.2.58 List*<Employee>* mTID.mTID_WebService.Integration_nav2009_Get_Employees ( )[inline] Get employee data on all employees in mTIME.

Returns

7.8.2.59 List*<Employee>* mTID.mTID_WebService.Integration_nav2009_Get_EmployeesAttachedToAUnit ( )[inline]

Get employee data for employees attached to a unit.

Returns

7.8.2.60 List*<Employee>* mTID.mTID_WebService.Integration_nav2009_Get_EmployeesTerminated ( int? year )[inline]

Get terminated employees.

Parameters

year

7.8.2.61 List*<Nav2009Controller.userGroup.Registration>* mTID.mTID_WebService.Integration_nav2009_Get_Project_←-

Registrations ( string groupAbbreviation, string caseNumber, DateTime Startdate, DateTime Enddate ) [inline]

Get work record registrations for all employees in a project.

Parameters

groupAbbreviation
caseNumber
Startdate
Enddate

Returns

7.8.2.62 List*<Nav2009Controller.userGroup.SummedRegistration>* mTID.mTID_WebService.Integration-

_nav2009_Get_Regular_Registrations_Summary ( DateTime Startdate, DateTime Enddate )

[inline]

Get Regular Registrations Summary.

Parameters

Startdate
Enddate

Returns

7.8.2.63 mTID.DOMExternal.UnitInfo mTID.mTID_WebService.Integration_nav2009_Get_UnitInfo ( string abbrev )

[inline]

Get mTID.DOMExternal.UnitInfo for a single unit.

Parameters

abbrevAbbreviation of unit to lookup

Returns

See also

Integration_nav2009_Get_UnitInfos

7.8.2.64 List*<mTID.DOMExternal.UnitInfo>* mTID.mTID_WebService.Integration_nav2009_Get_UnitInfos ( ) [inline]

Get mTID.DOMExternal.UnitInfo for all units in mTIME.

Returns

See also

Integration_nav2009_Get_UnitInfo

7.8.2.65 Nav2009Controller.userGroup_reply mTID.mTID_WebService.Integration_nav2009_Remove_Activity_From_Account ( string accountNo, string activityNumber ) [inline]

Remove an activity from account.

Parameters

accountNo
activityNumber

Returns

7.8.2.66 void mTID.mTID_WebService.Integration_nav2009_Send_Project_Registrations ( ) [inline]

Send project registrations for group.

7.8.2.67 int mTID.mTID_WebService.Integration_Remove_WorkRecord ( DateTime date, string initials, string accountNr, int? aliasId )[inline]

Remove workrecord if it already exists.

Parameters

date
initials
accountNr
aliasId

7.8.2.68 string mTID.mTID_WebService.Integration_Sagsbudgetlinje_Reset ( DateTime startDate, DateTime endDate ) [inline]

Reset budget for all users in mTID in period.

Parameters

startDate
endDate

Returns

7.8.2.69 string mTID.mTID_WebService.Integration_Sagsbudgetlinje_Save ( string brugerinit, DateTime startDate, DateTime endDate, string accountNo, decimal budgetTal )[inline]

Store a budget for a user in mTID.

Parameters

brugerinit
startDate
endDate
accountNo
budgetTal

Returns

7.8.2.70 string mTID.mTID_WebService.Integration_TimeStamp_Save ( string bruger, string dato, DateTime starttid, System.Nullable*<* DateTime > sluttid, string kommentar ) [inline]

Store an arrival/departure time in mTID.

Parameters

bruger
dato
starttid
sluttid
kommentar

7.8.2.71 bool mTID.mTID_WebService.isHoliday ( string DatoInDK, string UserName ) [inline]

Check holiday status for user on specific date.

Parameters

DatoInDK
UserName

Returns

7.8.2.72 DataSet mTID.mTID_WebService.isHoliday_period ( string month, string year, string UserName ) [inline]

Get holidays for user in specific month.

Parameters

month
year
UserName

Returns

7.8.2.73 DataSet mTID.mTID_WebService.Laas_SLS_Registrering ( string SLS_UdbetalingerID_Streng ) [inline]

Låser ‘SLS-Registrering’ i mTID.

Parameters

SLS_UdbetalingerID_Streng

Returns

7.8.2.74 int mTID.mTID_WebService.MailAgent_Run ( ) [inline]

Aktiver mailAgent run for mTID.

7.8.2.75 int mTID.mTID_WebService.MailAgent_Run_FromDate ( Nullable*<* DateTime > runDate ) [inline]

Aktiver mailAgent run for mTID.

Parameters
runDateIf null, run from today

Returns

7.8.2.76 int mTID.mTID_WebService.MailEvents ( string bruger, string brugerID, string eventID )[inline]

Aktiver mail events i mTID.

Parameters

bruger
brugerID
eventID

Returns

7.8.2.77 int mTID.mTID_WebService.mailLog_save ( bool IsMailSend, string fromAdr, string to, string cc, string subject, string body, string agentjob_koerelserID, string fejlbesked ) [inline]

Gemmer en log omkring sendt mail i mTID.

Parameters

IsMailSend
fromAdr
to
cc
subject
body
agentjob_koerelserID
fejlbesked

Returns

7.8.2.78 int mTID.mTID_WebService.RegistreringTimerGem ()

( string bruger, string dag, string maaned, string aar, string emnenr, string aktivitetnr, System.Nullable< int > enhed, System.Nullable< decimal > timer, string kommentar, System.Nullable< int > dimensionsID, System.Nullable< bool > helligdag, string aarsagvariant, System.Nullable< bool > overrideRegUdenforInterval, ref string fejlbesked, ref System.Nullable< float > fravaerstimer_retur, System.Nullable< decimal > anmodning_ID, System.Nullable< decimal > bruger_Boern_ID, System.Nullable< bool > kunOutputIkkeSelect, System.Nullable< int > mode, string sprog, System.Nullable< bool > timerHundrededele, string logonBruger, System.Nullable< bool > kgTidForNormtid, System.Nullable< bool > tjekFor24Timer, System.Nullable< bool > tjekForUlovligeEmneKombinationer, System.Nullable< bool > overrideJaSletRegistreringerPaaSekundaereEmner ) [inline]

Registration hours save.

Parameters

brugerEmployee initials
dagDay of month
maanedMonth (1-12)
aarYear
emnenrAccount number
aktivitetnrActivity number
enhedUnit abbreviation
timerHours
kommentarComment
dimensionsIDDimension ID
helligdagHoliday
aarsagvariantReason variant
overrideRegUdenforIntervalRegister outside interval
fejlbeskedError message
fravaerstimer_returAbsence hours return
anmodning_IDRequest ID
bruger_Boern_IDEmployee children ID
kunOutputIkkeSelectOutput but no select
modeMode
sprogLanguage
timerHundrededeleSpecify minuttes in 1/100 (true) or 1/60 (false)
logonBrugerLogon user
kgTidForNormtidClock in/ourt for norm hours
tjekFor24Timer24 hours rule check
tjekForUlovligeEmneKombinationerIllegal accoutn combination rule check
overrideJaSletRegistreringerPaaSekundaereEmneroverride setting: delete registrations on secondary accounts

Returns

See also

RegistreringTimerGem2

7.8.2.79 Nav2009Controller.userGroup_reply mTID.mTID_WebService.RegistreringTimerGem2 ( )

( string bruger, string dag, string maaned, string aar, string emnenr, string aktivitetnr, System.Nullable< int > enhed, System.Nullable< decimal > timer, string kommentar, System.Nullable< int > dimensionsID, System.Nullable< bool > helligdag, string aarsagvariant, System.Nullable< bool > overrideRegUdenforInterval, ref string fejlbesked, ref System.Nullable< float > fravaerstimer_retur, System.Nullable< decimal > anmodning_ID, System.Nullable< decimal > bruger_Boern_ID, System.Nullable< bool > kunOutputIkkeSelect, System.Nullable< int > mode, string sprog, bool timerHundrededele, string logonBruger, System.Nullable< bool > kgTidForNormtid, System.Nullable< bool > tjekFor24Timer, System.Nullable< bool > tjekForUlovligeEmneKombinationer, System.Nullable< bool > overrideJaSletRegistreringerPaaSekundaereEmner )[inline]

Registration hours save with error messages.

Parameters

brugerEmployee initials
dagDay of month
maanedMonth (1-12)
aarYear
emnenrAccount number
aktivitetnrActivity number
enhedUnit abbreviation
timerHours
kommentarComment
dimensionsIDDimension ID
helligdagHoliday
aarsagvariantReason variant
overrideRegUdenforIntervalRegister outside interval
fejlbeskedError message
fravaerstimer_returAbsence hours return
anmodning_IDRequest ID
bruger_Boern_IDEmployee children ID
kunOutputIkkeSelectOutput but no select
modeMode
sprogLanguage
timerHundrededeleSpecify minuttes in 1/100 (true) or 1/60 (false)
logonBrugerLogon user
kgTidForNormtidClock in/ourt for norm hours
tjekFor24Timer24 hours rule check
tjekForUlovligeEmneKombinationerIllegal accoutn combination rule check
overrideJaSletRegistreringerPaaSekundaereEmneroverride setting: delete registrations on secondary accounts

Returns

7.8.2.80 bool mTID.mTID_WebService.UpdateAdInitials ( string adInitials, string initials, decimal xdb_ID ) [inline]

Update AD initials.

Parameters

adInitials
initials
xdb_ID

Returns

7.8.2.81 WSReply mTID.mTID_WebService.UpdateSystemSetting ( string name, string value )[inline]

Update system setting.

Parameters

name
value

Returns

7.8.2.82 string mTID.mTID_WebService.Versionsindstillinger_Get ( string FeltNavn, string Logonbruger ) [inline]

Henter en versions indstilling i mTID.

Parameters

FeltNavn
Logonbruger

Returns

The documentation for this class was generated from the following file:

• Application/mTID/mTID/mTID/mTID_WebService.asmx.cs

7.9 mTID.DOMExternal.NormWeek Class Reference

DK: Normuge

Properties

  • decimal Numerator [get, set]

DK: Tæller

  • decimal RequestedNumerator [get, set]

Used when reading only. DK: Ønskede tæller

  • decimal Denominator [get, set]

DK: Nævner

  • DateTime StartDate [get, set]

Start date for norm week. DK: Startdato for normuge.

7.9.1 Detailed Description

DK: Normuge

7.9.2 Property Documentation

7.9.2.1 decimal mTID.DOMExternal.NormWeek.Denominator[get], [set]

DK: Nævner

7.9.2.2 decimal mTID.DOMExternal.NormWeek.Numerator [get], [set]

DK: Tæller

7.9.2.3 decimal mTID.DOMExternal.NormWeek.RequestedNumerator[get], [set]

Used when reading only. DK: Ønskede tæller

7.9.2.4 DateTime mTID.DOMExternal.NormWeek.StartDate[get], [set]

Start date for norm week. DK: Startdato for normuge.

Approved summary conflicts

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.10 mTID.DOMExternal.PersonnelManager Class Reference

DK: Personaleleder.

Properties

  • int ID [get, set]

mTID employee ID.

  • string Initials [get, set]

mTID Initials. DK: Initialer for personaleleder. (Max length: 25).

  • DateTime StartDate [get, set]

Start date for personnel manager. DK: Startdato for personaleleder.

7.10.1 Detailed Description

DK: Personaleleder.

7.10.2 Property Documentation

7.10.2.1 int mTID.DOMExternal.PersonnelManager.ID[get], [set]

mTID employee ID.

7.10.2.2 string mTID.DOMExternal.PersonnelManager.Initials [get], [set]

mTID Initials. DK: Initialer for personaleleder. (Max length: 25).

7.10.2.3 DateTime mTID.DOMExternal.PersonnelManager.StartDate[get], [set]

Start date for personnel manager. DK: Startdato for personaleleder.

Must always be first day of month.

Approved summary conflicts

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.11 mTID.DOMExternal.SyncReply Class Reference

Reply returned when doing a sync.

Properties

  • DateTime SyncIdentifier [get, set]

A unique id of the sync performed.

  • List*<* ClockInOutRecord > ClockInOutRecords [get, set]

A list of changes in clock in/outs since latest confirmed sync.

7.11.1 Detailed Description

Reply returned when doing a sync.

7.11.2 Property Documentation

7.11.2.1 List*<ClockInOutRecord>* mTID.DOMExternal.SyncReply.ClockInOutRecords[get], [set]

A list of changes in clock in/outs since latest confirmed sync.

Deleted records are identified by 00:00-00:00 clock in/out timestamps.

7.11.2.2 DateTime mTID.DOMExternal.SyncReply.SyncIdentifier[get], [set]

A unique id of the sync performed.

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/ClockInOutRecord.cs

7.12 mTID.DOMExternal.Unit Class Reference

DK: Enhed.

Public Member Functions

  • Unit ()

TODO: rename to DOMExternal.UnitHistoryPeriod. But existing integrations are working with this Unit class, so we cannot rename right away.

  • Unit (mTIDDomain.DomainObjects.Unit unit)

Properties

  • int ID [get, set]

mTID unit ID.

  • string Abbrev [get, set]

mTID abbreviated unit name. DK: Forkortelse for enhed. (Max length: 10).

  • DateTime StartDate [get, set]

Start date for unit. DK: Startdato for enhed.

7.12.1 Detailed Description

DK: Enhed.

7.12.2 Property Documentation

7.12.2.1 string mTID.DOMExternal.Unit.Abbrev [get], [set]

mTID abbreviated unit name. DK: Forkortelse for enhed. (Max length: 10).

7.12.2.2 int mTID.DOMExternal.Unit.ID[get], [set]

mTID unit ID.

7.12.2.3 DateTime mTID.DOMExternal.Unit.StartDate[get], [set]

Start date for unit. DK: Startdato for enhed.

Approved summary conflicts

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/Employee.cs

7.13 mTID.DOMExternal.UnitInfo Class Reference

Information on a single unit.

Public Member Functions

UnitInfo (mTIDDomain.DomainObjects.Unit domUnit)

Properties

  • int ID [get, set]

mTID unit ID.

  • string Name [get, set]

Full name of unit.

  • string Abbrev [get, set]

mTID abbreviated unit name. DK: Forkortelse for enhed. (Max length: 10).

  • string ParentAbbrev [get, set]

Parent unit abbreviation. DK: Morenhed forkortelse.

  • string ManagerInitials [get, set]

Unit manager initials. DK: Enhedschef initialer.

7.13.1 Detailed Description

Information on a single unit.

7.13.2 Property Documentation

7.13.2.1 string mTID.DOMExternal.UnitInfo.Abbrev[get], [set]

mTID abbreviated unit name. DK: Forkortelse for enhed. (Max length: 10).

7.13.2.2 int mTID.DOMExternal.UnitInfo.ID[get], [set]

mTID unit ID.

7.13.2.3 string mTID.DOMExternal.UnitInfo.ManagerInitials[get], [set]

Unit manager initials. DK: Enhedschef initialer.

7.13.2.4 string mTID.DOMExternal.UnitInfo.Name [get], [set]

Full name of unit.

7.13.2.5 string mTID.DOMExternal.UnitInfo.ParentAbbrev [get], [set]

Parent unit abbreviation. DK: Morenhed forkortelse.

The documentation for this class was generated from the following file:

  • Application/mTIDData/mTIDDomain/DOMExternal/UnitInfo.cs

7.14 mTID.DOMExternal.WorkRecord Class Reference

DK: Medarbejder time registreringer

Public Member Functions

  • WorkRecord (int id, string groupAbbreviation, string accountNr, string Initials, DateTime date, string hours, string activity)
  • WorkRecord (mTIDDomain.DomainObjects.WorkRecord workRecord)

Create external work record from internal DOM work record.

Properties

  • int ID [get, set]
  • string GroupAbbreviation [get, set]
  • string AccountAbbrev [get, set]
  • string Initials [get, set] • DateTime Date [get, set] • string Hours [get, set]

Formatted as HH:mm (hours:minutes)

  • string Activity [get, set] • bool Approved [get, set]
  • DateTime UpdateDate [get, set]
  • string DimVariant [get, set]
  • string RegisteredBy [get, set]

7.14.1 Detailed Description

DK: Medarbejder time registreringer

7.14.2 Constructor & Destructor Documentation

7.14.2.1 mTID.DOMExternal.WorkRecord.WorkRecord ( mTIDDomain.DomainObjects.WorkRecord workRecord )[inline]

Create external work record from internal DOM work record.

Parameters

workRecord

7.14.3 Property Documentation

7.14.3.1 string mTID.DOMExternal.WorkRecord.Hours[get], [set]

Formatted as HH:mm (hours:minutes)

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/WorkRecord.cs

7.15 mTID.DOMExternal.WSReply Class Reference

Standard reply from mTIME web services.

Properties

  • bool Success [get, set]

Indicate whether the operation succeeded or not.

  • string Msg [get, set]

Starts with “OK” if operation succeeded.

7.15.1 Detailed Description

Standard reply from mTIME web services.

7.15.2 Property Documentation

7.15.2.1 string mTID.DOMExternal.WSReply.Msg [get], [set]

Starts with “OK” if operation succeeded.

7.15.2.2 bool mTID.DOMExternal.WSReply.Success [get], [set]

Indicate whether the operation succeeded or not.

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/WSReply.cs

7.16 mTID.DOMExternal.WSReplyId Class Reference

Reply from mTIME web services containing an id response.

Properties

  • bool Success [get, set]

Indicate whether the operation succeeded or not.

  • string Msg [get, set]

Starts with “OK” if operation succeeded.

  • string Id [get, set]

The returned id.

7.16.1 Detailed Description

Reply from mTIME web services containing an id response.

7.16.2 Property Documentation

7.16.2.1 string mTID.DOMExternal.WSReplyId.Id[get], [set]

The returned id.

7.16.2.2 string mTID.DOMExternal.WSReplyId.Msg[get], [set]

Starts with “OK” if operation succeeded.

7.16.2.3 bool mTID.DOMExternal.WSReplyId.Success[get], [set]

Indicate whether the operation succeeded or not.

The documentation for this class was generated from the following file:

• Application/mTIDData/mTIDDomain/DOMExternal/WSReplyId.cs


Source: Confluence | Page ID: 464584705