createEvent: Create a new event.

View source: R/getEvents.R

createEventR Documentation

Create a new event.

Description

createEvent allows the user to add a new event.

Usage

createEvent(caption, date, details, products, curlHandle,
  verbose = FALSE)

Arguments

caption

Character. A short caption summarizing the event.

date

Character with "yyyy-mm-dd" format.

details

Character. Any additional notes or details the user wants to include describing the event.

products

A character or numeric vector of product ids that the user wants to associate with the new event.

curlHandle

Provide an instance of the CURLHandle-class from the RCurl package. The default will create a curl handle specific to the function call.

verbose

Logical. Should details of the web request print to the console? Defaults to FALSE.

See Also

Official documentation: http://docs.appfigures.com/api/reference/v2/events.


appfigures/afapi documentation built on Nov. 13, 2022, 9:27 a.m.