events.isMediaInEvent

Syntax

bool events.isMediaInEvent ( int eventID, int mediaID )

Argument Info

NameTypeRequiredDefault valueDescription
eventIDintRequirednoneThe event ID you want to check if a media item is a member of.
mediaIDintRequirednoneThe media ID you want to check if it is a member of the specified event.

Response

The response will contain if the media item is in the specified event ID.

NameTypeDescriptionSuccessERROR
resultINTIf the media ID is a member of the event a response of 1 will be returned. If the media item is not a member of the event the response will be empty.<result>1</result><result/>

Return Values

FieldDescriptionPossible Values