module SubLineItems

Public Instance Methods

get_return_tickets(constituent_id, status_id, performance_start_date, performance_end_date, order_id, options={}) click to toggle source
# File lib/tessitura_rest/txn/sub_line_items.rb, line 3
def get_return_tickets(constituent_id, status_id, performance_start_date, performance_end_date, order_id, options={})
  options.merge!(basic_auth: @auth, headers: @headers)
  response = self.class.get(base_api_endpoint("TXN/SubLineItems?constituentId=#{constituent_id}&orderId=#{order_id}&subLineItemStatusIds=#{status_id}&performanceStartDate=#{performance_start_date}&performanceEndDate=#{performance_end_date}"), options)
  JSON.parse(response.body)
end