---
schema_version: "1"
id: b6bbbca2f115eea741ac738a8c30df33d9a5d181c6f47f4e4c6a98143c02828a
title: AcceptedEventRelation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_acceptedeventrelation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_acceptedeventrelation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ad8b52cf7db71dbb20964c17afe0458d279aee7fe2edd3076c0bc0157f9d01a8
description: Represents event participants (invitees or attendees) with the status Accepted for a given event.
---
# AcceptedEventRelation

Represents event participants (invitees or attendees) with the status Accepted for a given event.

This object is available in API versions 29.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Fields

| Field Name | Details |
| --- | --- |
| EventId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

Indicates the ID of the event.

This is a relationship field.

Relationship Name

Event

Relationship Type

Lookup

Refers To

Event



 |
| RelationId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

Indicates the ID of the invitee.

This is a polymorphic relationship field.

Relationship Name

Relation

Relationship Type

Lookup

Refers To

Calendar, Contact, Lead, User



 |
| RespondedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Indicates the most recent date and time when the invitee accepted an invitation to the event.



 |
| Response | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Indicates the content of the response field. Label is Comment.



 |
| Type | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Indicates whether the invitee is a user, lead or contact, or resource.



 |

## Usage

Query invitees who have accepted an invitation to an event

SELECT eventId, type, response FROM AcceptedEventRelation WHERE eventid='00UTD000000ZH5LA'

#### See Also

- [DeclinedEventRelation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_declinedeventrelation.htm "Represents event participants (invitees or attendees) with the status Declined for a given event. This object is available in API versions 29.0 and later.")
- [UndecidedEventRelation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_undecidedeventrelation.htm "Represents event participants (invitees or attendees) with the status Not Responded for a given event. This object is available in API versions 29.0 and later.")