mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-07 00:02:34 +08:00
112 lines
5.0 KiB
JSON
112 lines
5.0 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"usage",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "CustomHttpHeader - Data API",
|
||
"description": "Represents a custom HTTP header that provides context information from Salesforce such as region, org details, or the role of the person viewing the external object. This object is available in API version 43.0 and later.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description",
|
||
"relationship_name",
|
||
"relationship_type",
|
||
"refers_to"
|
||
],
|
||
"fields": {
|
||
"Description": {
|
||
"type": "textarea",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "A text description of the header field’s purpose."
|
||
},
|
||
"HeaderFieldName": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "Name of the header field. The name must contain at least one alphanumeric character or underscore. It can also include: ! # $ % & ' * + - . ^ _ ` | ~"
|
||
},
|
||
"HeaderFieldValue": {
|
||
"type": "string",
|
||
"properties": "Filter, Sort",
|
||
"description": "A formula that resolves to the value for the header. The values in the formula must evaluate to a string. If the formula resolves to null and an empty string, the header isn’t sent."
|
||
},
|
||
"IsActive": {
|
||
"type": "boolean",
|
||
"properties": "Defaulted on create, Filter, Group, Sort",
|
||
"description": "Indicates whether the custom HTTP header is available to use."
|
||
},
|
||
"ParentId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "ID of the entity that the custom HTTP header is related to. This is a polymorphic relationship field.",
|
||
"relationship_name": "Parent",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "ExternalDataSource, NamedCredential"
|
||
}
|
||
},
|
||
"special_access_rules": "As of Spring ’20 and later, only authenticated internal and external users can access this object.",
|
||
"usage": "For each OData external data source, define up 10 HTTP headers to request data.\n\nHTTP headers aren’t supported on named credentials.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"CustomHttpHeader\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\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=\"Description\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"HeaderFieldName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"HeaderFieldValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsActive\" 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=\"Parent\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"ParentId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"SystemModstamp\" 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": {
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"Description": {
|
||
"field_label": "Description",
|
||
"type": "textarea",
|
||
"length": "1000"
|
||
},
|
||
"HeaderFieldName": {
|
||
"field_label": "Header Field Name",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"HeaderFieldValue": {
|
||
"field_label": "Header Field Value",
|
||
"type": "string",
|
||
"length": "1000"
|
||
},
|
||
"Id": {
|
||
"field_label": "Custom HTTP Header ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsActive": {
|
||
"field_label": "Active",
|
||
"type": "boolean"
|
||
},
|
||
"LastModifiedById": {
|
||
"field_label": "Last Modified By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"LastModifiedDate": {
|
||
"field_label": "Last Modified Date",
|
||
"type": "datetime"
|
||
},
|
||
"ParentId": {
|
||
"field_label": "Parent ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length"
|
||
]
|
||
} |