sdk.PermissionApi().listPermissionByParentId({ parentId:"" }).then(function(result) { alert("success"); } );