---
schema_version: "1"
id: fd1e0042e9fe72c3ecc971cc9faf35517018e7ea85f54f00bf5ecbeb4c4da79f
title: ServiceRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_servicerequest.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_servicerequest.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 487cf9a47600c54b86b6a16e0d577edbdd222406a987f3ace52223d86bcfe295
description: Represents a formal request from a user for something to be provided, such as access, information, hardware, or software. This object manages the lifecycle of these tasks, which are typically low-risk, and can be fulfilled through a defined, repeatable process. For example, a Service Request can be created for an employee requesting a new laptop or a student needing a transcript. This object is available in API version 66.0 and later.
---
# ServiceRequest

Represents a formal request from a user for something to be provided, such as access, information, hardware, or software. This object manages the lifecycle of these tasks, which are typically low-risk, and can be fulfilled through a defined, repeatable process. For example, a Service Request can be created for an employee requesting a new laptop or a student needing a transcript. This object is available in API version 66.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| AssignedGroupId | 
Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the user group assigned to the service request.

This field is a relationship field.

Relationship Name

AssignedGroup

Refers To

Group



 |
| AssignedUserId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the user assigned to the service request.

This field is a relationship field.

Relationship Name

AssignedUser

Refers To

User



 |
| BusinessHoursId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID for the business hours used to determine the SLA calculation.

This field is a relationship field.

Relationship Name

BusinessHours

Refers To

BusinessHours



 |
| ClosedDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The date when the service request was closed.



 |
| Description | 

Type

textarea

Properties

Create, Nillable, Update

Description

A detailed description of the service request.



 |
| IsClosed | 

Type

boolean

Properties

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

Description

Indicates if the service request is closed (true) or not (false). The default value is false.

The default value is false.



 |
| IsPaused | 

Type

boolean

Properties

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

Description

Indicates if the SLA timer is paused (true) or not (false). The default value is false.

The default value is false.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record



 |
| MilestoneStatus | 

Type

string

Properties

Group, Nillable, Sort

Description

Information about the milestone the service request reached.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the service request record.



 |
| OwnerId | 

Type

reference

Properties

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

Description

ID of the user who created the record.

This field is a polymorphic relationship field.

Relationship Name

Owner

Refers To

Group, User



 |
| ParentServiceRequestId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the parent request that this service request belongs to.

This field is a relationship field.

Relationship Name

ParentServiceRequest

Refers To

ServiceRequest



 |
| Priority | 

Type

picklist

Properties

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

Description

Priority of a service request.

Valid values are:

- High
- Medium
- Low

The default value is Low.



 |
| ReportedById | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the person who reported the service request.

This field is a polymorphic relationship field.

Relationship Name

ReportedBy

Refers To

Account, User



 |
| ResolutionDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The date and time when the service request was resolved.



 |
| ResolutionSummary | 

Type

textarea

Properties

Create, Nillable, Update

Description

Resolution summary for the service request.



 |
| SlaEndDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the SLA timer ended.



 |
| SlaPauseDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the SLA timer was paused.



 |
| SlaStartDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The date and time when the SLA timer started.



 |
| Status | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Specifies the status of a service request.



 |
| StatusCode | 

Type

picklist

Properties

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

Description

The code that displays the status of the service request lifecycle.

Valid values are:

- Closed
- Canceled
- InProgress
- New
- OnHold
- Resolved

The default value is New.



 |
| Subject | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

A short description of the service request.



 |

## 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.

[ServiceRequestFeed](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.

[ServiceRequestHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ServiceRequestShare](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.