GET api/homework/loadexamteachingclass?paperId={paperId}&showAll={showAll}
加载参考教学班级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
paperId | globally unique identifier |
Required |
|
showAll | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
加载参考教学班级
JsonRtnDtoOfListOfTestClassLiShowDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of TestClassLiShowDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "ClassType": 1, "TeachingClassId": "abef21a7-606f-414a-85ee-8ccd85fdc35c", "TeachingClassName": "sample string 2", "TeacherName": "sample string 3", "StructureId": 4, "PId": 1, "StructureName": "sample string 5", "TestPaperId": "5ce66eda-df6f-4a10-906c-0021d6cdc28a", "UserId": 7 }, { "ClassType": 1, "TeachingClassId": "abef21a7-606f-414a-85ee-8ccd85fdc35c", "TeachingClassName": "sample string 2", "TeacherName": "sample string 3", "StructureId": 4, "PId": 1, "StructureName": "sample string 5", "TestPaperId": "5ce66eda-df6f-4a10-906c-0021d6cdc28a", "UserId": 7 } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ClassType":1,"TeachingClassId":"abef21a7-606f-414a-85ee-8ccd85fdc35c","TeachingClassName":"sample string 2","TeacherName":"sample string 3","StructureId":4,"PId":1,"StructureName":"sample string 5","TestPaperId":"5ce66eda-df6f-4a10-906c-0021d6cdc28a","UserId":7},{"ClassType":1,"TeachingClassId":"abef21a7-606f-414a-85ee-8ccd85fdc35c","TeachingClassName":"sample string 2","TeacherName":"sample string 3","StructureId":4,"PId":1,"StructureName":"sample string 5","TestPaperId":"5ce66eda-df6f-4a10-906c-0021d6cdc28a","UserId":7}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfTestClassLiShowDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <TestClassLiShowDto> <ClassType>教学班级</ClassType> <PId>1</PId> <StructureId>4</StructureId> <StructureName>sample string 5</StructureName> <TeacherName>sample string 3</TeacherName> <TeachingClassId>abef21a7-606f-414a-85ee-8ccd85fdc35c</TeachingClassId> <TeachingClassName>sample string 2</TeachingClassName> <TestPaperId>5ce66eda-df6f-4a10-906c-0021d6cdc28a</TestPaperId> <UserId>7</UserId> </TestClassLiShowDto> <TestClassLiShowDto> <ClassType>教学班级</ClassType> <PId>1</PId> <StructureId>4</StructureId> <StructureName>sample string 5</StructureName> <TeacherName>sample string 3</TeacherName> <TeachingClassId>abef21a7-606f-414a-85ee-8ccd85fdc35c</TeachingClassId> <TeachingClassName>sample string 2</TeachingClassName> <TestPaperId>5ce66eda-df6f-4a10-906c-0021d6cdc28a</TestPaperId> <UserId>7</UserId> </TestClassLiShowDto> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfTestClassLiShowDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ClassType":1,"TeachingClassId":"abef21a7-606f-414a-85ee-8ccd85fdc35c","TeachingClassName":"sample string 2","TeacherName":"sample string 3","StructureId":4,"PId":1,"StructureName":"sample string 5","TestPaperId":"5ce66eda-df6f-4a10-906c-0021d6cdc28a","UserId":7},{"ClassType":1,"TeachingClassId":"abef21a7-606f-414a-85ee-8ccd85fdc35c","TeachingClassName":"sample string 2","TeacherName":"sample string 3","StructureId":4,"PId":1,"StructureName":"sample string 5","TestPaperId":"5ce66eda-df6f-4a10-906c-0021d6cdc28a","UserId":7}]});