Newer Version Available

This content describes an older version of this product. View Latest

SurveySubject

Represents a relationship between a survey and another object, such as an account or a case.

Supported Calls

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

Fields

Field Name Details
LastReferencedDate
Type
datetime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the SurveySubject record was last referenced by another object.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed the SurveySubject record.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the SurveySubject record.
ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Unique identifier of the SurveyInvitation object or SurveyResponse object that is associated with this survey-object relationship.
SubjectEntityType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Object that the survey is associated with. Possible values include:
  • Account
  • CareProgram
  • Case
  • Contact
  • Event
  • Lead
  • Opportunity
  • Order
  • Product2
  • RetailStore
  • ServiceAppointment
  • Solution
  • Task
  • User
  • Visit
  • WorkOrder
  • Custom Objects
SubjectId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the object that’s associated with the survey.
SurveyId
Type
reference
Properties
Filter, Group, Sort
Description
Unique identifier of the survey that is associated with the record that’s represented by SubjectId.
SurveyInvitationId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier of the survey invitation that's associated with another object.
SurveyResponseId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier of the survey response that's associated with another object.