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": "8638f05a-470d-4077-a6fb-d80938e5f749",
"ParentId": "a93a2847-059e-45c8-8e50-e8153d3ed7a6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ab496928-df64-4cac-b27b-41963ac9bc03",
"c6c01ce1-7456-43fc-acd3-b9d4606f1e60"
],
"Companies": [
"719f6ae3-101e-4ebf-8f55-2279aca6b6ba",
"a8e0f7ab-fbbd-48b6-8bda-7751f78377d8"
],
"Groups": [
"a3bd851e-a3aa-4aa6-85cb-a2ea84e38b42",
"6faffd2d-d52e-4dca-bc30-37938f5c27d0"
],
"Opportunities": [
"456a183f-b87d-46e9-a5a0-dfde9bc46054",
"5656323d-a275-4e06-b05e-0ffb8caa1ad3"
]
}
},
{
"Id": "8638f05a-470d-4077-a6fb-d80938e5f749",
"ParentId": "a93a2847-059e-45c8-8e50-e8153d3ed7a6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ab496928-df64-4cac-b27b-41963ac9bc03",
"c6c01ce1-7456-43fc-acd3-b9d4606f1e60"
],
"Companies": [
"719f6ae3-101e-4ebf-8f55-2279aca6b6ba",
"a8e0f7ab-fbbd-48b6-8bda-7751f78377d8"
],
"Groups": [
"a3bd851e-a3aa-4aa6-85cb-a2ea84e38b42",
"6faffd2d-d52e-4dca-bc30-37938f5c27d0"
],
"Opportunities": [
"456a183f-b87d-46e9-a5a0-dfde9bc46054",
"5656323d-a275-4e06-b05e-0ffb8caa1ad3"
]
}
}
]