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": "e6dd0f26-65f1-4528-9d13-aa10f080710a",
"ParentId": "817af18d-797e-4f63-8861-22288a07081e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0b6c721a-6112-469b-9a41-241b70002479",
"b0c1468c-2ca9-42ef-8a5c-17027bbd1ec3"
],
"Companies": [
"72831f78-f923-4ef4-90b0-4ed2bda77719",
"a1a8d346-3895-4c5d-a053-ec655440d57e"
],
"Groups": [
"417ecb49-f25d-499e-8240-f3d9be2ffa7e",
"aeaa3ba2-0d89-4a26-8d44-0f7fb1a673fc"
],
"Opportunities": [
"831945c9-6af6-4802-b097-65783902b624",
"dfd54db3-d1f6-46d2-990b-cabde2a4fc85"
]
}
},
{
"Id": "e6dd0f26-65f1-4528-9d13-aa10f080710a",
"ParentId": "817af18d-797e-4f63-8861-22288a07081e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0b6c721a-6112-469b-9a41-241b70002479",
"b0c1468c-2ca9-42ef-8a5c-17027bbd1ec3"
],
"Companies": [
"72831f78-f923-4ef4-90b0-4ed2bda77719",
"a1a8d346-3895-4c5d-a053-ec655440d57e"
],
"Groups": [
"417ecb49-f25d-499e-8240-f3d9be2ffa7e",
"aeaa3ba2-0d89-4a26-8d44-0f7fb1a673fc"
],
"Opportunities": [
"831945c9-6af6-4802-b097-65783902b624",
"dfd54db3-d1f6-46d2-990b-cabde2a4fc85"
]
}
}
]