What is the addMarketingEvent Method?

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

Method Definition

@WebMethod(action = "addMarketingEvent", operationName = "addMarketingEvent")
public MethodResponse addMarketingEvent(String siteKey, String accessKey, MarketingEventHelper marketingEvent, List imageDetails)

Expected Response

stdClass Object
(
[return] => stdClass Object
(
[eventName] => Events Tiltle
[description] =>
Events Description
[startDate] => 2012-05-01T23:34:25-07:00
[endDate] => 2032-05-01T17:00:00-07:00
[pageSectionImages] =>
[link] => https://events.com
[publishedAt] => 01-May-2021
[publishedBy] => Jkumar
[sequenceNumber] => 1
[eventImages] => https://testwp.dev.net/wp-content/uploads/2012/04/orange-150x116.png
[statusCode] => 1000
[statusMessage] => Success
)
)

Back to API reference.