mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
163 lines
7.0 KiB
JSON
163 lines
7.0 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"wsdl_segment",
|
|
"field_reference"
|
|
],
|
|
"title": "OwnedContentDocument - Data API",
|
|
"description": "Represents a file owned by a user. This object is available in version 30.0 and later.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description",
|
|
"relationship_name",
|
|
"relationship_type",
|
|
"refers_to"
|
|
],
|
|
"fields": {
|
|
"ContentDocumentId": {
|
|
"type": "reference",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "ID of the document. This is a relationship field.",
|
|
"relationship_name": "ContentDocument",
|
|
"relationship_type": "Lookup",
|
|
"refers_to": "ContentDocument"
|
|
},
|
|
"ContentSize": {
|
|
"type": "int",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The size of the document in bytes for documents smaller than 2 GB. In API version 66.0 and later, we recommend that you use the ContentSizeLong field even for documents smaller than 2 GB."
|
|
},
|
|
"ContentSizeLong": {
|
|
"type": "long",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The size of the document in bytes up to 10 GB. This field is available in API version 66.0 and later."
|
|
},
|
|
"ContentUrl": {
|
|
"type": "url",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "URL for links and Google Docs. This field is set only for links and Google Docs, and is one of the fields that determine the FileType. This field is available in API version 31.0 and later."
|
|
},
|
|
"ExternalDataSourceName": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The name of the external data source in which the document is stored. This field is set only for external documents that are connected to Salesforce.This field is available in API version 32.0 and later."
|
|
},
|
|
"ExternalDataSourceType": {
|
|
"type": "picklist",
|
|
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
|
|
"description": "Type of external data source in which the document is stored. This field is set only for external documents that are connected to Salesforce.This field is available in API version 35.0 and later."
|
|
},
|
|
"FileExtension": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "File extension of the document. This field is available in API version 31.0 and later."
|
|
},
|
|
"FileType": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Type of document, which is determined by the file extension."
|
|
},
|
|
"OwnerId": {
|
|
"type": "reference",
|
|
"properties": "Filter, Group, Sort",
|
|
"description": "ID of the owner of the document. This is a relationship field.",
|
|
"relationship_name": "Owner",
|
|
"relationship_type": "Lookup",
|
|
"refers_to": "User"
|
|
},
|
|
"Title": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, idLookup, Sort",
|
|
"description": "Title of the document."
|
|
}
|
|
},
|
|
"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=\"OwnedContentDocument\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ContentDocument\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ContentDocument\"/>\n <element name=\"ContentDocumentId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ContentSize\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"ContentSizeLong\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:long\"/>\n <element name=\"ContentUrl\" 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=\"ExternalDataSourceName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ExternalDataSourceType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FileExtension\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FileType\" 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=\"Owner\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"OwnerId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Title\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
|
|
"field_reference": {
|
|
"ContentDocumentId": {
|
|
"field_label": "Content Document ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"ContentSize": {
|
|
"field_label": "Content Size",
|
|
"type": "int",
|
|
"digits": "9"
|
|
},
|
|
"ContentSizeLong": {
|
|
"field_label": "Content Size",
|
|
"type": "long",
|
|
"digits": "18"
|
|
},
|
|
"ContentUrl": {
|
|
"field_label": "Content URL",
|
|
"type": "url",
|
|
"length": "255"
|
|
},
|
|
"CreatedById": {
|
|
"field_label": "Created By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"CreatedDate": {
|
|
"field_label": "Created",
|
|
"type": "datetime"
|
|
},
|
|
"ExternalDataSourceName": {
|
|
"field_label": "External Data Source",
|
|
"type": "string",
|
|
"length": "80"
|
|
},
|
|
"ExternalDataSourceType": {
|
|
"field_label": "Class ID",
|
|
"type": "picklist",
|
|
"length": "80"
|
|
},
|
|
"FileExtension": {
|
|
"field_label": "File Extension",
|
|
"type": "string",
|
|
"length": "40"
|
|
},
|
|
"FileType": {
|
|
"field_label": "File Type",
|
|
"type": "string",
|
|
"length": "20"
|
|
},
|
|
"Id": {
|
|
"field_label": "User Owned Content Document 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": "Content Modified Date",
|
|
"type": "datetime"
|
|
},
|
|
"OwnerId": {
|
|
"field_label": "Owner ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"Title": {
|
|
"field_label": "Title",
|
|
"type": "string",
|
|
"length": "255"
|
|
}
|
|
},
|
|
"field_reference_columns": [
|
|
"field_label",
|
|
"type",
|
|
"length",
|
|
"digits"
|
|
]
|
|
} |