Salesforce · Schema
SObjectTreeRequest
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales
Properties
| Name | Type | Description |
|---|---|---|
| records | array |
JSON Schema
{
"type": "object",
"properties": {
"records": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "example_value"
},
"referenceId": {
"type": "string",
"example": "500123"
}
},
"required": [
"type",
"referenceId"
]
},
"name": {
"type": "string",
"example": "Example Title"
},
"phone": {
"type": "string",
"example": "example_value"
},
"website": {
"type": "string",
"example": "example_value"
},
"numberOfEmployees": {
"type": "string",
"example": "example_value"
},
"industry": {
"type": "string",
"example": "example_value"
},
"Contacts": {
"type": "object",
"properties": {
"records": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object"
},
"lastname": {
"type": "object"
},
"Title": {
"type": "object"
},
"email": {
"type": "object"
}
},
"required": [
"attributes",
"lastname",
"email"
]
}
}
},
"required": [
"records"
]
},
"childAccounts": {
"type": "object",
"properties": {
"records": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object"
},
"name": {
"type": "object"
},
"phone": {
"type": "object"
},
"website": {
"type": "object"
},
"numberOfEmployees": {
"type": "object"
},
"industry": {
"type": "object"
}
},
"required": [
"attributes",
"name",
"phone",
"website",
"numberOfEmployees",
"industry"
]
}
}
},
"required": [
"records"
]
}
},
"required": [
"attributes",
"name",
"phone",
"website",
"numberOfEmployees",
"industry",
"Contacts"
]
}
}
},
"required": [
"records"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SObjectTreeRequest"
}