POST api/answer/addbatch
创建回答批次(每一次题下发都应先请求此接口,并将请求结果一并下发)
Request Information
URI Parameters
None.
Body Parameters
批次信息
AnswerBatchName | Description | Type | Additional information |
---|---|---|---|
ResourceTypeCode |
资源类型 |
string |
None. |
OriginType |
答题源类型(1.课前预习,2.课堂交互,3.课后作业,4.自习) |
BatchType |
None. |
Id |
主键 |
globally unique identifier |
None. |
CreatedTime |
创建时间 |
date |
None. |
IsDeleted |
是否删除 |
boolean |
None. |
LastUpdatedTime |
最后更新时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ResourceTypeCode": "sample string 1", "OriginType": 1, "Id": "49284b34-6b27-4cd5-b98d-478e6c641aa4", "CreatedTime": "2024-09-25T00:12:00.5312263+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:12:00.5312263+08:00" }
text/html
Sample:
{"ResourceTypeCode":"sample string 1","OriginType":1,"Id":"49284b34-6b27-4cd5-b98d-478e6c641aa4","CreatedTime":"2024-09-25T00:12:00.5312263+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:12:00.5312263+08:00"}
application/xml, text/xml
Sample:
<AnswerBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <CreatedTime>2024-09-25T00:12:00.5312263+08:00</CreatedTime> <Id>49284b34-6b27-4cd5-b98d-478e6c641aa4</Id> <IsDeleted>true</IsDeleted> <LastUpdatedTime>2024-09-25T00:12:00.5312263+08:00</LastUpdatedTime> <OriginType>课前预习</OriginType> <ResourceTypeCode>sample string 1</ResourceTypeCode> </AnswerBatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
创建回答批次(每一次题下发都应先请求此接口,并将请求结果一并下发)
JsonRtnDtoOfAnswerBatchName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | AnswerBatch |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "ResourceTypeCode": "sample string 1", "OriginType": 1, "Id": "e8be8750-307d-41f4-b41a-edb5b8ef3385", "CreatedTime": "2024-09-25T00:12:00.5469788+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:12:00.5469788+08:00" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"ResourceTypeCode":"sample string 1","OriginType":1,"Id":"e8be8750-307d-41f4-b41a-edb5b8ef3385","CreatedTime":"2024-09-25T00:12:00.5469788+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:12:00.5469788+08:00"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfAnswerBatchmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:CreatedTime>2024-09-25T00:12:00.5469788+08:00</d2p1:CreatedTime> <d2p1:Id>e8be8750-307d-41f4-b41a-edb5b8ef3385</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:LastUpdatedTime>2024-09-25T00:12:00.5469788+08:00</d2p1:LastUpdatedTime> <d2p1:OriginType>课前预习</d2p1:OriginType> <d2p1:ResourceTypeCode>sample string 1</d2p1:ResourceTypeCode> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfAnswerBatchmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ResourceTypeCode":"sample string 1","OriginType":1,"Id":"e8be8750-307d-41f4-b41a-edb5b8ef3385","CreatedTime":"2024-09-25T00:12:00.5469788+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:12:00.5469788+08:00"}});