get_custom_fields {zdeskR} | R Documentation |
Returns the system and all the custom fields defined by your organization's zendesk administrator
Description
It takes your Email Id, authentication token, sub-domain as parameters and gets the system and all the custom fields available for a zendesk ticket.
Usage
get_custom_fields(email_id, token, subdomain)
Arguments
email_id |
Zendesk Email Id (username). |
token |
Zendesk API token. |
subdomain |
Your organization's Zendesk sub-domain. |
Details
It's not a good practice to write down these authentication parameters in your code. There are various methods and packages available that are more secure; this package doesn't require you to use any one in particular.
Value
A data frame containing all ticket fields
References
https://developer.zendesk.com/rest_api/docs/support/ticket_fields
Examples
## Not run:
fields <- get_custom_fields(email_id, token, subdomain)
## End(Not run)
[Package zdeskR version 0.4.1 Index]