Add And Remove Flyout Columns Via REST API
search cancel

Add And Remove Flyout Columns Via REST API

book

Article ID: 377125

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Based on the following information

ODF_UI_VIEWS
ODF_UI_LIST COLUMNS.is_selected  
ODF_UI_LIST COLUMNS.position --in the column order


GET
URL=/ppm/rest/v1/private/views/5aaaaaa/listColumns/5bbbbbb

where view = 5aaaaaa
and attribute column = 5bbbbbb

 

Resolution

1. Use the following method to add column

PATCH 
 {

   "isSelected": true,
   "position": 1
  }

2. Use the following method to remove column

PATCH 
 {

   "isSelected": false,
   "position": 1
  }