{
    "appKey": "422e5a5d0e570105",
    "sign": "MzkzMDY3Mzk1NjM0YjkyNjE1YzI2N2ZhNDEzZGE3ZTQwMzQ3ZWJkNzI1ZDc2NjcxYTdkY2ViMzVhZGJlNTI0Yg==",
    "appId": "bd75405e-4c8e-4dba-8b43-9820c0b53ec2",
    "projectId": "28447959-cf7f-4ae9-9074-8977ce48e2a0",
    "hideAppForMembers": false,
    "roleType": 0,
    "permissionWay": 0,
    "sheets": [
        {
            "sheetId": "67cff5821131169abf7ef611",
            "sheetName": " Organization Management ",
            "canAdd": true,
            "readLevel": 100,
            "editLevel": 100,
            "removeLevel": 100,
            "views": [
                {
                    "viewId": "67cff5821131169abf7ef615",
                    "viewName": " All ",
                    "canRead": true,
                    "canEdit": true,
                    "canRemove": true,
                    "type": 0
                }
            ],
            "fields": [
                {
                    "fieldId": "ownerid",
                    "type": 26,
                    "fieldName": " Owner ",
                    "notRead": false,
                    "notEdit": false,
                    "notAdd": false,
                    "isDecrypt": false,
                    "isReadField": false,
                    "hideWhenAdded": true,
                    "isHide": false
                }
            ],
            "worksheetAddRecord": {
                "enable": true
            },
            "worksheetShareView": {
                "enable": true
            },
            "worksheetImport": {
                "enable": true
            },
            "worksheetExport": {
                "enable": true
            },
            "worksheetDiscuss": {
                "enable": true
            },
            "worksheetLogging": {
                "enable": true
            },
            "worksheetBatchOperation": {
                "enable": true
            },
            "recordShare": {
                "enable": true
            },
            "recordDiscussion": {
                "enable": true
            },
            "recordSystemPrinting": {
                "enable": true
            },
            "recordAttachmentDownload": {
                "enable": true
            },
            "recordLogging": {
                "enable": true
            },
            "payment": {
                "enable": true
            }
        }
    ],
    "extendAttrs": [],
    "optionalControls": [],
    "pages": [
        {
            "pageId": "67617eef1657b7ae33be5ae2",
            "name": "0",
            "checked": true,
            "navigateHide": false,
            "sortIndex": 8,
            "iconUrl": "https://fp1.mingdaoyun.cn/customIcon/dashboard.svg"
        }
    ],
    "roleCategory": 0,
    "generalAdd": {
        "enable": true
    },
    "gneralShare": {
        "enable": true
    },
    "generalImport": {
        "enable": true
    },
    "generalExport": {
        "enable": true
    },
    "generalDiscussion": {
        "enable": true
    },
    "generalSystemPrinting": {
        "enable": true
    },
    "generalAttachmentDownload": {
        "enable": true
    },
    "generalLogging": {
        "enable": true
    },
    "description": "",
    "name": " New Character 40"
}curl --location --request POST 'https://api.mingdao.com/v1/open/app/createRole' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appKey": "422e5a5d0e570105",
    "sign": "MzkzMDY3Mzk1NjM0YjkyNjE1YzI2N2ZhNDEzZGE3ZTQwMzQ3ZWJkNzI1ZDc2NjcxYTdkY2ViMzVhZGJlNTI0Yg==",
    "appId": "bd75405e-4c8e-4dba-8b43-9820c0b53ec2",
    "projectId": "28447959-cf7f-4ae9-9074-8977ce48e2a0",
    "hideAppForMembers": false,
    "roleType": 0,
    "permissionWay": 0,
    "sheets": [
        {
            "sheetId": "67cff5821131169abf7ef611",
            "sheetName": " Organization Management ",
            "canAdd": true,
            "readLevel": 100,
            "editLevel": 100,
            "removeLevel": 100,
            "views": [
                {
                    "viewId": "67cff5821131169abf7ef615",
                    "viewName": " All ",
                    "canRead": true,
                    "canEdit": true,
                    "canRemove": true,
                    "type": 0
                }
            ],
            "fields": [
                {
                    "fieldId": "ownerid",
                    "type": 26,
                    "fieldName": " Owner ",
                    "notRead": false,
                    "notEdit": false,
                    "notAdd": false,
                    "isDecrypt": false,
                    "isReadField": false,
                    "hideWhenAdded": true,
                    "isHide": false
                }
            ],
            "worksheetAddRecord": {
                "enable": true
            },
            "worksheetShareView": {
                "enable": true
            },
            "worksheetImport": {
                "enable": true
            },
            "worksheetExport": {
                "enable": true
            },
            "worksheetDiscuss": {
                "enable": true
            },
            "worksheetLogging": {
                "enable": true
            },
            "worksheetBatchOperation": {
                "enable": true
            },
            "recordShare": {
                "enable": true
            },
            "recordDiscussion": {
                "enable": true
            },
            "recordSystemPrinting": {
                "enable": true
            },
            "recordAttachmentDownload": {
                "enable": true
            },
            "recordLogging": {
                "enable": true
            },
            "payment": {
                "enable": true
            }
        }
    ],
    "extendAttrs": [],
    "optionalControls": [],
    "pages": [
        {
            "pageId": "67617eef1657b7ae33be5ae2",
            "name": "0",
            "checked": true,
            "navigateHide": false,
            "sortIndex": 8,
            "iconUrl": "https://fp1.mingdaoyun.cn/customIcon/dashboard.svg"
        }
    ],
    "roleCategory": 0,
    "generalAdd": {
        "enable": true
    },
    "gneralShare": {
        "enable": true
    },
    "generalImport": {
        "enable": true
    },
    "generalExport": {
        "enable": true
    },
    "generalDiscussion": {
        "enable": true
    },
    "generalSystemPrinting": {
        "enable": true
    },
    "generalAttachmentDownload": {
        "enable": true
    },
    "generalLogging": {
        "enable": true
    },
    "description": "",
    "name": " New Character 40"
}'{
    "data": {
        "roleId": "6825715d-92cc-4e15-83ce-8e39d1a667bc",
        "name": " New Character 40",
        "roleType": 0,
        "desc": "",
        "users": [],
        "departments": [],
        "departmentTrees": [],
        "projectOrganizes": [],
        "jobs": []
    },
    "success": true,
    "error_code": 1
}