Update sorting on report instance

PUT {{baseUrl}}/api/v2/reports/:reportId/instances/:instanceId?offset=0&limit=10

Request Params

KeyDatatypeRequiredDescription
offsetnumberStarting point within the collection of returned results. Used to control paging behavior.
limitnumber

Request Body

{"sorting"=>{"rows"=>[{"type"=>"form", "attribute"=>{"id"=>"8D679D4B11D3E4981000E787EC6DE8A4", "name"=>"Region"}, "form"=>{"id"=>"CCFBE2A5EADB4F50941FB879CCF1721C"}, "subtotalsPosition"=>"inherit", "order"=>"descending"}, {"type"=>"form", "attribute"=>{"id"=>"8D679D3F11D3E4981000E787EC6DE8A4", "name"=>"Employee"}, "form"=>{"id"=>"8D67A52E11D3E4981000E787EC6DE8A4"}, "order"=>"descending"}]}}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
X-MSTR-ProjectIDstring(Required) Project ID
Content-Typestring