import_otrs.rb 409 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # import otrs
  4. match api_path + '/import/otrs/url_check', :to => 'import_otrs#url_check', :via => :post
  5. match api_path + '/import/otrs/import_start', :to => 'import_otrs#import_start', :via => :post
  6. match api_path + '/import/otrs/import_status', :to => 'import_otrs#import_status', :via => :get
  7. end