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

111 lines
4.5 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "OpportunityCompetitor - Data API",
"description": "Represents a competitor on an Opportunity.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"CompetitorName": {
"type": "combobox",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "Name of the competitor."
},
"IsDeleted": {
"type": "boolean",
"properties": "Defaulted on create, Filter",
"description": "Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted."
},
"OpportunityId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "ID of the associated Opportunity. This is a relationship field.",
"relationship_name": "Opportunity",
"relationship_type": "Lookup",
"refers_to": "Opportunity",
"required": true
},
"Strengths": {
"type": "string",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "Description of the competitors strengths. Limit: 1,000 characters."
},
"Weaknesses": {
"type": "string",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "Description of the competitors weaknesses. Limit: 1,000 characters."
}
},
"usage": "Use this object to manage competitors on an Opportunity, associating multiple competitors on a opportunity and specifying the strengths and weaknesses of each competitor.",
"wsdl_segment": "```xml\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<complexType name=\"OpportunityCompetitor\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"CompetitorName\" 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=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Opportunity\" nillable=\"true\" minOccurs=\"0\" type=\"ens:Opportunity\"/>\n <element name=\"OpportunityId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Strengths\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Weaknesses\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
"field_reference": {
"CompetitorName": {
"field_label": "Competitor Name",
"type": "combobox",
"length": "40"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"Id": {
"field_label": "Opportunity: Competitor 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"
},
"OpportunityId": {
"field_label": "Opportunity ID",
"type": "reference",
"length": "18"
},
"Strengths": {
"field_label": "Strengths",
"type": "string",
"length": "1000"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
},
"Weaknesses": {
"field_label": "Weaknesses",
"type": "string",
"length": "1000"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}