{ "sections": [ "title", "description", "fields", "special_access_rules", "wsdl_segment", "field_reference" ], "title": "AccountPartner - Data API", "description": "This object represents a partner relationship between two Account records. An AccountPartner record is created automatically when a Partner record is created for a partner relationship between two accounts. An AccountPartner record is also created automatically between an account and an opportunity’s account when a Partner record is created between an account and an opportunity.", "fields_columns": [ "type", "properties", "description", "relationship_name", "relationship_type", "refers_to" ], "fields": { "AccountFromId": { "type": "reference", "properties": "Create, Filter, Group, Sort", "description": "ID of the main Account in the partner relationship. This is a relationship field.", "relationship_name": "AccountFrom", "relationship_type": "Lookup", "refers_to": "Account" }, "AccountToId": { "type": "reference", "properties": "Create, Filter, Group, Sort", "description": "ID of the partner Account in the partner relationship. This is a relationship field.", "relationship_name": "AccountTo", "relationship_type": "Lookup", "refers_to": "Account" }, "IsPrimary": { "type": "boolean", "properties": "Create, Defaulted on create, Filter, Group, Sort", "description": "Indicates whether the AccountPartner is the primary partner of an opportunity (true). When there are no corresponding Opportunity Partner records, the value is false." }, "OpportunityId": { "type": "reference", "properties": "Create, Filter, Group, Nillable, Sort", "description": "ID of the opportunity in a partner relationship. This is a relationship field.", "relationship_name": "Opportunity", "relationship_type": "Lookup", "refers_to": "Opportunity" }, "ReversePartnerId": { "type": "reference", "properties": "Filter, Group, Nillable, Sort", "description": "ID of the reciprocal AccountPartner record in a partner relationship." }, "Role": { "type": "picklist", "properties": "Create, Filter, Group, Nillable, Sort", "description": "The UserRole that the partner Account has on the main Account. For example, Consultant or Distributor." } }, "special_access_rules": "Customer Portal users can't access this object.", "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n```", "field_reference": { "AccountFromId": { "field_label": "Account ID", "type": "reference", "length": "18" }, "AccountToId": { "field_label": "Account ID", "type": "reference", "length": "18" }, "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "Id": { "field_label": "Account Partner ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "IsPrimary": { "field_label": "Primary", "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" }, "ReversePartnerId": { "field_label": "Reverse Partner ID", "type": "reference", "length": "18" }, "Role": { "field_label": "Role", "type": "picklist", "length": "255" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" } }, "field_reference_columns": [ "field_label", "type", "length" ] }