Returns a list of news article
Query parameters
-
searchString
string text to search for in the list
-
orderFieldName
string name of the order field
-
orderFieldSort
string sorting mode
Values are
DESC
orASC
. -
page
integer page of the list
Default value is
0
. -
pageSize
integer number of entries for each page
Minimum value is
1
, maximum value is200
. Default value is50
. -
withMaxPageNumber
string returns the number of pages available as a header if this is set
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
GET
/api/media/news_article
curl \
--request GET 'https://replace-with-own-host.iw-erp.de/api/media/news_article' \
--header "x-session-token: $API_KEY"
Response examples (200)
[
{
"id": 42,
"news_type": "string",
"token": "string",
"public_title": "string",
"public_copyright": "string",
"public_language_code": "string",
"public_subtitle": "string",
"public_author": "string",
"public_summary": "string",
"public_thumbnail": "string",
"public_keywords": "string",
"public_category": "string",
"publish_date": "2025-05-04T09:42:00Z",
"unpublish_date": "2025-05-04T09:42:00Z",
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"image_url": "string",
"unified_cat_ids": {},
"unified_cat_names": {},
"slug_identifier": "string"
}
]