Newer Version Available

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

PublicComplaint

Represents the complaints submitted by public users. This object is available in API version 49.0 and later.

Supported Calls

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

Fields

Field Details
AccountId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the account associated with this complaint.
BusinessAddress
Type
textarea
Properties
Create, Filter, Nillable, Sort, Update
Description
Address of the business.
BusinessName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Name of the business
ComplaintCaseId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
This field is deprecated as of API version 49.0.
ComplaintSubType
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Subtype of the complaint.
Possible values are:
  • Fire Safety
ComplaintType
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Type of the complaint.
Possible values are:
  • Safety
Description
Type
textarea
Properties
Create, Filter, Nillable, Sort, Update
Description
Description of the complaint.
Email
Type
email
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Email of the complainant.
FirstName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
First name of the complainant.
IncidentDate
Type
date
Properties
Create, Filter, Group, Sort, Update
Description
Date of the incident.
LastName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Last name of the complainant.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user referenced this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user viewed this record.
MobileNumber
Type
phone
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Mobile number of the complainant.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of the complaint.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the owner the complaint belongs to.
Priority
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Priority of the complaint.
Possible values are:
  • Critical
  • High
  • Low
  • Medium
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Status of the complaint.
Possible values are:
  • In Review
  • Resolved
  • Submitted

Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

PublicComplaintOwnerSharingRule
Sharing rules are available for the object.