Home docs nex protocols NewsProtocolAdmin (32)
Post

NewsProtocolAdmin (32)

Methods

(1) CreateChannel

Request

TypeName
NewsChannelchannel

Response

TypeName
Uint32newsChannelID

(2) DeleteChannel

Request

TypeName
Uint32newsChannelID

Response

This method does not return anything.

(3) DeleteChannels

Request

TypeName
List<Uint32>newsChannelIDs

Response

This method does not return anything.

(4) GetChannels

Request

TypeName
ResultRangeresultRange

Response

TypeName
List<NewsChannel>channels

(5) GetChannelsByTypes

Request

TypeName
List<string>newsChannelTypes
ResultRangeresultRange

Response

TypeName
List<NewsChannel>channels

(6) GetChannelsByIDs

Request

TypeName
List<Uint32>newsChannelIDs

Response

TypeName
List<NewsChannel>channels

(7) UpdateChannel

Request

TypeName
NewsChannelchannel

Response

This method does not return anything.

Request

TypeName
List<Uint32>newsChannelIDs

Response

TypeName
List<NewsFeedLink>newsFeedLinks

Request

TypeName
List<Uint32>newsChannelIDs

Response

TypeName
Uint32numberOfNewsFeedLinks

(10) LinkNewsFeed

Request

TypeName
NewsFeedLinknewsFeedLink

Response

TypeName
Uint32newsFeedLinkID

(11) UnlinkNewsFeeds

Request

TypeName
List<Uint32>newsFeedLinkIDs

Response

This method does not return anything.

(12) DeleteNewsMessages

Request

TypeName
List<Uint32>newsMessageIDs

Response

This method does not return anything.

(13) DeleteNewsMessagesByRecipient

Request

TypeName
NewsRecipientrecipient

Response

This method does not return anything.

(14) GetNewsHeaders

Request

TypeName
NewsRecipientrecipient
ResultRangerange

Response

TypeName
List<NewsHeader>newsHeaders

(15) GetNewsMessages

Request

TypeName
List<Uint32>newsMessageIDs

Response

TypeName
List<NewsMessage>newsMessages

(16) GetNumberOfNews

Request

TypeName
NewsRecipientrecipient

Response

TypeName
Uint32numberOfNews

(17) PublishNews

Request

TypeName
NewsMessagenewsMessage

Response

TypeName
NewsMessagemodifiedNewsMessage

Request

TypeName
NewsFeedLinknewsFeedLink

Response

This method does not return anything.

(19) SingleNewsFeedParsingJob

Request

This method does not take any parameters.

Response

This method does not return anything.

(20) MultipleNewsFeedParsingJob

Request

This method does not take any parameters.

Response

This method does not return anything.

(21) NewsMessageCleaningJob

Request

This method does not take any parameters.

Response

This method does not return anything.

(22) NewsChannelCleaningJob

Request

This method does not take any parameters.

Response

This method does not return anything.

(23) CreateRSSFeed

Request

TypeName
Stringname
Uint32feedTemplateID

Response

This method does not return anything.

(24) GetDateTimeDelta

Request

TypeName
DateTimedt1
DateTimedt2

Response

TypeName
int64delta

(25) AddDateTime

Request

TypeName
DateTimedt1
int32years
int32months
int32days
int32hours
int32minutes
int32seconds

Response

TypeName
DateTimedt2

(26) GetLocalDateTime

Request

This method does not take any parameters.

Response

TypeName
DateTimedt

(27) GetSystemDateTime

Request

This method does not take any parameters.

Response

TypeName
DateTimedt

Types

NewsChannel (Structure)

TypeName
Uint32m_ID
PIDm_ownerPID
Stringm_name
Stringm_description
DateTimem_creationTime
DateTimem_expirationTime
Stringm_type
Stringm_locale
boolm_subscribable

NewsHeader (Structure)

TypeName
Uint32m_ID
Uint32m_recipientID
Uint32m_recipientType
PIDm_publisherPID
Stringm_publisherName
DateTimem_publicationTime
DateTimem_displayTime
DateTimem_expirationTime
Stringm_title
Stringm_link

NewsMessage (Structure)

This structure inherits from NewsHeader

TypeName
Stringm_body

NewsRecipient (Structure)

TypeName
Uint32m_recipientID
Uint32m_recipientType
TypeName
Uint32m_ID
Uint32m_newsChannelID
Stringm_URL
Stringm_description
DateTimem_feedUpdatedParseTime
DateTimem_lastUpdatedTime
DateTimem_nextRefreshTime
Uint32m_refreshElapsedTimeMilliseconds
Uint32m_refreshPeriodSeconds
boolm_refreshEnabled
Uint32m_refreshMethod
DateTimem_newestMessageTime
Uint32m_messageAdded
Contents