Module: FreshService::Client::V2::Ticket::Create

Included in:
FreshService::Client
Defined in:
lib/fresh_service/client/v2/ticket/create.rb

Instance Method Summary collapse

Instance Method Details

#create_ticket(options = {}) ⇒ Object

Create a ticket

Parameters:

  • = (name, requester_id, email, phone, subject, type, status, priority, description, responder_id, attachments, cc_emails, custom_fields, due_by, email_config_id, fr_due_by, group_id, source, tags, department_id, category, sub_category, item_category, associate_ci, assets, urgency, impact, problem)

Returns:

  • Faraday Response

See Also:



17
18
19
# File 'lib/fresh_service/client/v2/ticket/create.rb', line 17

def create_ticket(options = {})
  post "/tickets", options
end