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

108 lines
5.5 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",
"wsdl_segment",
"field_reference"
],
"title": "OrgMetric - Data API",
"description": "Represents a feature or metric that Salesforce Optimizer evaluates. This object is available in API version 47.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"refers_to"
],
"fields": {
"Category": {
"type": "picklist",
"properties": "Create, Defaulted on create, Filter, Group, Nillable, Sort",
"description": "The category of the feature evaluated. Possible values are: Custom Code Custom Layouts Fields Improve Org Security Improve User Experience Increase User Adoption Object Limits Org Limits Reports And Dashboards Usage User Management Workflow The default value is Org Limits."
},
"FeatureType": {
"type": "picklist",
"properties": "Create, Defaulted on create, Filter, Group, Nillable, Sort",
"description": "The feature evaluated. For a full list, see Features Evaluated in Salesforce Optimizer. The default value is Unassigned Page Layouts."
},
"LatestOrgMetricScanSummaryId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The features OrgMetricScanSummaryID from the most recent Optimizer evaluation. This field is a relationship field.",
"relationship_name": "LatestOrgMetricScanSummary",
"refers_to": "OrgMetricScanSummary"
},
"Name": {
"type": "string",
"properties": "Filter, Group, idLookup, Sort",
"description": "A unique number that identifies the feature."
}
},
"special_access_rules": "This object is only available in orgs where Salesforce Optimizer is enabled. Requires the Modify All Data and Customize Application user permissions.",
"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=\"OrgMetric\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Category\" 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=\"FeatureType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\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=\"LatestOrgMetricScanSummary\" nillable=\"true\" minOccurs=\"0\" type=\"ens:OrgMetricScanSummary\"/>\n <element name=\"LatestOrgMetricScanSummaryId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Name\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"OrgMetric\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"UserRecordAccess\" nillable=\"true\" minOccurs=\"0\" type=\"ens:UserRecordAccess\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\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": {
"Category": {
"field_label": "Category",
"type": "picklist",
"length": "40"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"CurrencyIsoCode": {
"field_label": "Currency ISO Code",
"type": "picklist",
"length": "3"
},
"FeatureType": {
"field_label": "Feature Type",
"type": "picklist",
"length": "40"
},
"Id": {
"field_label": "Org Metric 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"
},
"LatestOrgMetricScanSummaryId": {
"field_label": "Org Metric Scan Summary ID",
"type": "reference",
"length": "18"
},
"Name": {
"field_label": "Org Metric",
"type": "string",
"length": "255"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}