---
schema_version: "1"
id: 10f4c4e77ab68eeffa9645b4ff43bbae340aa8af5ad5d94e23137c6eba1e5779
title: WorkCapacityAvailability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workcapacityavailability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workcapacityavailability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: bbea3be48533a1d3e0468fcc5b364d10d1fe936da4916abd87d64a7fa89caae9
description: Represents the available work capacity for a specific time and service territory. This object is available in API version 59.0 and later.
---
# WorkCapacityAvailability

Represents the available work capacity for a specific time and service territory. This object is available in API version 59.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| AvailCapacityHours | 
Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

The number of available capacity in hours in the time frame the user defined for a service territory.



 |
| AvailCapacityMinutes | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

The number of available capacity in minutes in the time frame the user defined for a service territory.



 |
| EndDate | 

Type

date

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The end date of the total available capacity.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate isn’t null, the user accessed this record or list view indirectly.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the owner of this object.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| ServiceTerritoryId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the service territory of the work capacity availability calculation.

This field is a relationship field.

Relationship Name

ServiceTerritory

Relationship Type

Lookup

Refers To

ServiceTerritory



 |
| StartDate | 

Type

date

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The start date of the total available capacity.



 |
| TimePeriod | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The time period the user selected when creating the work capacity limit. The value is copied from the TimePeriod field of the WorkCapacityLimit object.

Possible values are:

- Day

The default value is Day.



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[WorkCapacityAvailabilityFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[WorkCapacityAvailabilityShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.