TimePunch Custom Field Service
CustomFieldContentDto
This class contains the user-defined content of the custom fields.
Datatype | Name | Description |
---|---|---|
Guid | Id | Unique ID of the custom field content |
Guid | ParentId | Id of the source data (e.g. employee id) |
Guid | CustomFieldId | Id of the custom field template |
CustomFieldDto
This class contains the technical definition of the customer-specific field.
Datatype | Name | Description |
---|---|---|
Guid | Id | Unique ID of the custom field content |
SourceData | RelatedTo | Type of Source data to that the custom field belongs (Employee, Project, Task, Customer, TimeEntry, Team, Department, Branch, MonthlySummary) |
String | Group | Grouping criteria for custom fields |
String | Name | Display name of the custom field |
String | PropertyName | Technical property name of the custom field, used for accessing the field via reporting service etc. |
CustomFieldType | FieldType | Field type of the custom field (Text, Integer, Decimal, SingleSelection, MultiSelection, Date, Time, DateTime, TimeSpan, Boolean) |
Int | Sorting | Sorting value to define the position of the custom field |
String | DefaultValue | Default value of the custom field, if no content has been defined by the user |
Bool | IsDeleted | True, if the custom field has been removed |
Dictionary\<string,string> | ListValues | Key/Value paris for a single or multiple selection field |
String | Unit | Displayed unit of the custom field |
String | AccessPermission | Permission that is needed to get the custom field displayed to the user |
String | ManagePermission | Permission that is needed to manage the content of the custom field. |