GET api/CustomTables?customTableName={customTableName}&mainEntityType={mainEntityType}&entityId={entityId}
Get the linked custom table sub entities for a Contact, Company, Group, or Opportunity. Supported Headers: Filter, Sort, SortDesc, SelectField
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customTableName |
Custom Table Name |
string |
Required |
| mainEntityType |
The main entity type. This is the table the custom record is linked to. |
MainEntityType |
Required |
| entityId |
Main Entity Id. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MutableEntityExtended| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| LinkedEntities | LinkedEntities |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "ea0c3c9d-b900-4337-b4f5-d1e9e7f3a633",
"ParentId": "7c28e92e-3f68-4eff-8158-a610aa5d594e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"538c6234-d871-40b4-9b5a-32448edc343e",
"568dcc7e-a090-41dc-92ee-ec449bd0aeec"
],
"Companies": [
"04056de7-8748-4e5a-a0cd-2552223b792b",
"24672249-3111-4412-9365-ecf87421b1e2"
],
"Groups": [
"825db25e-b0f4-4ee9-be4b-f371b3edccf9",
"d418dfa2-5bb6-45a8-8225-afe1209b8233"
],
"Opportunities": [
"ff977d62-e019-4dc7-bcf2-b9f499e7160a",
"f060650b-77e9-4ebb-a465-e39027a962b6"
]
}
},
{
"Id": "ea0c3c9d-b900-4337-b4f5-d1e9e7f3a633",
"ParentId": "7c28e92e-3f68-4eff-8158-a610aa5d594e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"538c6234-d871-40b4-9b5a-32448edc343e",
"568dcc7e-a090-41dc-92ee-ec449bd0aeec"
],
"Companies": [
"04056de7-8748-4e5a-a0cd-2552223b792b",
"24672249-3111-4412-9365-ecf87421b1e2"
],
"Groups": [
"825db25e-b0f4-4ee9-be4b-f371b3edccf9",
"d418dfa2-5bb6-45a8-8225-afe1209b8233"
],
"Opportunities": [
"ff977d62-e019-4dc7-bcf2-b9f499e7160a",
"f060650b-77e9-4ebb-a465-e39027a962b6"
]
}
}
]