GET api/homework/GetHomeWorkNames

加载所有作业名称

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

加载所有作业名称

JsonRtnDtoOfListOfHomeWorkNameOutput
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of HomeWorkNameOutput

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "Id": "4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde",
      "PaperName": "sample string 2"
    },
    {
      "Id": "4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde",
      "PaperName": "sample string 2"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":"4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde","PaperName":"sample string 2"},{"Id":"4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde","PaperName":"sample string 2"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfHomeWorkNameOutputv3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <HomeWorkNameOutput>
      <Id>4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde</Id>
      <PaperName>sample string 2</PaperName>
    </HomeWorkNameOutput>
    <HomeWorkNameOutput>
      <Id>4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde</Id>
      <PaperName>sample string 2</PaperName>
    </HomeWorkNameOutput>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfHomeWorkNameOutputv3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":"4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde","PaperName":"sample string 2"},{"Id":"4d3f4bbf-a96f-4b3c-90d1-d4c52a63ccde","PaperName":"sample string 2"}]});