POST api/course/BuildResponseData
Request Information
URI Parameters
None.
Body Parameters
DataSetName | Description | Type | Additional information |
---|---|---|---|
RemotingFormat | SerializationFormat |
None. |
|
SchemaSerializationMode | SchemaSerializationMode |
None. |
|
CaseSensitive | boolean |
None. |
|
DefaultViewManager | Collection of Object |
None. |
|
EnforceConstraints | boolean |
None. |
|
DataSetName | string |
None. |
|
Namespace | string |
None. |
|
Prefix | string |
None. |
|
ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
HasErrors | boolean |
None. |
|
IsInitialized | boolean |
None. |
|
Locale | CultureInfo |
None. |
|
Site | ISite |
None. |
|
Relations | Collection of Object |
None. |
|
Tables | Collection of Object |
None. |
|
Container | IContainer |
None. |
|
DesignMode | boolean |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VideoDataName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
msg | string |
None. |
|
data | Data |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2", "data": { "vedio": { "src": "sample string 1", "onlinenumber": 2, "canErrortimes": 3, "vedioSize": 4, "picsrc": "sample string 5", "descs": "sample string 6", "title": "sample string 7", "startTime": "2024-11-25T17:29:20.5195482+08:00" }, "questions": [ { "questionID": 1, "question": "sample string 2", "answer": 3, "options": [ { "itemId": 1, "text": "sample string 2" }, { "itemId": 1, "text": "sample string 2" } ] }, { "questionID": 1, "question": "sample string 2", "answer": 3, "options": [ { "itemId": 1, "text": "sample string 2" }, { "itemId": 1, "text": "sample string 2" } ] } ] } }
application/xml, text/xml
Sample:
<courseController.VideoData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WechatAPI.Controllers"> <code>1</code> <data> <questions> <courseController.Question> <answer>3</answer> <options> <courseController.Option> <itemId>1</itemId> <text>sample string 2</text> </courseController.Option> <courseController.Option> <itemId>1</itemId> <text>sample string 2</text> </courseController.Option> </options> <question>sample string 2</question> <questionID>1</questionID> </courseController.Question> <courseController.Question> <answer>3</answer> <options> <courseController.Option> <itemId>1</itemId> <text>sample string 2</text> </courseController.Option> <courseController.Option> <itemId>1</itemId> <text>sample string 2</text> </courseController.Option> </options> <question>sample string 2</question> <questionID>1</questionID> </courseController.Question> </questions> <vedio> <canErrortimes>3</canErrortimes> <descs>sample string 6</descs> <onlinenumber>2</onlinenumber> <picsrc>sample string 5</picsrc> <src>sample string 1</src> <startTime>2024-11-25T17:29:20.5195482+08:00</startTime> <title>sample string 7</title> <vedioSize>4</vedioSize> </vedio> </data> <msg>sample string 2</msg> </courseController.VideoData>