创建(点播/定时直播)活动
POST
https://saas-open.vhall.com/v3/webinars/webinar/create-demand
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/webinars/webinar/create-demand' \
--header 'platform: 15' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'subject=openAPI创建定时直播不传画质字段' \
--data-urlencode 'introduction=这是一个活动简介' \
--data-urlencode 'record_id=799703' \
--data-urlencode 'webinar_curr_num=0' \
--data-urlencode 'is_private=0' \
--data-urlencode 'hide_watch=1' \
--data-urlencode 'hide_pv=1' \
--data-urlencode 'is_timing=1' \
--data-urlencode 'start_time=2025-01-18 15:06' \
--data-urlencode 'is_adi_watch_doc=0' \
--data-urlencode 'hide_appointment=1' \
--data-urlencode 'webinar_show_type=1' \
--data-urlencode 'webinar_type=2' \
--data-urlencode 'category=1' \
--data-urlencode 'auto_record=1' \
--data-urlencode 'is_capacity=0' \
--data-urlencode 'no_delay_webinar=0' \
--data-urlencode 'is_director=0' \
--data-urlencode 'live_subtitle_type=0' \
--data-urlencode 'app_key=' \
--data-urlencode 'sign_type=' \
--data-urlencode 'signed_at=' \
--data-urlencode 'sign='
响应示例响应示例
{
"code": 0,
"msg": "string",
"data": {
"webinar_id": 0
}
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数application/x-www-form-urlencoded
subject
string
必需
示例值:
openAPI创建定时直播不传画质字段
introduction
string
必需
示例值:
这是一个活动简介
record_id
integer
必需
示例值:
799703
webinar_curr_num
integer
必需
示例值:
0
user_id
integer
可选
示例值:
34325341
img_url
string
可选
示例值:
https://example.com/cover.jpg
is_private
integer
可选
示例值:
0
hide_watch
integer
可选
示例值:
1
hide_pv
integer
可选
示例值:
1
is_no_paas
integer
可选
示例值:
1
is_timing
integer
可选
示例值:
1
start_time
string
可选
is_timing
为 1 时生效示例值:
2025-01-18 15:06
is_adi_watch_doc
integer
可选
示例值:
0
hide_appointment
integer
可选
示例值:
1
label_ids
string
可选
示例值:
21011,11202
webinar_show_type
integer
可选
示例值:
1
copy_webinar_id
integer
可选
示例值:
297817005
webinar_type
string
可选
示例值:
2
category
string
可选
示例值:
1
auto_record
string
可选
示例值:
1
is_capacity
string
可选
示例值:
0
no_delay_webinar
string
可选
示例值:
0
is_director
string
可选
示例值:
0
live_subtitle_type
string
可选
示例值:
0
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-06-19 02:09:30