Description Usage Arguments Details Value Examples
tickets
queries the Freshdesk API and returns a data frame of ticke data.
1 2 3 4 5 6 | tickets(client, tickets_path = "/api/v2/tickets",
remove_fields = c("description", "description_text"),
include_requester = FALSE, include_stats = FALSE,
include_custom_fields = FALSE, updated_since = NULL, max_records = Inf,
priorities_lookup = ticket_priorities, sources_lookup = ticket_sources,
status_lookup = ticket_status, date_fields = ticket_date_fields)
|
client |
The Freshdesk API client object (see |
tickets_path |
The path of the tickets API. Defaults to |
remove_fields |
Fields returned by the Freshdesk API to remove from the data frame.
Defaults to removing the |
include_requester |
If |
include_stats |
If |
include_custom_fields |
If |
updated_since |
Specifies tickets to include in results based on last time they were
updated. If set to |
max_records |
Specifies the maximum number of records to return. |
priorities_lookup |
Optional dataframe of ticket priorities and associated values.
Defaults to |
sources_lookup |
Optional dataframe of ticket sources and associated values.
Defaults to |
status_lookup |
Optional dataframe of ticket status and associated values.
Defaults to |
date_fields |
Fields returned by the Freshdesk API that are date fields. Defaults
to |
This function queries the Freshdesk API to view the details regarding multiple tickets.
A data frame of tickets or NULL
if there are no tickets.
1 2 3 4 5 6 7 | ## Not run:
fc <- freshdesk_client("your-domain", "your-api-key")
# view tickets
t <- tickets(fc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.