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