Web Method: getMarketingEventById

What is the getMarketingEventById Method?

This method will retrieve the details of a marketing event from Apptivo. By providing an event ID, the method will return all event details, such as a title, description, date, etc. The method is used to display company events in your application.

Method Definition

@WebMethod(action = "getMarketingEventById", operationName = "getMarketingEventById")
public MarketingEventHelper getMarketingEventById(String siteKey, String accessKey, Long marketingEventId)

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
[link] => http://events.com
[publishedAt] => 01-May-2021
[publishedBy] => Jkumar
[sequenceNumber] => 1
[marketingEventId] => 10203
[creationDate] => 2012-05-01T23:34:26.039-07:00
[eventImages] => http://testwp.dev.net/wp-content/uploads/2012/04/orange-150x116.png
[cmsFirmSiteId] => 10502
[statusCode] => 1000
[statusMessage] => Success
)
)

Back to API reference.