events.updateEvent

Syntax

bool events.updateEvent ( int eventId, array newInfo )

Argument Info

NameTypeRequiredDefault valueDescription
eventIdintRequirednoneThe ID of the event you want to update.
newInfoarrayRequirednoneThe new event information that you want to update.

Response

The expected response for a successful update event request.

NameTypeDescription
resultINTOn success the response will be 1.

Return Values

FieldDescriptionPossible Values
nameaN/A
descriptionaN/A
logo (a media ID)aN/A
urlaN/A
startDateaN/A
endDateaN/A
moderationStatus: unmoderated, accepted, denied, deleted, notdenied, moderated, allaN/A
newMediaEmailTemplateID: ID of an email template to use when sending notifications of new media in the eventaN/A
otheraN/A
parentEventaN/A
custom1aN/A