Mobile API Documentation

News Subjects

Overview: List available subjects for news articles.
All parameters are mandatory with every API call.

Input Parameters

All parameters are mandatory with every API call.
Parameter Description
app_name Application identifier + version, e.g. "idex-ios"
app_version Application version e.g. "1.2.1""
app_key Secret application key, string, e.g. "ABCDEFGAASFDA13456211233".

Sample Request Extended

HTTP JSON
Endpoint: https://mobapi.idexonline.com/news/api/v2.0/subjectlist
{
	"app_name":"idex-ios",
	"app_version":"1.2.1",
	"app_key":"IMAStg24B"
}

Sample Response

JSON Data with HTTP Code 200
If all goes well, the response will be an HTTP 200 code and the response_code in the JSON will be 0.

{
	"result_info": {
		"response_code": 0,
		"response_description": ""
	},
	"results": {
		"items_included": 12,
		"results": [
			{
			"subject_id": 11,
			"subject_title": "Mining & Exploration"
			},
			{
			"subject_id": 12,
			"subject_title": "Retail & Fashion"
			},
			{
			"subject_id": 36,
			"subject_title": "Manufacturing"
			},
			{
			"subject_id": 37,
			"subject_title": "Rough Market"
			},
			{
			"subject_id": 38,
			"subject_title": "Polished Market"
			},
			{
			"subject_id": 39,
			"subject_title": "Trading & Finance"
			},
			{
			"subject_id": 46,
			"subject_title": "Jewelry Wholesale"
			},
			{
			"subject_id": 47,
			"subject_title": "Legal"
			},
			{
			"subject_id": 48,
			"subject_title": "Technology"
			},
			{
			"subject_id": 49,
			"subject_title": "Gemstones"
			},
			{
			"subject_id": 51,
			"subject_title": "Consumer News"
			},
			{
			"subject_id": 53,
			"subject_title": "Polished Diamond Prices"
			}
		]
	}
}
		


Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com