afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedPollVote.json

76 lines
3.0 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "FeedPollVote - Data API",
"description": "Shows how users voted on a poll posted in the feed. This object is available in API version 29.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"ChoiceId": {
"type": "reference",
"properties": "Filter, Group",
"description": "Indicates which choice a user selected on a poll posted in a feed. This is a relationship field.",
"relationship_name": "Choice",
"relationship_type": "Lookup",
"refers_to": "FeedPollChoice"
},
"FeedItemId": {
"type": "reference",
"properties": "Filter, Group, Sort",
"description": "ID of the feed item for the poll."
}
},
"usage": "Use this object to query how users voted on a particular poll.\n\nUse this object to query how users voted\non a particular poll.",
"wsdl_segment": "```xml\n<complexType name=\"FeedPollVote\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Choice\" nillable=\"true\" minOccurs=\"0\" type=\"ens:FeedPollChoice\"/>\n <element name=\"ChoiceId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\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=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\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```",
"field_reference": {
"ChoiceId": {
"field_label": "Feed Poll Choice ID",
"type": "reference",
"length": "18"
},
"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 Vote ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}