All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
GetModelTypeById | Get /model_types/{id} | Get modelType by id |
ListModelTypes | Get /model_types | Get all modelTypes. |
ModelTypeResult GetModelTypeById(ctx, id, optional) Get modelType by id
Get modelType by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of ModelType (Required) | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | int64 | ID of ModelType (Required) | |
externalStationId | int64 | Query on a different (content providing) station (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]
ModelTypeResults ListModelTypes(ctx, optional) Get all modelTypes.
List all modelTypes.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
page | int64 | Current page (Optional) | |
programId | int64 | Search on Program ID (Optional) | |
broadcastId | int64 | Search on Broadcast ID (Optional) | |
itemId | int64 | Search on Item ID (Optional) | |
campaignId | int64 | Search on Campaign ID (Optional) | |
presenterId | int64 | Search on Presenter ID (Optional) | |
contactId | int64 | Search on Contact ID (Optional) | |
model | string | Search Modeltypes for certain Model (Optional) | |
limit | int64 | Results per page (Optional) | |
orderBy | string | Field to order the results (Optional) | |
orderDirection | string | Direction of ordering (Optional) | |
externalStationId | int64 | Query on a different (content providing) station (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]