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": "b30f1ff6-1381-464f-85aa-3fcdcb4f9bc1",
"ParentId": "bb3b633e-294c-4f40-97de-a222515e9cb1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"34eff7c3-5e9b-48ec-99f6-f2f2ac30a913",
"ed6051a5-fa4b-4812-94b8-62db8205db7c"
],
"Companies": [
"8a34ce33-0a73-499d-a9a6-11f5ef857000",
"19a18fc7-7334-4363-ab62-d761c9dafd4f"
],
"Groups": [
"98c619f0-2d24-42ff-80c2-7e75adfa3944",
"b23b0854-ff77-44ef-92ec-e1e537a20cda"
],
"Opportunities": [
"2d02b0e0-0222-4ede-9ce6-901d70d60ee7",
"ff4d46eb-0e68-470f-909f-075e0e899782"
]
}
},
{
"Id": "b30f1ff6-1381-464f-85aa-3fcdcb4f9bc1",
"ParentId": "bb3b633e-294c-4f40-97de-a222515e9cb1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"34eff7c3-5e9b-48ec-99f6-f2f2ac30a913",
"ed6051a5-fa4b-4812-94b8-62db8205db7c"
],
"Companies": [
"8a34ce33-0a73-499d-a9a6-11f5ef857000",
"19a18fc7-7334-4363-ab62-d761c9dafd4f"
],
"Groups": [
"98c619f0-2d24-42ff-80c2-7e75adfa3944",
"b23b0854-ff77-44ef-92ec-e1e537a20cda"
],
"Opportunities": [
"2d02b0e0-0222-4ede-9ce6-901d70d60ee7",
"ff4d46eb-0e68-470f-909f-075e0e899782"
]
}
}
]