Application API
  1. worksheet
Application API
  • V3 (AI-friendly-beta)
    • Overview
    • Field Type Comparison Table
    • Guidelines for Using Filters
    • Error Code
    • application
      • Get application information
    • worksheet
      • Get worksheet structure information
        GET
      • Edit the worksheet
        POST
      • Delete worksheets
        DELETE
      • Create worksheet
        POST
    • worksheet Row Records
      • Get a list of line records
      • Get line record details
      • Update line records
      • Delete line records
      • Get relation records
      • Create a new row record
      • Add new line records in batches
      • Batch update line records
      • Batch delete row records
      • Obtain line record perspective data
      • Get record sharing links
      • Get a row record log
      • Get line record discussion
    • option set
      • Get a list of option sets
      • Create an option set
      • Edit option set
      • Delete option set
    • workflow
      • Get a list of processes
      • Get process details
      • Trigger process
    • role
      • Get a list of roles
      • create role
      • Get role details
      • remove roles
      • Add role members
      • Remove role members
      • Members withdraw from all roles
    • public query
      • find members
      • Find departments
      • Get regional information
  • V2
    • Development Guide
    • ErrorCode
    • Filter Demo
    • Filter
    • Options Set
      • Add Option Set
      • Get Option Set
      • Edit Option Set
      • Delete Option Set
    • Application Role
      • Get Application Role List GET
      • Create Application Role
      • Delete Application Role
      • Add Application Role Member
      • Remove Application Role Member
      • Exit application
      • Get Role Details
    • worksheet
      • Create Worksheet
      • Get worksheet structure information
      • Get List
      • Create Row Record
      • Batch Create Row Records
      • Get Row Record Details
      • Get row record details
      • Update Row Record Details
      • Batch Update Row Record Details
      • Delete Row Record
      • Get associated record
      • Get Record Share Link
      • Get total row count of worksheet
      • Get Row Record Log
    • app
      • Get Application Information
    • Public Inquiries
      • Get regional Information
    • Get Row Record Discussions
      POST
  1. worksheet

Create worksheet

Testing
fromal
https://api.mingdao.com
fromal
https://api.mingdao.com
POST
/v3/app/worksheets
Create a worksheet, currently supported field types are Text| Number| SingleSelect| MultipleSelect| Date| DateTime| Collaborator| Relation

Request

Header Params

Body Params application/json

Example
{
    "name": "Test New Worksheet",
    "sectionId": "",
    "fields": [
        {
            "name": "text",
            "alias": "",
            "type": "Text",
            "required": true,
            "isTitle": 1
        },
        {
            "name": "numerical",
            "alias": "",
            "type": "Number",
            "precision": 2,
            "required": true
        },
        {
            "name": "radio",
            "alias": "",
            "type": "SingleSelect",
            "options": [
                {
                    "value": "Option Name 1",
                    "index": 1
                },
                {
                    "value": "Option Name 2",
                    "index": 2
                }
            ],
            "required": true
        },
        {
            "name": "multiple choices",
            "alias": "",
            "type": "MultipleSelect",
            "options": [
                {
                    "value": "Option Name 1",
                    "index": 1
                },
                {
                    "value": "Option Name 2",
                    "index": 2
                },
                {
                    "value": "Option Name 3",
                    "index": 3
                }
            ],
            "required": true
        },
        {
            "name": "Time-hour",
            "alias": "",
            "type": "Time",
            "required": true,
            "subType": 1
        },
        {
            "name": "Time-Hours, Seconds and Seconds",
            "alias": "",
            "type": "Time",
            "required": true,
            "subType": 6
        },
        {
            "name": "Member-Single Choice",
            "type": 26,
            "alias": "",
            "subType": 0,
            "required": true
        },
        {
            "name": "Member-Multiple Choice",
            "type": "Collaborator",
            "alias": "",
            "subType": 1,
            "required": true
        },
        {
            "name": "Annex",
            "alias": "",
            "type": "Attachment",
            "required": true
        },
        {
            "name": "date",
            "alias": "",
            "type": "Date",
            "subType": 5,
            "required": true
        },
        {
            "name": "time",
            "alias": "",
            "type": "Date",
            "subType": 1,
            "required": true
        },
        {
            "name": "Association record",
            "alias": "",
            "type": "Relation",
            "subType": 1,
            "showFields": [],
            "dataSource": "",
            "required": true
        }
    ]
}

Request Code 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/v3/app/worksheets' \
--header 'HAP-Appkey: {{appkey}}' \
--header 'HAP-Sign: {{sign}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Test New Worksheet",
    "sectionId": "",
    "fields": [
        {
            "name": "text",
            "alias": "",
            "type": "Text",
            "required": true,
            "isTitle": 1
        },
        {
            "name": "numerical",
            "alias": "",
            "type": "Number",
            "precision": 2,
            "required": true
        },
        {
            "name": "radio",
            "alias": "",
            "type": "SingleSelect",
            "options": [
                {
                    "value": "Option Name 1",
                    "index": 1
                },
                {
                    "value": "Option Name 2",
                    "index": 2
                }
            ],
            "required": true
        },
        {
            "name": "multiple choices",
            "alias": "",
            "type": "MultipleSelect",
            "options": [
                {
                    "value": "Option Name 1",
                    "index": 1
                },
                {
                    "value": "Option Name 2",
                    "index": 2
                },
                {
                    "value": "Option Name 3",
                    "index": 3
                }
            ],
            "required": true
        },
        {
            "name": "Time-hour",
            "alias": "",
            "type": "Time",
            "required": true,
            "subType": 1
        },
        {
            "name": "Time-Hours, Seconds and Seconds",
            "alias": "",
            "type": "Time",
            "required": true,
            "subType": 6
        },
        {
            "name": "Member-Single Choice",
            "type": 26,
            "alias": "",
            "subType": 0,
            "required": true
        },
        {
            "name": "Member-Multiple Choice",
            "type": "Collaborator",
            "alias": "",
            "subType": 1,
            "required": true
        },
        {
            "name": "Annex",
            "alias": "",
            "type": "Attachment",
            "required": true
        },
        {
            "name": "date",
            "alias": "",
            "type": "Date",
            "subType": 5,
            "required": true
        },
        {
            "name": "time",
            "alias": "",
            "type": "Date",
            "subType": 1,
            "required": true
        },
        {
            "name": "Association record",
            "alias": "",
            "type": "Relation",
            "subType": 1,
            "showFields": [],
            "dataSource": "",
            "required": true
        }
    ]
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "data": {
        "worksheetId": ""
    },
    "success": true
}
Modified at 2025-08-22 06:43:06
Previous
Delete worksheets
Next
Get a list of line records
Built with