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": "3ee5b35f-bd19-4880-86e9-572d8a300b93",
"ParentId": "a8219ebc-0fa1-4bcb-9b08-7d190b438930",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4983c6a-fd04-4074-a751-38f4a530fb62",
"a899cf20-35d5-43b5-8292-ef273db7de26"
],
"Companies": [
"6e87a433-21fe-4e5d-8378-e661c3e05099",
"2be82a94-5ade-40bf-b790-e8a99d525b74"
],
"Groups": [
"f3594a6c-694f-4a7c-82e8-84626c8e4194",
"cc5b4e45-8e9f-4a5e-9ad2-42c1907d1edc"
],
"Opportunities": [
"e3958c7d-ca02-4fc5-829f-8d50a3688381",
"b3cf41bb-b792-4aa9-8efe-2b820f259298"
]
}
},
{
"Id": "3ee5b35f-bd19-4880-86e9-572d8a300b93",
"ParentId": "a8219ebc-0fa1-4bcb-9b08-7d190b438930",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4983c6a-fd04-4074-a751-38f4a530fb62",
"a899cf20-35d5-43b5-8292-ef273db7de26"
],
"Companies": [
"6e87a433-21fe-4e5d-8378-e661c3e05099",
"2be82a94-5ade-40bf-b790-e8a99d525b74"
],
"Groups": [
"f3594a6c-694f-4a7c-82e8-84626c8e4194",
"cc5b4e45-8e9f-4a5e-9ad2-42c1907d1edc"
],
"Opportunities": [
"e3958c7d-ca02-4fc5-829f-8d50a3688381",
"b3cf41bb-b792-4aa9-8efe-2b820f259298"
]
}
}
]