additionalInfo is an array that consists of the information that you want to have stored in your event.
Name | Type | Required | Default | Possible Values | Description |
---|
email | string | no | | email@example.com | The email address that users can use to email media into the event. |
description | string | no | | string | A blurb of text that describes what the event is all about. The description is searchable. |
logo | int | no | 0 | 5000333 | A media ID for a piece of media that is to be used as the event logo. The default value is 0, which means that the event has no logo assigned to it. |
url | string | no | | http://example.com | The url for the event. |
createdBy | int | no | 1 | 4155555 | The UID of the user who created the event. |
note | string | no | | string | Some text about the event. The note is not searchable. |
geo_longitude | float | no | 0 | -52.44 | The longitude of the event. This would be specified by the creator of the event. |
geo_latitude | float | no | 0 | 62.86 | The latitude of the event. This would be specified by the creator of the event. |
moderationStatus | string | no | unmoderated | unmoderated, accepted, denied, deleted, notdenied, moderated, all | The moderation status once the event has been created in MediaFactory. |
address | string | no | | string | The address of the event. This would be the event location. |
city | string | no | | Toronto | A city that the event is associated with. |
country | string | no | | CA, US | The 2-letter country code for the event location. |
state | string | no | | ON | The 2-letter state / province code for the event. |
postalcode | string | no | | M1M1M1 | A valid postal code to contact the event. |
other | array | no | | {'key': 'value'} | This is any additional information about the event that does not fit into the fields above. |
custom1 | string | no | | string | A searchable string for additional content that you want stored about the event. |
startDate | timestamp | no | 0000-00-00 00:00:00 | 2012-02-15 00:00:00 | The date and time that the event begins. |
endDate | timestamp | no | 0000-00-00 00:00:00 | 2012-03-25 14:10:11 | The date and time that the event ends. |
parentGroup | int | no | 0 | 9499 | The ID of the parent event for the event to be created. The default value is 0, which means that the event has no parent; it is the top-level. |
fileData is an array that consists of the information that you want to have stored in your media.
Field | Description | Possible Values |
---|
createdBy: user IDa | N/A |
description: texta | N/A |
address: text, maximum 80 charactersa | N/A |
city: text, maximum 80 charactersa | N/A |
state: text, maximum 2 charactersa | N/A |
country: text, maximum 2 charactersa | N/A |
postalcode: text, maximum 10 charactersa | N/A |
note: texta | N/A |
logo: media IDa | N/A |
url: text, maximum 80 charactersa | N/A |
startDate: date and time (YYYY-MM-DD hh:mm:ss)a | N/A |
endDate: date and time (YYYY-MM-DD hh:mm:ss)a | N/A |
moderationStatus: moderation status (1: unmoderated, 2: accepted, 4: denied, 8: deleted, or: "unmoderated", "accepted"/"approved", "denied", "deleted")a | N/A |
parentGroup: group IDa | N/A |
geo_latitude: latitudea | N/A |
geo_longitude: longitudea | N/A |
host: text, maximum 80 charactersa | N/A |
other: texta | N/A |
custom1: text, maximum 32 charactersa | N/A |