POST api/course/GenerateOptions

Request Information

URI Parameters

None.

Body Parameters

DataRow
NameDescriptionTypeAdditional information
RowError

string

None.

RowState

DataRowState

None.

Table

DataTable

None.

Item

Object

None.

Item

Object

None.

Item

Object

None.

Item

Object

None.

Item

Object

None.

Item

Object

None.

ItemArray

Collection of Object

None.

HasErrors

boolean

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Option
NameDescriptionTypeAdditional information
itemId

integer

None.

text

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "itemId": 1,
    "text": "sample string 2"
  },
  {
    "itemId": 1,
    "text": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfcourseController.Option xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WechatAPI.Controllers">
  <courseController.Option>
    <itemId>1</itemId>
    <text>sample string 2</text>
  </courseController.Option>
  <courseController.Option>
    <itemId>1</itemId>
    <text>sample string 2</text>
  </courseController.Option>
</ArrayOfcourseController.Option>