All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
CreateBroadcast | POST /broadcasts | Create broadcast. |
DeleteBroadcastById | DELETE /broadcasts/{id} | Delete broadcast by id |
GetBroadcastById | GET /broadcasts/{id} | Get broadcast by id |
GetCurrentBroadcast | GET /broadcasts/current | Get current Broadcast |
GetDailyEPG | GET /broadcasts/epg/daily | Get daily EPG |
GetEPGByDate | GET /broadcasts/epg | Get EPG by date |
GetNextBroadcast | GET /broadcasts/next | Get next Broadcast |
GetWeeklyEPG | GET /broadcasts/epg/weekly | Get weekly EPG |
ListBroadcasts | GET /broadcasts | Get all broadcasts. |
PrintBroadcastById | GET /broadcasts/print/{id} | Print broadcast by id with template |
UpdateBroadcastByID | PATCH /broadcasts/{id} | Update broadcast by id |
PostSuccess CreateBroadcast (BroadcastDataInput data)
Create broadcast.
Create broadcast.
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class CreateBroadcastExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var data = new BroadcastDataInput(); // BroadcastDataInput | Data **(Required)**
try
{
// Create broadcast.
PostSuccess result = apiInstance.CreateBroadcast(data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.CreateBroadcast: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
data | BroadcastDataInput | Data (Required) |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success DeleteBroadcastById (long? id)
Delete broadcast by id
Delete broadcast by id
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class DeleteBroadcastByIdExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var id = 789; // long? | ID of Broadcast **(Required)**
try
{
// Delete broadcast by id
Success result = apiInstance.DeleteBroadcastById(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.DeleteBroadcastById: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | long? | ID of Broadcast (Required) |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BroadcastResult GetBroadcastById (long? id, long? externalStationId = null)
Get broadcast by id
Get broadcast by id
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetBroadcastByIdExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var id = 789; // long? | ID of Broadcast **(Required)**
var externalStationId = 789; // long? | Query on a different (content providing) station *(Optional)* (optional)
try
{
// Get broadcast by id
BroadcastResult result = apiInstance.GetBroadcastById(id, externalStationId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetBroadcastById: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | long? | ID of Broadcast (Required) | |
externalStationId | long? | Query on a different (content providing) station (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BroadcastResult GetCurrentBroadcast (bool? withunpublished = null)
Get current Broadcast
Get current Broadcast
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetCurrentBroadcastExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var withunpublished = true; // bool? | Show Unpublished *(Optional)* (optional)
try
{
// Get current Broadcast
BroadcastResult result = apiInstance.GetCurrentBroadcast(withunpublished);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetCurrentBroadcast: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
withunpublished | bool? | Show Unpublished (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EPGResults GetDailyEPG (DateTime? date = null, bool? withunpublished = null)
Get daily EPG
Get current Broadcast
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetDailyEPGExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var date = 2013-10-20T19:20:30+01:00; // DateTime? | Date *(Optional)* (optional)
var withunpublished = true; // bool? | Show Unpublished *(Optional)* (optional)
try
{
// Get daily EPG
EPGResults result = apiInstance.GetDailyEPG(date, withunpublished);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetDailyEPG: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
date | DateTime? | Date (Optional) | [optional] |
withunpublished | bool? | Show Unpublished (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EPGResults GetEPGByDate (DateTime? date = null, bool? withunpublished = null)
Get EPG by date
Get EPG by date
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetEPGByDateExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var date = 2013-10-20T19:20:30+01:00; // DateTime? | Date *(Optional)* (optional)
var withunpublished = true; // bool? | Show Unpublished *(Optional)* (optional)
try
{
// Get EPG by date
EPGResults result = apiInstance.GetEPGByDate(date, withunpublished);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetEPGByDate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
date | DateTime? | Date (Optional) | [optional] |
withunpublished | bool? | Show Unpublished (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BroadcastResult GetNextBroadcast (bool? withunpublished = null)
Get next Broadcast
Get next Broadcast
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetNextBroadcastExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var withunpublished = true; // bool? | Show Unpublished *(Optional)* (optional)
try
{
// Get next Broadcast
BroadcastResult result = apiInstance.GetNextBroadcast(withunpublished);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetNextBroadcast: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
withunpublished | bool? | Show Unpublished (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EPGResults GetWeeklyEPG (string date = null, bool? withunpublished = null)
Get weekly EPG
Get weekly EPG
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class GetWeeklyEPGExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var date = date_example; // string | Date *(Optional)* (optional)
var withunpublished = true; // bool? | Show Unpublished *(Optional)* (optional)
try
{
// Get weekly EPG
EPGResults result = apiInstance.GetWeeklyEPG(date, withunpublished);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.GetWeeklyEPG: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
date | string | Date (Optional) | [optional] |
withunpublished | bool? | Show Unpublished (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BroadcastResults ListBroadcasts (long? page = null, long? programId = null, long? blockId = null, long? modelTypeId = null, long? tagId = null, long? presenterId = null, long? genreId = null, long? itemId = null, DateTime? startMin = null, DateTime? startMax = null, long? limit = null, string orderBy = null, string orderDirection = null, long? externalStationId = null)
Get all broadcasts.
List all broadcasts.
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class ListBroadcastsExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var page = 789; // long? | Current page *(Optional)* (optional) (default to 1)
var programId = 789; // long? | Search on Program ID *(Optional)* `(Relation)` (optional)
var blockId = 789; // long? | Search on Block ID *(Optional)* `(Relation)` (optional)
var modelTypeId = 789; // long? | Search on ModelType ID *(Optional)* `(Relation)` (optional)
var tagId = 789; // long? | Search on Tag ID *(Optional)* `(Relation)` (optional)
var presenterId = 789; // long? | Search on Presenter ID *(Optional)* `(Relation)` (optional)
var genreId = 789; // long? | Search on Genre ID *(Optional)* `(Relation)` (optional)
var itemId = 789; // long? | Search on Item ID *(Optional)* `(Relation)` (optional)
var startMin = 2013-10-20T19:20:30+01:00; // DateTime? | Minimum start date *(Optional)* (optional)
var startMax = 2013-10-20T19:20:30+01:00; // DateTime? | Maximum start date *(Optional)* (optional)
var limit = 789; // long? | Results per page *(Optional)* (optional)
var orderBy = orderBy_example; // string | Field to order the results *(Optional)* (optional)
var orderDirection = orderDirection_example; // string | Direction of ordering *(Optional)* (optional)
var externalStationId = 789; // long? | Query on a different (content providing) station *(Optional)* (optional)
try
{
// Get all broadcasts.
BroadcastResults result = apiInstance.ListBroadcasts(page, programId, blockId, modelTypeId, tagId, presenterId, genreId, itemId, startMin, startMax, limit, orderBy, orderDirection, externalStationId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.ListBroadcasts: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
page | long? | Current page (Optional) | [optional] [default to 1] |
programId | long? | Search on Program ID (Optional) `(Relation)` | [optional] |
blockId | long? | Search on Block ID (Optional) `(Relation)` | [optional] |
modelTypeId | long? | Search on ModelType ID (Optional) `(Relation)` | [optional] |
tagId | long? | Search on Tag ID (Optional) `(Relation)` | [optional] |
presenterId | long? | Search on Presenter ID (Optional) `(Relation)` | [optional] |
genreId | long? | Search on Genre ID (Optional) `(Relation)` | [optional] |
itemId | long? | Search on Item ID (Optional) `(Relation)` | [optional] |
startMin | DateTime? | Minimum start date (Optional) | [optional] |
startMax | DateTime? | Maximum start date (Optional) | [optional] |
limit | long? | Results per page (Optional) | [optional] |
orderBy | string | Field to order the results (Optional) | [optional] |
orderDirection | string | Direction of ordering (Optional) | [optional] |
externalStationId | long? | Query on a different (content providing) station (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string PrintBroadcastById (long? id, long? templateId = null)
Print broadcast by id with template
Print broadcast by id with template
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class PrintBroadcastByIdExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var id = 789; // long? | ID of Broadcast **(Required)**
var templateId = 789; // long? | Search on template ID *(Optional)* (optional)
try
{
// Print broadcast by id with template
string result = apiInstance.PrintBroadcastById(id, templateId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.PrintBroadcastById: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | long? | ID of Broadcast (Required) | |
templateId | long? | Search on template ID (Optional) | [optional] |
string
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success UpdateBroadcastByID (long? id, BroadcastDataInput data = null)
Update broadcast by id
Update broadcast by id
using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;
namespace Example
{
public class UpdateBroadcastByIDExample
{
public void main()
{
// Configure API key authorization: API Key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
var apiInstance = new BroadcastApi();
var id = 789; // long? | ID of Broadcast **(Required)**
var data = new BroadcastDataInput(); // BroadcastDataInput | Data *(Optional)* (optional)
try
{
// Update broadcast by id
Success result = apiInstance.UpdateBroadcastByID(id, data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BroadcastApi.UpdateBroadcastByID: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | long? | ID of Broadcast (Required) | |
data | BroadcastDataInput | Data (Optional) | [optional] |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]