Skip to main content
POST
/
public
/
news
/
entity
/
search
public Search news entities by entity type and ID.
curl --request POST \
  --url https://api.example.com/public/news/entity/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "publicSessionToken": "<string>",
  "searchText": null,
  "languageID": 1,
  "entityTypeID": null,
  "constrainToHasGenerationEvent": null,
  "page": 1,
  "pageSize": 150
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
publicSessionToken
string | null
searchText
string | null
languageID
integer<int32>
default:1
entityTypeID
integer<int32> | null

This is limited to only the news related entity types. Which are: 35 NEWSKEYWORD 36 NEWSTOPIC 37 NEWSCATEGORY 38 NEWSENTITY 39 NEWSPERSON 40 NEWSCOMPANY

constrainToHasGenerationEvent
boolean | null
page
integer<int32>
default:1
pageSize
integer<int32>
default:150

Response

Success

success
boolean
data
unknown