GET api/channels/{id}

Get a channel by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChannelDto
NameDescriptionTypeAdditional information
Id

The primary key of the record in the Hobsons database.

integer

None.

Name

string

Required

String length: inclusive between 0 and 100

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2"
}