POST api/interact/teacherpubthink
老师发起思想交流投票
Request Information
URI Parameters
None.
Body Parameters
参数
ThinkTeacherName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
globally unique identifier |
None. |
CourseId |
班课Id |
globally unique identifier |
None. |
Title |
标题 |
string |
None. |
QuestionsId |
试题id |
globally unique identifier |
None. |
ExpectedResult |
预期结果 |
string |
None. |
Comment |
评价 |
string |
None. |
TeacherId |
创建人 |
string |
None. |
CreateTime |
创建时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "f25fdac5-4cc6-4161-a81a-31abcf129623", "CourseId": "41ac9b8b-f283-4fb1-9196-21cc1f46afb0", "Title": "sample string 3", "QuestionsId": "fe0dcdd1-41f2-40b8-9e2a-16f4062b5086", "ExpectedResult": "sample string 5", "Comment": "sample string 6", "TeacherId": "sample string 7", "CreateTime": "2024-09-25T00:10:15.8435579+08:00" }
text/html
Sample:
{"Id":"f25fdac5-4cc6-4161-a81a-31abcf129623","CourseId":"41ac9b8b-f283-4fb1-9196-21cc1f46afb0","Title":"sample string 3","QuestionsId":"fe0dcdd1-41f2-40b8-9e2a-16f4062b5086","ExpectedResult":"sample string 5","Comment":"sample string 6","TeacherId":"sample string 7","CreateTime":"2024-09-25T00:10:15.8435579+08:00"}
application/xml, text/xml
Sample:
<ThinkTeacher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <Comment>sample string 6</Comment> <CourseId>41ac9b8b-f283-4fb1-9196-21cc1f46afb0</CourseId> <CreateTime>2024-09-25T00:10:15.8435579+08:00</CreateTime> <ExpectedResult>sample string 5</ExpectedResult> <Id>f25fdac5-4cc6-4161-a81a-31abcf129623</Id> <QuestionsId>fe0dcdd1-41f2-40b8-9e2a-16f4062b5086</QuestionsId> <TeacherId>sample string 7</TeacherId> <Title>sample string 3</Title> </ThinkTeacher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
老师发起思想交流投票
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});