Module: TicketProtectionPerformances
- Included in:
- TessituraRest
- Defined in:
- lib/tessitura_rest/txn/ticket_protection_performances.rb
Instance Method Summary collapse
Instance Method Details
#get_ticket_protection_performances(mos, options = {}) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/tessitura_rest/txn/ticket_protection_performances.rb', line 2 def get_ticket_protection_performances(mos, = {}) parameters = { 'ModeOfSaleId': mos, 'BusinessUnitId': 1, 'PerformanceTypeIds': 27, } .merge!(basic_auth: @auth, headers: @headers) .merge!(:body => parameters.to_json) response = self.class.post(base_api_endpoint('TXN/Performances/Search'), ) JSON.parse(response.body) end |