mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
79 lines
4.0 KiB
JSON
79 lines
4.0 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"usage",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "FeedPollChoice - Data API",
|
||
"description": "Shows the choices for a poll posted in the feed. This object is available in API version 29.0 and later.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description"
|
||
],
|
||
"fields": {
|
||
"ChoiceBody": {
|
||
"type": "textarea",
|
||
"properties": "Group",
|
||
"description": "A choice in the poll."
|
||
},
|
||
"FeedItemId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "ID of the feed item for the poll."
|
||
},
|
||
"Position": {
|
||
"type": "int",
|
||
"properties": "Group, Sort",
|
||
"description": "Shows the position of the poll choice."
|
||
}
|
||
},
|
||
"special_access_rules": "Only users with this permission can delete items in unlisted groups.\n\nTo delete feed items they didn’t create, users must have one of these permissions:\n\nModify All Data\n\nModify All Records on the parent object, for example on Account for a poll on an\n AccountFeed\n\nModerate Chatter\n\nUsers with the Moderate Chatter permission can delete only the feed items and\n comments they can see.\n\nOnly users with this permission can delete items in\n unlisted groups.",
|
||
"usage": "Use this object to query all of the choices associated with a particular poll. To view how people voted on the poll, see the FeedPollVote object.\n\nUse this object to query all of the choices\nassociated with a particular poll. To view how people voted on the\npoll, see the FeedPollVote object.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"FeedPollChoice\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ChoiceBody\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"FeedItemId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"FeedPollVotes\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"Position\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n```",
|
||
"field_reference": {
|
||
"ChoiceBody": {
|
||
"field_label": "ChoiceBody",
|
||
"type": "textarea",
|
||
"length": "100"
|
||
},
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"FeedItemId": {
|
||
"field_label": "Feed Item ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"Id": {
|
||
"field_label": "Feed Poll Choice ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsDeleted": {
|
||
"field_label": "Deleted",
|
||
"type": "boolean"
|
||
},
|
||
"Position": {
|
||
"field_label": "Position",
|
||
"type": "int",
|
||
"digits": "9"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length",
|
||
"digits"
|
||
]
|
||
} |