GET api/contacts/{id}/contactchannels
Get all ContactChannels that are related to the supplied Contact id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The primary key of the Contact record in the Hobsons database. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ContactChannelDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
The primary key of the record in the Hobsons database. |
integer |
None. |
CrmNumber |
A reference to the primary key of the Contact record that is associated with the ContactChannel. |
integer |
Required Range: inclusive between 1 and 2147483647 |
ChannelId |
A reference to the primary key of the Channel record that is binded to the ContactChannel. |
integer |
Required Range: inclusive between 1 and 99999999 |
ChannelName | string |
None. |
|
SubChannelId |
A reference to the primary key of the SubChannel record that is binded to the ContactChannel. |
integer |
Required Range: inclusive between 1 and 99999999 |
SubChannelName | string |
None. |
|
DateCreated |
The date that the channel was associated with the Contact. |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "CrmNumber": 2, "ChannelId": 3, "ChannelName": "sample string 4", "SubChannelId": 5, "SubChannelName": "sample string 6", "DateCreated": "2025-01-22T21:43:21.569334+11:00" }