{
"appKey": "4fa7cd2c37b8444e",
"sign": "YjE5YTg4YTg2MmY2ZjQ4ZjUxMDcxNjk4YTI1MDRmYjQ0N2NkOGExYTJhODdkMDEzYWE3ZTFmMTIwODBlODk4Yg==",
"name": " China Airport Code ",
"sectionId": "",
"controls": [
{
"controlName": " Text ",
"alias": "",
"type": 2,
"required": true
},
{
"controlName": " Value ",
"alias": "",
"type": 6,
"dot": 2,
"required": true
},
{
"controlName": " Single Selection ",
"alias": "",
"type": 11,
"options": [
{
"value": " Option Name 1",
"index": 1
},
{
"value": " Option Name 2",
"index": 2
}
],
"required": true
},
{
"controlName": " Multiple Selection ",
"alias": "",
"type": 10,
"options": [
{
"value": " Option Name 1",
"index": 1
},
{
"value": " Option Name 2",
"index": 2
},
{
"value": " Option Name 3",
"index": 3
}
],
"required": true
},
{
"controlName": " Time - Hours and Minutes ",
"alias": "",
"type": 46,
"required": true,
"unit": 1
},
{
"controlName": " Time - Hours, Minutes, Seconds ",
"alias": "",
"type": 46,
"required": true,
"unit": 6
},
{
"controlName": " Member - Single Selection ",
"type": 26,
"alias": "",
"enumDefault": 0,
"required": true
},
{
"controlName": " Member - Multiple Selection ",
"type": 26,
"alias": "",
"enumDefault": 1,
"required": true
},
{
"controlName": " Attachment ",
"alias": "",
"type": 14,
"required": true
},
{
"controlName": " Date ",
"alias": "",
"type": 15,
"required": true
},
{
"controlName": " DateTime ",
"alias": "",
"type": 16,
"required": true
},
{
"controlName": " Related Records ",
"alias": "",
"type": 29,
"enumDefault": 1,
"dataSource": "676910ad8d09d8a189da06a0",
"required": true
}
]
}
curl --location --request POST 'https://api.mingdao.com/v2/open/worksheet/addWorksheet' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "4fa7cd2c37b8444e",
"sign": "YjE5YTg4YTg2MmY2ZjQ4ZjUxMDcxNjk4YTI1MDRmYjQ0N2NkOGExYTJhODdkMDEzYWE3ZTFmMTIwODBlODk4Yg==",
"name": " China Airport Code ",
"sectionId": "",
"controls": [
{
"controlName": " Text ",
"alias": "",
"type": 2,
"required": true
},
{
"controlName": " Value ",
"alias": "",
"type": 6,
"dot": 2,
"required": true
},
{
"controlName": " Single Selection ",
"alias": "",
"type": 11,
"options": [
{
"value": " Option Name 1",
"index": 1
},
{
"value": " Option Name 2",
"index": 2
}
],
"required": true
},
{
"controlName": " Multiple Selection ",
"alias": "",
"type": 10,
"options": [
{
"value": " Option Name 1",
"index": 1
},
{
"value": " Option Name 2",
"index": 2
},
{
"value": " Option Name 3",
"index": 3
}
],
"required": true
},
{
"controlName": " Time - Hours and Minutes ",
"alias": "",
"type": 46,
"required": true,
"unit": 1
},
{
"controlName": " Time - Hours, Minutes, Seconds ",
"alias": "",
"type": 46,
"required": true,
"unit": 6
},
{
"controlName": " Member - Single Selection ",
"type": 26,
"alias": "",
"enumDefault": 0,
"required": true
},
{
"controlName": " Member - Multiple Selection ",
"type": 26,
"alias": "",
"enumDefault": 1,
"required": true
},
{
"controlName": " Attachment ",
"alias": "",
"type": 14,
"required": true
},
{
"controlName": " Date ",
"alias": "",
"type": 15,
"required": true
},
{
"controlName": " DateTime ",
"alias": "",
"type": 16,
"required": true
},
{
"controlName": " Related Records ",
"alias": "",
"type": 29,
"enumDefault": 1,
"dataSource": "676910ad8d09d8a189da06a0",
"required": true
}
]
}'
{
"data": "67eb801bbb2af284541ae54c",
"success": true,
"error_code": 1
}