{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "sub_types", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "TimeSheetTemplate - Metadata API", "description": "Represents a template for creating time sheets in Field Service. This type extends the Metadata metadata type and inherits its fullName field.", "file_information": ".timeSheetTemplate", "directory_location": "timeSheetTemplates", "fields_columns": [ "type", "description" ], "fields": { "active": { "type": "boolean", "description": "Indicates whether the time sheet template is active (true) or not (false).", "required": true }, "description": { "type": "string", "description": "The time sheet template's description." }, "frequency": { "type": "TimeSheetFrequency (enumeration of type string)", "description": "Defines the frequency of the time sheet creation period. One of the following values: Daily Weekly EveryTwoWeeks TwiceAMonth Monthly", "required": true }, "masterLabel": { "type": "string", "description": "The name of the time sheet template.", "required": true }, "startDate": { "type": "date", "description": "The date when the time sheet takes effect.", "required": true }, "timeSheetTemplateAssignments": { "type": "TimeSheetTemplateAssignment", "description": "A list of profiles that the template is assigned to." }, "workWeekEndDay": { "type": "DaysOfWeek (enumeration of type string)", "description": "The end day of the template's work week. One of the following values: Monday Tuesday Wednesday Thursday Friday Saturday Sunday", "required": true }, "workWeekStartDay": { "type": "DaysOfWeek (enumeration of type string)", "description": "The start day of the template's work week. One of the following values: Monday Tuesday Wednesday Thursday Friday Saturday Sunday", "required": true } }, "sub_types": { "TimeSheetTemplateAssignment": { "assignedTo": { "type": "string", "description": "The IDs of the user profiles that a time sheet template is assigned to." } } }, "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n\n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n```", "declarative_metadata_sample_definition": [ { "description": "The following is an example of a TimeSheetTemplate file.", "code": "\n\n true\n Time Sheet Template description\n Daily\n label\n 2018-10-18\n \n admin\n \n \n standard\n \n Tuesday\n Monday\n" } ] }