---
schema_version: "1"
id: 51dd08b7dee333f83a1a1ca06cac31b8b4ecdb01c0fb04be2a2f6509c3f3863d
title: TimeSheetTemplateAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_timesheettemplateassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_timesheettemplateassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9c20306f0affae2ed65995c0d599705ffb9d5deb0ab16b0e7400862477c6c0fd
description: Represents the assignment of a time sheet template to a profile. Available in API version 48.0 and later.
---
# TimeSheetTemplateAssignment

Represents the assignment of a time sheet template to a profile. Available in API version 48.0 and later.

## Supported SOAP Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Supported REST HTTP Methods

GET

## Limitations

[SOQL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_soql_limits.htm "Some Tooling API objects have SOQL limitations. These limitations apply to any Metadata Catalog query, which applies to all Custom Metadata Types and Metadata Catalog entities, not only the ones explicitly listed.")

[SOSL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_sosl_limits.htm "Two Tooling API objects, EntityDefinition and FieldDefinition, have some SOSL limitations. ExternalString and MetadataComponentDependency (Beta) don’t support SOSL searches.")

## Special Access Rules

Field Service must be enabled to access TimeSheetTemplateAssignment. Users must have the Customize Application and Time Sheet Template permissions.

## Fields

| Field | Details |
| --- | --- |
| AssignedToId | 
Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Unique, Update

Description

The ID of the user profile assigned to the time sheet template.



 |
| TimeSheetTemplateId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the associated time sheet template.



 |