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": "9dd50254-a280-4cd0-a9d5-558329f9a3f9",
"ParentId": "d48fc8d1-4f8f-4d28-b511-26785e4cc643",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b7667d89-ca4e-441b-82f7-b708f313d054",
"480d0bf4-bc25-4fba-9437-8c406fea602a"
],
"Companies": [
"ba6ee11d-6839-4a4a-8165-aa41e4549e17",
"1dc4164f-384b-4546-9425-bb0221818a42"
],
"Groups": [
"815e60aa-ab3a-4c9c-8363-a00d6b1754f3",
"16b72355-4ad3-4cb0-894e-1a438df3263a"
],
"Opportunities": [
"8413a326-7e08-4dda-94d7-7b1c3895411e",
"d8066101-a833-48fa-a1f5-45e61b5727f6"
]
}
},
{
"Id": "9dd50254-a280-4cd0-a9d5-558329f9a3f9",
"ParentId": "d48fc8d1-4f8f-4d28-b511-26785e4cc643",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b7667d89-ca4e-441b-82f7-b708f313d054",
"480d0bf4-bc25-4fba-9437-8c406fea602a"
],
"Companies": [
"ba6ee11d-6839-4a4a-8165-aa41e4549e17",
"1dc4164f-384b-4546-9425-bb0221818a42"
],
"Groups": [
"815e60aa-ab3a-4c9c-8363-a00d6b1754f3",
"16b72355-4ad3-4cb0-894e-1a438df3263a"
],
"Opportunities": [
"8413a326-7e08-4dda-94d7-7b1c3895411e",
"d8066101-a833-48fa-a1f5-45e61b5727f6"
]
}
}
]