GET api/subchannels/{id}
Get a SubChannel by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The primary key of the subChannel in the Hobsons database. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SubChannelDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The primary key of the record in the Hobsons database. |
integer |
None. |
| Name | string |
Required String length: inclusive between 0 and 100 |
|
| ParentChannelId |
The identifier of the parent Channel associated with the given record. |
integer |
Required Range: inclusive between 1 and 99999999 |
| ParentChannelName |
The name of the parent Channel associated with the given record. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"ParentChannelId": 3,
"ParentChannelName": "sample string 4"
}