zendesk_api_client_rb
zendesk_api_client_rb copied to clipboard
Official Ruby Zendesk API Client
Currently ZendeskAPI::Client only supports code blocks for instantiation, it should also support hash inputs so I can do this: ``` ZendeskAPI::Client.new({ :username => 'user', :url => 'zendesk url', :token =>...
`CreateOrUpdate` works as expected for `User` ``` ZendeskAPI::User.create_or_update!(client, {email: '[email protected]'}) # displays created record ZendeskAPI::User.create_or_update!(client, {email: '[email protected]'}) # displays created record ``` `CreateOrUpdate` throws an error on multiple calls for...
`ZendeskAPI::User::Idenity.create` displays the following warning. ```ruby ZendeskAPI::User::Identity.create!(client, user_id: 12345, type: 'email', value: '[email protected]') # WARNING: Removed restricted keys ["identity.user_id"] from parameters according to whitelist ``` The warning is from `X-Zendesk-API-Warn`...
Steps to reproduce: 1. Create a ticket 2. Fetch the ticket via the Ruby client in irb 3. Update tags: `ticket.tags = ["tag_via_gem"]` 4. Set `safe_update` and `updated_stamp`: ``` ticket.safe_update...
https://developer.zendesk.com/rest_api/docs/support/user_fields#create-or-update-a-user-field-option Hi! Is there any way to add/update field(dropdown) options via this library?
https://developer.zendesk.com/rest_api/docs/nps-api/nps_responses
include support for the SLA policies end-points https://developer.zendesk.com/rest_api/docs/core/sla_policies
Currently when trying to submit a ticket as suspended user (named in this example as "Contact Form" the error is ``` ZendeskAPI::Error::RecordInvalid: {"requester"=>[{"description"=>"Requester: Contact Form is suspended."}]} ``` Due to...
I am struggling to figure out how to grab the server response and make changes to the ticket after do a search. This is a common occurrence that is raising...
I haven't written any code for this yet, but I've been thrown off a bunch of times by how this client treats errors. Most methods will fail silently, and appear...