Web Method: getAllEvents

What is the getAllEvents Method?

This method retrieves a list of all available marketing events in your Apptivo firm. Use this method to return a list of all events without any filters, to display within your application.

Method Definition

@WebMethod(action = "getAllEvents", operationName = "getAllEvents")
public EventsListHelper getAllEvents(String siteKey, String accessKey)

Expected Response

stdClass Object
(
[return] => stdClass Object
(
[eventsList] => Array
(
[0] => stdClass Object
(
[eventName] => Test Events3 - dev Testing
[description] =>
Test Events3
[startDate] => 2012-04-27T23:23:40-07:00
[endDate] => 2032-04-27T17:00:00-07:00
[link] =>
[publishedAt] =>
[publishedBy] =>
[sequenceNumber] => 0
[marketingEventId] => 10189
[creationDate] => 2012-04-27T23:23:40.941-07:00
[eventImages] =>
[cmsFirmSiteId] => 10502
)
[1] => stdClass Object
(
[eventName] => ffgfgf fgdfgdfg
[description] =>
dfgdfg
[startDate] => 2012-04-28T02:46:06-07:00
[endDate] => 2032-04-27T17:00:00-07:00
[link] =>
[publishedAt] =>
[publishedBy] =>
[sequenceNumber] => 0
[marketingEventId] => 10192
[creationDate] => 2012-04-28T02:46:05.488-07:00
[eventImages] =>
[cmsFirmSiteId] => 10502
)
)
[statusCode] => 1000
[statusMessage] => Success
)
)

Back to API reference.