- Development Guide
- Filter
- Filter Demo
- ErrorCode
- app
- worksheet
- Create Worksheet POST
- Get worksheet structure informationPOST
- Get ListPOST
- Create Row Record POST
- Batch Create Row Records POST
- Get Row Record Details GET
- Get row record detailsPOST
- Update Row Record Details POST
- Batch Update Row Record Details POST
- Delete Row RecordPOST
- Get associated recordPOST
- Get Record Share LinkPOST
- Get total row count of worksheet POST
- Get Row Record LogPOST
- Application Role
- Options Set
- Get regional InformationPOST
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
name
string
Role name
roleType
integer
Role Type
desc
string
Role Description
users
array [object {3}]
User Information
departments
array[string]
Department
departmentTrees
array[string]
Department Tree
projectOrganizes
array[string]
Organization Role
jobs
array[string]
Position
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