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

155 lines
5.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"field_reference"
],
"title": "Territory2 - Data API",
"description": "Represents a sales territory. Available if Sales Territories has been enabled.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"AccountAccessLevel": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Represents the default account record access levels for users that are assigned to the territory. Values are: Read Only Read/Write Owner"
},
"CaseAccessLevel": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Represents the default case record access levels for users that are assigned to the territory. Values are: Private Read Only Read/Write"
},
"ContactAccessLevel": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "Represents the default contact record access levels for users that are assigned to the territory. Values are: Private Read Only Read/Write"
},
"Description": {
"type": "string",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "The description of the territory. The field label in the user interface is Territory Description."
},
"DeveloperName": {
"type": "string",
"properties": "Create, Filter, Group, Sort, Update",
"description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. The field label in the user interface is Territory Name.When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record.",
"required": true
},
"ForecastUserId": {
"type": "reference",
"properties": "Filter, Group, Nillable, Sort, Update",
"description": "Unique identifier of a territorys forecast manager. To select a ForecastUserId, select someone in the list of users assigned to the territory."
},
"Name": {
"type": "string",
"properties": "Create, Filter, Group, Sort, Update",
"description": "The name of the territory. The field label in the user interface is Territory Label."
},
"OpportunityAccessLevel": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Represents the default opportunity record access levels for users that are assigned to the territory. Values are: Private Read Only Read/Write"
},
"ParentTerritory2Id": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the territorys parent territory (if any). If the territory has no parent territory, this value is null."
},
"Territory2ModelId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "The ID of the territory model that the territory belongs to."
},
"Territory2TypeId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort, Update",
"description": "The ID of the territory type that the territory belongs to."
}
},
"special_access_rules": "Standard and partner users can access this object. If a territory model is in Active state, any standard or partner user can view that model, including its territories and assignment rules. For territories in an active model, any standard or partner user can view assigned records and assigned users subject to your Salesforce sharing settings. Users cannot view territory models in other states (such as Planning or Archived).",
"field_reference": {
"AccountAccessLevel": {
"field_label": "Account Access Level",
"type": "picklist",
"length": "40"
},
"CaseAccessLevel": {
"field_label": "Case Access Level",
"type": "picklist",
"length": "40"
},
"ContactAccessLevel": {
"field_label": "Contact Access Level",
"type": "picklist",
"length": "40"
},
"Description": {
"field_label": "Territory Description",
"type": "string",
"length": "1000"
},
"DeveloperName": {
"field_label": "Developer Name",
"type": "string",
"length": "80"
},
"ForecastUserId": {
"field_label": "User ID",
"type": "reference",
"length": "18"
},
"Id": {
"field_label": "Territory ID",
"type": "id",
"length": "18"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"Name": {
"field_label": "Territory Label",
"type": "string",
"length": "80"
},
"OpportunityAccessLevel": {
"field_label": "Opportunity Access Level",
"type": "picklist",
"length": "40"
},
"ParentTerritory2Id": {
"field_label": "Parent Territory ID",
"type": "reference",
"length": "18"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
},
"Territory2ModelId": {
"field_label": "Territory Model ID",
"type": "reference",
"length": "18"
},
"Territory2TypeId": {
"field_label": "Territory Type ID",
"type": "reference",
"length": "18"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}