What is the addNews Method?

This method will create a news entry. This data is stored on the Apptivo sever, and is used to display company news in your application or website.

Method Definition

@WebMethod(action = "addNews", operationName = "addNews") - verified
public MethodResponse addNews(String siteKey, String accessKey, NewsHelper news, List imageDetails)

Expected Response

stdClass Object
(
[return] => stdClass Object
(
[newsHeadLine] => News Title
[description] =>
News Description
[startDate] => 2012-05-01T23:24:09-07:00
[pageSectionImages] => stdClass Object
(
)
[link] => http://www.news.com
[publishedAt] => 01-Apr-2011
[publishedBy] => Jeyakumar
[sequenceNumber] => 3
[endDate] => 2032-05-01T17:00:00-07:00
[newsImages] => https://testwp.dev.net/wp-content/uploads/2012/04/orange-150x116.png
[statusCode] => 1000
[statusMessage] => Success
)
)

Back to API reference.