Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

templatedashboard.?????

?????

object templatedashboard.update(object/array templateDashboards)

???? ?? ?????? ????? ????? ??????? ?? ?????? ??????.

???? ?? ????? ?? ?-Admin ?-Super Admin ???? ???????. ???? ???? ?????? ????? ????? ?????? ????? ??????. ??? ????? ??????? ????? ????.

???????

(???????/????) ??????? ??? ???????? ?? ????? ??? ?????.

?? ????? ?? ??????? dashboardid ???? ?? ??? ???????, ??? ????? ????? ?? ???????????. ?? ????????? ?????? ???? ??????????.

????? ???? ???????? ?? ?????? ????????? properties, ????? ????? ?? ?????? ????? ???????.

????? ??? ?????
pages array ??? ???????? ?? ?????? pages ??? ?????? ?? ??? ??? ???????? ???????.

??? ??? ???????? ???????? ?? ??? ??????? dashboard_pageid. ??? ??? ??????? ????? ??????? ???? ????????? ??? ?????? dashboard_pageid ???? ??? ???????? ??????? ?????? ?? ?? ???? ??? ????? ????. ??? ??? ???????? ?????? ????? ??? ??? ?????. ?? ????????? ?????? ?? ??? ??? ???????? ???????. ???? ????? ??????? ???? ??? ?? ??? ???????? ???? ?????? ????.

???? ?????

(object) ?????? ??????? ????? ?? ?????? ?? ?????? ???????? ????? ??????? ??? ??????? dashboardids.

???????

????? ?? ?? ??? ??????? ?? ?????

??? ?? ??? ??????? ?? ????? ?"???? ???????".

?????????:

{
            "jsonrpc": "2.0",
            "method": "templatedashboard.update",
            "params": {
                "dashboardid": "23",
                "name": "???? ???????"
            },
            "auth": "038e1d7b1735c6a5436ee9eae095879e",
            "????": 1
       }

????????:

{
            "jsonrpc": "2.0",
            "?????": {
                "dashboardids": [
                    "23"
                ]
            },
            "????": 1
       }

????? ??? ??? ???????? ?? ???????

??? ?? ?? ??? ?????? ?? ??? ????????, ???? ?????'??? ???? ???????? ???? ???? ????? ?? ??? ???? ??????. ??? ?? ?? ??? ??? ???????? ????.

?????????:

{
            "jsonrpc": "2.0",
            "method": "templatedashboard.update",
            "params": {
                "dashboardid": "2",
                "??????": [
                    {
                        "dashboard_pageid": 1,
                        "name": '?? ???? ???'
                    },
                    {
                        "dashboard_pageid": 2,
                        "?????????": [
                            {
                                "type": "????",
                                "x": 0,
                                "y": 0,
                                "????": 4,
                                "????": 3
                            }
                        ]
                    },
                    {
                        "?????_?????": 60
                    }
                ]
            },
            "auth": "038e1d7b1735c6a5436ee9eae095879e",
            "????": 1
       }

????????:

{
            "jsonrpc": "2.0",
            "?????": {
                "dashboardids": [
                    "2"
                ]
            },
            "????": 2
       }

??? ??

????

CTemplateDashboard::update()? ???? ui/include/classes/api/services/CTemplateDashboard.php.