API Documentation


Example Calls
1
C# - Http Client Example
Curl Example
1
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.ccr.net/Channel_List");
request.Headers.Add("apikey", "YOUR_API_KEY");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
curl -H "apikey: YOUR_API_KEY"
There are no rows in this table


Options
1
Call
Example
Response
1
Top Syntax
curl -X GET https://api.ccr.net/Channel_List?$top=1 -H “apikey: YOUR_API_KEY”
[
{
"CCR_Channel_InstanceID": 0,
"CCR_Channel_RecID": 0,
"ClientReferenceName": "string",
"ClientReferenceID": 0,
"ChannelNumber": "string",
"ChannelName": "string",
"DefinitionName": "string",
"CallSign": "string",
"StreamIP": "string",
"Source": "string",
"DateStart": "2023-04-06T16:22:33.788Z"
}
]
2
Filter
curl -X GET https://api.ccr.net/Channel_List?$filter=ClientReferenceID eq YOUR_UNIQUE_ID -H “apikey: YOUR_API_KEY”
[
{
"CCR_Channel_InstanceID": 0,
"CCR_Channel_RecID": 0,
"ClientReferenceName": "string",
"ClientReferenceID": YOUR_UNIQUE_ID,
"ChannelNumber": "string",
"ChannelName": "string",
"DefinitionName": "string",
"CallSign": "string",
"StreamIP": "string",
"Source": "string",
"DateStart": "2023-04-06T16:22:33.788Z"
}
]
3
Select
curl -X GET \ 'https://api.ccr.net/Channel_List?$select=ChannelName' \ -H 'apikey: YOUR_API_KEY' \
{ "ChannelName": "string" }, { "ChannelName": "string" }, { "ChannelName": "string" }, { "ChannelName": "string" },
4
Contains
curl -X GET \ 'https://api.ccr.net/Channel_List?$filter=contains(ChannelName, 'HBO')' \ -H 'apikey: YOUR_API_KEY' \
[
{
"CCR_Channel_InstanceID": 0,
"CCR_Channel_RecID": 0,
"ClientReferenceName": "string",
"ClientReferenceID": [YOUR_UNIQUE_ID],
"ChannelNumber": "string",
"ChannelName": "string",
"DefinitionName": "string",
"CallSign": "string",
"StreamIP": "string",
"Source": "string",
"DateStart": "2023-04-06T16:22:33.788Z"
}
]
There are no rows in this table

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.