{ "sections": [ "title", "description", "fields", "usage", "wsdl_segment", "field_reference" ], "title": "DeclinedEventRelation - Data API", "description": "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.", "fields_columns": [ "type", "properties", "description", "relationship_name", "relationship_type", "refers_to" ], "fields": { "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 declined 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 declined an invitation to an event**: SELECT eventId, type, response FROM DeclinedEventRelation WHERE eventid='00UTD000000ZH5LA'", "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n```", "field_reference": { "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "EventId": { "field_label": "Event ID", "type": "reference", "length": "18" }, "Id": { "field_label": "Event Relation ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "RelationId": { "field_label": "Relation ID", "type": "reference", "length": "18" }, "RespondedDate": { "field_label": "Response Date", "type": "datetime" }, "Response": { "field_label": "Response", "type": "string", "length": "255" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" }, "Type": { "field_label": "Type", "type": "string", "length": "50" } }, "field_reference_columns": [ "field_label", "type", "length" ] }