Wix.Activities

getActivityById

getActivityById(id, onSuccess, onFailure)

Gets a specific Activity that occurred on the current site.

Parameters:

NameTypeDescription

Example:

 

 

 
postActivity

postActivity(activity, onSuccess, [onFailure])

This method posts an Activity to the current site. When the Activity is successfully created, the id of the activity will be returned. If schema validation fails, or other errors occur, an error is returned.

Parameters:

NameTypeDescription

The Activities types that you can currently post:

TypeActivityDescription

Example:

 

Was this page helpful?

What can we do to improve it?

What did you like about it?