---
schema_version: "1"
id: f1ecb849ead33cbb5b8fe5f698e43f8d5869ece8f9a84eb67cfbcc99c5e19079
title: ShiftStatus
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_shiftstatus.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_shiftstatus.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2290f360b8778aa6a48bcdda5c7d7da299e269fac72e0ae1591cfdb400ff810b
description: Represents a shift, such as Tentative, Published, or Confirmed. Available in API versions 46.0 and later.
---
# ShiftStatus

Represents a shift, such as Tentative, Published, or Confirmed. Available in API versions 46.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

Field Service must be enabled.

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, idLookup, Sort

Description

Uniquely identifies a picklist value so it can be retrieved without using an ID or master label.



 |
| IsDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether this is the default shift status value (true) or not (false) in the picklist. Only one value can be the default value.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Master label for this shift status value. This display value is the internal label that does not get translated. Limit: 255 characters.



 |
| SortOrder | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number used to sort this value in the shift status picklist. These numbers are not guaranteed to be sequential, as some previous shift status values might have been deleted.



 |
| StatusCode | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Describes the status of the shift using static values. Possible values are:

- Tentative
- Published
- Confirmed





 |

## Usage

Scheduling and dispatching service resources using shift data is not supported in API version 46.0.