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": "a24fdcd4-f44b-437d-af0e-c77fed39c7a1",
"ParentId": "0d25b311-b8dd-47f9-83cd-2459d4f5e903",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"03a4b15f-7db2-4890-864e-a2af19e9c196",
"f3ae7d8d-ad7a-4a9f-888e-d001e0f74307"
],
"Companies": [
"66c83cb1-bd3a-44ab-ac28-a7e2ad6015ad",
"5d35b767-cff3-4522-8f50-c2ab299a5693"
],
"Groups": [
"46d5e758-5a7c-417e-b82a-4b8a4b006835",
"14d97475-f869-4e51-8873-427c508853b8"
],
"Opportunities": [
"7ee97a93-231d-49d3-abfa-7f09b672a93f",
"d3f081d3-e68c-4f74-b739-bd887d2f9a89"
]
}
},
{
"Id": "a24fdcd4-f44b-437d-af0e-c77fed39c7a1",
"ParentId": "0d25b311-b8dd-47f9-83cd-2459d4f5e903",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"03a4b15f-7db2-4890-864e-a2af19e9c196",
"f3ae7d8d-ad7a-4a9f-888e-d001e0f74307"
],
"Companies": [
"66c83cb1-bd3a-44ab-ac28-a7e2ad6015ad",
"5d35b767-cff3-4522-8f50-c2ab299a5693"
],
"Groups": [
"46d5e758-5a7c-417e-b82a-4b8a4b006835",
"14d97475-f869-4e51-8873-427c508853b8"
],
"Opportunities": [
"7ee97a93-231d-49d3-abfa-7f09b672a93f",
"d3f081d3-e68c-4f74-b739-bd887d2f9a89"
]
}
}
]