Add or Update Event
post
[PlatformAddress]
/api/1.0/event?action=addOrUpdateEvent
addOrUpdateEvent

Example Request

1
{
2
"eventType": 12,
3
"title": "A New Event",
4
"timezone": "Australia/Sydney",
5
"startDateTime": "2018-03-05 03:00:00 UTC",
6
"endDateTime": "2018-03-05 06:00:00 UTC",
7
"capacity": 10,
8
"budget": 150,
9
"costCenterId": 834,
10
"primaryContactUserId": 7821,
11
"eventTypeIds": [56,57],
12
"isAccommIncluded": false
13
}
Copied!
This action call accepts the parameters of an event and will;
1) Add a new event to the account
2) Update an existing event in the account when the id parameter is provided.
NOTE: This action call only supports “Record Event Details” type events (i.e. eventType value of 12).

Returns

Property
Description
Type
success
Whether or not the action succeeded (i.e. the event as added or updated).
boolean
id
The event’s unique identifier. The value will be null on failure.
integer
code
The event’s unique code. The value will be null on failure.
string
Last modified 3mo ago