The method allows to retrieve screen items according to the given parameters.

    (object) Parameters defining the desired output.

    (integer/array) Returns either:

    • an array of objects;

    Retrieving screen items from screen

    Retrieve all screen items from the given screen.

    Request:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": [
    4. {
    5. "screenitemid": "20",
    6. "screenid": "3",
    7. "resourcetype": "0",
    8. "resourceid": "433",
    9. "width": "500",
    10. "height": "120",
    11. "x": "0",
    12. "y": "0",
    13. "colspan": "1",
    14. "rowspan": "1",
    15. "elements": "0",
    16. "valign": "1",
    17. "halign": "0",
    18. "style": "0",
    19. "url": "",
    20. "dynamic": "0",
    21. "sort_triggers": "0",
    22. "application": "",
    23. "max_columns": "3"
    24. },
    25. "screenid": "3",
    26. "resourcetype": "0",
    27. "resourceid": "387",
    28. "width": "500",
    29. "height": "100",
    30. "x": "0",
    31. "y": "1",
    32. "colspan": "1",
    33. "rowspan": "1",
    34. "elements": "0",
    35. "valign": "1",
    36. "halign": "0",
    37. "style": "0",
    38. "url": "",
    39. "dynamic": "0",
    40. "sort_triggers": "0",
    41. "application": "",
    42. "max_columns": "3"
    43. },
    44. {
    45. "screenitemid": "22",
    46. "screenid": "3",
    47. "resourcetype": "1",
    48. "resourceid": "10013",
    49. "width": "500",
    50. "height": "148",
    51. "x": "1",
    52. "y": "0",
    53. "colspan": "1",
    54. "rowspan": "1",
    55. "elements": "0",
    56. "halign": "0",
    57. "style": "0",
    58. "url": "",
    59. "dynamic": "0",
    60. "sort_triggers": "0",
    61. "application": "",
    62. "max_columns": "3"
    63. },
    64. {
    65. "screenitemid": "23",
    66. "screenid": "3",
    67. "resourcetype": "1",
    68. "resourceid": "22181",
    69. "width": "500",
    70. "height": "184",
    71. "x": "1",
    72. "y": "1",
    73. "colspan": "1",
    74. "rowspan": "1",
    75. "elements": "0",
    76. "valign": "1",
    77. "halign": "0",
    78. "style": "0",
    79. "url": "",
    80. "dynamic": "0",
    81. "sort_triggers": "0",
    82. "application": "",
    83. "max_columns": "3"
    84. }
    85. ],
    86. "id": 1

    CScreenItem::get() in frontends/php/include/classes/api/services/CScreenItem.php.