Method: Smartsheet::Rows#sort
- Defined in:
- lib/smartsheet/endpoints/sheets/rows.rb
#sort(sheet_id:, body:, params: {}, header_overrides: {}) ⇒ Object
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/smartsheet/endpoints/sheets/rows.rb', line 96 def sort(sheet_id:, body:, params: {}, header_overrides: {}) endpoint_spec = Smartsheet::API::EndpointSpec.new(:post, ['sheets', :sheet_id, 'sort'], body_type: :json) request_spec = Smartsheet::API::RequestSpec.new( header_overrides: header_overrides, body: body, params: params, sheet_id: sheet_id ) client.make_request(endpoint_spec, request_spec) end |