GET All Podcasts as Select List
Overview
The following table contains important information about the GET
method for managing the process of retrieving all podcasts as select list.
GET All Podcasts as Selet List | |
---|---|
Method | GET |
URL or Endpoint | /api/v1/projectId /podcasts/select-list |
Body | Not applicable |
The description of the URL parameters is as follows:
URL Parameter Name | Mandatory | Type | Description |
---|---|---|---|
projectId | Yes | string | Unique Id of the project. |
Request body
This method does not require the request body
Response
{
"success": true,
"errors": [],
"messages": [],
"result": [
{
"id": 0,
"name": "{name}",
"value": "{podcastId}",
"description": "{description}"
},
{
"id": 0,
"name": "{name}",
"value": "{podcastId}",
"description": "{description}"
},
{
"id": 0,
"name": "{name}",
"value": "{podcastId}",
"description": "{description}"
},
{
"id": 0,
"name": "{name}",
"value": "{podcastId}",
"description": "{description}"
}
],
"resultInfo": null,
"statusCode": 200
}
Information about the fields that appear on the response body are displayed in the table below.
Field Name | Type | Description |
---|---|---|
success | bool | If the response is successful, it will return true. Otherwise, it will return false. |
errors | array[string] | Indicates if there was an error. |
messages | array[string] | Returns the response message from the backend. |
result | array[object] | Returns the response object containing the detailed result. |
id | integer | The unique identifier for the podcast. |
name | string | The name of the podcast. |
value | string | The value of the podcast. |
description | string | A description of the podcast. |
resultInfo | object | Additional information about the result (if any). |
statusCode | integer | The HTTP status code of the response. |