Application API
  1. Application Role
Application API
  • Development Guide
  • Filter
  • Filter Demo
  • ErrorCode
  • app
    • Get Application Information
      GET
  • worksheet
    • Create Worksheet
      POST
    • Get worksheet structure information
      POST
    • Get List
      POST
    • Create Row Record
      POST
    • Batch Create Row Records
      POST
    • Get Row Record Details
      GET
    • Get row record details
      POST
    • Update Row Record Details
      POST
    • Batch Update Row Record Details
      POST
    • Delete Row Record
      POST
    • Get associated record
      POST
    • Get Record Share Link
      POST
    • Get total row count of worksheet
      POST
    • Get Row Record Log
      POST
  • Application Role
    • Get Application Role List GET
      GET
    • Create Application Role
      POST
    • Delete Application Role
      POST
    • Add Application Role Member
      POST
    • Remove Application Role Member
      POST
    • Exit application
      POST
    • Get Role Details
      GET
  • Options Set
    • Add Option Set
    • Get Option Set
    • Edit Option Set
    • Delete Option Set
  • Get regional Information
    POST
  1. Application Role

Get Application Role List GET

fromal
https://api.mingdao.com
fromal
https://api.mingdao.com
GET
/v1/open/app/getRoles

Request

Query Params
appKey
string 
optional
Example:
401ea5361c510771
sign
string 
optional
Example:
NWE3NTFmYWQzNjJhYTBkMzk4YTQ5YjI2MDVlNDI4MDNkYTgxYzI4MTVlODJhNTI1YTdiNTEyMDRkMTExNDJlOA==

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mingdao.com/v1/open/app/getRoles?appKey=401ea5361c510771&sign=NWE3NTFmYWQzNjJhYTBkMzk4YTQ5YjI2MDVlNDI4MDNkYTgxYzI4MTVlODJhNTI1YTdiNTEyMDRkMTExNDJlOA=='

Responses

🟢200成功
application/json
Body
data
array [object {9}] 
required
roleId
string 
Role id
required
name
string 
Role name
required
roleType
integer 
Role Type
required
0 : custom role, 1 : system role
desc
string 
Role Description
required
users
array [object {3}] 
User Information
required
departments
array[string]
Department
required
departmentTrees
array[string]
Department Tree
required
projectOrganizes
array[string]
Organization Role
required
jobs
array[string]
Position
required
success
boolean 
required
error_code
integer 
required
Example
{
    "data": {
        "logs": [
            {
                "operatorInfo": {
                    "accountId": "e2453de8-1a6a-4d4f-ba36-87fdff880a20",
                    "fullname": " Bu Jiafei ",
                    "avatar": "https://p1.mingdaoyun.cn/UserAvatar/fe9c4374-68f1-4f64-88ea-47050dff28bd.jpg?imageView2/1/w/48/h/48/q/90",
                    "isPortal": false,
                    "status": 1
                },
                "operatContent": {
                    "worksheetId": "65dda1a5a608a40050774c78",
                    "objectId": "0bc19fb7-4100-43ad-8f0e-7d2879427677",
                    "uniqueId": "17434977474932162",
                    "objectType": 2,
                    "type": 2,
                    "requestType": 1,
                    "createTime": "2025-04-01 16:55:48",
                    "logData": [
                        {
                            "id": "632444f6182c34e9180b069f",
                            "name": " Price ",
                            "editType": 0,
                            "type": 8,
                            "oldValue": "9.9900000000000002",
                            "oldText": "",
                            "newValue": "1000",
                            "newText": "",
                            "isDeleted": false
                        }
                    ]
                }
            },
            {
                "operatorInfo": {
                    "accountId": "user-api",
                    "fullname": "API",
                    "avatar": "https://p1.mingdaoyun.cn/UserAvatar/worksheetapi.png?imageView2/1/w/48/h/48/q/90",
                    "isPortal": false,
                    "status": 1
                },
                "operatContent": {
                    "worksheetId": "65dda1a5a608a40050774c78",
                    "objectId": "0bc19fb7-4100-43ad-8f0e-7d2879427677",
                    "uniqueId": "66012d5a9c20ba7170852dd4",
                    "objectType": 2,
                    "type": 1,
                    "requestType": 4,
                    "createTime": "2024-03-25 15:52:58",
                    "logData": []
                }
            }
        ],
        "lastMark": "2024-03-25 15:52:58.120"
    },
    "success": true,
    "error_code": 1
}
Modified at 2025-04-07 02:46:13
Previous
Get Row Record Log
Next
Create Application Role
Built with