TimeService Datatypes
Hour
| Property | Type | Description |
| Id | long | |
| TypeOfWorkId | int | |
| StartTime | DateTime | |
| StopTime | DateTime | |
| TotalHours | decimal | |
| TotalHoursInvoice | decimal | |
| ContactId | int | |
| ProjectId | int | |
| Description | string | |
| Locked | TriState | |
| Approved | TriState | |
| ApprovedBy | int | |
| ProjectTaskId | int | |
| NeedApproval | bool | |
| Costs | Cost[] | |
| SalaryTypeId | int | Use GetSalaryTypes to get a list of possible Ids |
| OrderId | int | ReadOnly |
HourSearch
| Property | Type | Description |
| Status | HourStatus | |
| TypeOfWorkId | int | |
| ContactId | int | |
| StartTime | DateTime | |
| StopTime | DateTime | |
| ChangedAfter | DateTime | |
| RegisteredAfter | DateTime | |
| ProjectId | int | |
ProjectDataSearch
| Property | Type | Description |
| ProjectId | int | |
| ContactId | int | |
| ProjectOnly | bool | |
WorkTypeSearch
| Property | Type | Description |
| Active | TriState | |
| ProjectId | int | |
Cost
| Property | Type | Description |
| Id | int | |
| DateRegistered | DateTime? | |
| ProductId | int? | |
| SupplierCompanyId | int? | |
| Quantity | double? | |
| InPrice | Decimal? | |
| Description | String | |
| ProjectId | Int32? | |
| Price | Decimal | |
| CustomerId | Int32 | |
CostSearchParameters
| Property | Type | Description |
| ProjectId | Int32 | |
| ContactId | Int32 | |
ApprovalSearchParameters
| Property | Type | Description |
| ProjectId | Int32 | |
| ContactId | Int32 | |