- 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
Add Option Set
fromal
https://api.mingdao.com
fromal
https://api.mingdao.com
POST
/v1/open/app/createOptionSet
Data includes: option set name, option set information (option value, sorting, color, score)
Request
Body Params application/json
name
string
required
options
array [object {5}]
required
value
string
required
index
string
required
isDeleted
string
required
color
string
required
score
string
required
colorful
boolean
required
enableScore
boolean
required
Example
{
"appKey": "5004e1f1c103fc82",
"sign": "MWQzYWJiNTNlYzZmNjZhNTA1NTExMGZhNzEyMjU3ZTMzM2Q2YWFmZWJkMTZjMWM1NTRjNDZiODUwNjc5OTUzNg==",
"name": " Test Option Set ",
"options": [
{
"value": " Passed ",
"index": "1",
"isDeleted": "false",
"color": "#C3F2F2",
"score": "1"
},
{
"value": " Not passed ",
"index": 1,
"isDeleted": false,
"color": "red",
"score": 1.5
}
],
"colorful": false,
"enableScore": false
}
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 POST 'https://api.mingdao.com/v1/open/app/createOptionSet' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "5004e1f1c103fc82",
"sign": "MWQzYWJiNTNlYzZmNjZhNTA1NTExMGZhNzEyMjU3ZTMzM2Q2YWFmZWJkMTZjMWM1NTRjNDZiODUwNjc5OTUzNg==",
"name": " Test Option Set ",
"options": [
{
"value": " Passed ",
"index": "1",
"isDeleted": "false",
"color": "#C3F2F2",
"score": "1"
},
{
"value": " Not passed ",
"index": 1,
"isDeleted": false,
"color": "red",
"score": 1.5
}
],
"colorful": false,
"enableScore": false
}'
Responses
🟢200成功
application/json
Body
success
boolean
required
code
integer
required
msg
string
required
data
object
required
collectionId
string
required
Example
{
"success": true,
"code": 0,
"msg": "string",
"data": {
"collectionId": "string"
}
}
🟠401没有权限
🟠404记录不存在
Modified at 2025-04-07 02:45:08