curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_form_info' \
--header 'Content-Type: application/json' \
--data-raw '{
"formid":"FORMID"
}'
{
"errcode": 0,
"errmsg": "ok",
"form_info": {
"formid": "FORMID1",
"form_title": "api创建的收集表_周期",
"form_desc": "这是描述",
"form_header": "URL",
"form_question": {
"items": [
{
"question_id": 1,
"title": "问题1",
"pos": 1,
"status": 1,
"reply_type": 1,
"must_reply": true,
"note": "问题备注1",
"placeholder": "提示1"
},
{
"question_id": 2,
"title": "问题2",
"pos": 2,
"status": 1,
"reply_type": 2,
"must_reply": false,
"note": "问题备注2",
"option_item": [
{
"key": 1,
"value": "A",
"status": 1
},
{
"key": 2,
"value": "B",
"status": 1
},
{
"key": 3,
"value": "C",
"status": 1
}
],
"placeholder": "提示2"
}
]
},
"form_setting": {
"fill_out_auth": 1,
"fill_in_range": {
"departmentids": [
1
],
"userids": [
"USERID1",
"USERID2"
]
},
"setting_manager_range": {
"userids": [
"USERID1",
"USERID2"
]
},
"timed_repeat_info": {
"enable": true,
"remind_time": 1668389400,
"rule_ctime": 1668418140,
"rule_mtime": 1668418140,
"repeat_type": 1,
"skip_holiday": false
},
"max_fill_cnt": 0,
"timed_finish": 0,
"can_anonymous": false,
"can_notify_submit": true
},
"repeated_id": [
"REPEAT_ID1"
]
}
}