sdk.PermissionApi().listPermissionByAccountId({ accountId:"" }).then(function(result) { alert("success"); } );