Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. EJB Business Entity Service Calls
  4. REST Business Entity Service Calls
  5. REST APIs for Data Director
  6. SOAP Business Entity Service Calls
  7. Cross-reference Records and BVT Calculations Services
  8. Supporting Corporate Linkage Service
  9. External Calls to Cleanse, Analyze, and Transform Data
  10. Appendix A: Using REST APIs to Add Records
  11. Appendix B: Using REST APIs to Upload Files
  12. Appendix C: Using REST APIs to Manage Reports

Get Variables

Get Variables

The Get Variables REST API returns the current color schema properties of Data Director.
The API uses the GET method.
Request URL
The Get Variables URL has the following format:
http://<host>:<port>/<context>/<path>
Make the following HTTP GET request to the Get Variables URL:
GET http://<host>:<port>/cmx/ui/theme/variables
Sample API Request
The following request returns the properties of the current color theme.
GET http://localhost:8080/cmx/ui/theme/variables
Sample API Response
The API returns a 200 OK response code after successfully retrieving the color schema properties.
"variables": { "menu_text_color": "black", "dropdown_menu_item_checked_hover_bg_color": "Gold", "button_default_selected_border_color": "blue", "dropdown_menu_item_checked_hover_text_color": "Coral", "button_success_text_color": "white", "login_form_text_color": "green", "menu_hover_text_color": "#07fc03", "dropdown_menu_item_checked_text_color": "LightSalmon", "button_danger_text_color": "black", "menu_hover_bg_color": "#00349D", "header_search_text_color": "#36270a", "button_default_border_color": "red", "dropdown_menu_item_text_color": "#daf97b", "button_danger_bg_color": "pink", "button_default_bg_color": "yellow", "menu_sel_text_color": "#26cfe0", "button_success_border_color": "olive", "dropdown_menu_text_color": "#945d29", "dropdown_menu_bg_color": "#a4c7f5", "primary_button_text_color": "white", "header_search_bg_color": "#a4c7f5", "dropdown_menu_item_checked_bg_color": "LightGoldenrodYellow", "button_default_selected_bg_color": "orange", "primary_button_bg_color": "green", "entity_view_label_font_wight": "bold", "primary_button_selected_bg_color": "pink", "primary_button_selected_border_color": "red", "header_text_color": "#36270a", "button_danger_selected_text_color": "green", "primary_button_border_color": "white", "menu_sel_bg_color": "#636260", "button_success_selected_border_color": "red", "login_form_background_color": "#fcd483", "dropdown_menu_item_hover_text_color": "OrangeRed", "header_background_color": "#c4922d", "button_success_selected_bg_color": "PaleVioletRed", "button_danger_border_color": "purple", "button_default_text_color": "red", "button_success_bg_color": "orange", "button_danger_selected_bg_color": "yellow", "button_danger_selected_border_color": "red", "primary_button_selected_text_color": "red", "workspace_bg": "#cadee0", "button_default_selected_text_color": "blue", "dropdown_menu_item_hover_bg_color": "RoyalBlue", "menu_background_color": "#cdc1bb", "button_success_selected_text_color": "black" } }
For more information about the color schema properties of Data Director, see Default Color Schema.

0 COMMENTS

We’d like to hear from you!