Description Usage Arguments Details Value Examples
agent
queries the Freshdesk API and returns data related to an agent.
1 2 | agent(client, agent_id, agents_path = "/api/v2/agents",
ticket_scope_lookup = agent_ticket_scope)
|
client |
The Freshdesk API client object (see |
agent_id |
The ID of the agent you would like to view. |
agents_path |
The path of the agents API. Defaults to |
ticket_scope_lookup |
Optional dataframe of ticket scope and associated values.
Defaults to |
This function queries the Freshdesk API based on agent id to view the details regarding this agent.
A list with the attributes of the agent.
1 2 3 4 5 6 7 | ## Not run:
fc <- freshdesk_client("your-domain", "your-api-key")
# view agent with id = 42001318958
a <- agent(fc, 42001318958)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.