POST api/testpaper/saveexamplanstu

保存考务学生表

Request Information

URI Parameters

None.

Body Parameters

学生参数

ExamPlanStudent
NameDescriptionTypeAdditional information
Id

主键ID

integer

None.

StuCode

学号

string

Max length: 30

StuName

姓名

string

Max length: 20

TeaCode

教师编号

string

Max length: 50

Sex

性别

string

Max length: 2

ClassName

班级

string

Max length: 50

ExamPlanId

分配的考务

globally unique identifier

None.

ExamPlaceId

分配的考场

integer

None.

CampusId

来自校区

integer

None.

SubjectId

科目

globally unique identifier

None.

ProfessionalCourseName

专业

string

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StuCode": "sample string 2",
  "StuName": "sample string 3",
  "TeaCode": "sample string 4",
  "Sex": "sample string 5",
  "ClassName": "sample string 6",
  "ExamPlanId": "762fbeec-0d12-42f1-b5a5-db5ff9e69272",
  "ExamPlaceId": 8,
  "CampusId": 9,
  "SubjectId": "420d392a-d27c-40c8-9144-a1a70fd010ad",
  "ProfessionalCourseName": "sample string 11",
  "CreatedTime": "2024-09-25T00:10:03.7253016+08:00"
}

text/html

Sample:
{"Id":1,"StuCode":"sample string 2","StuName":"sample string 3","TeaCode":"sample string 4","Sex":"sample string 5","ClassName":"sample string 6","ExamPlanId":"762fbeec-0d12-42f1-b5a5-db5ff9e69272","ExamPlaceId":8,"CampusId":9,"SubjectId":"420d392a-d27c-40c8-9144-a1a70fd010ad","ProfessionalCourseName":"sample string 11","CreatedTime":"2024-09-25T00:10:03.7253016+08:00"}

application/xml, text/xml

Sample:
<ExamPlanStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CampusId>9</CampusId>
  <ClassName>sample string 6</ClassName>
  <CreatedTime>2024-09-25T00:10:03.7253016+08:00</CreatedTime>
  <ExamPlaceId>8</ExamPlaceId>
  <ExamPlanId>762fbeec-0d12-42f1-b5a5-db5ff9e69272</ExamPlanId>
  <Id>1</Id>
  <ProfessionalCourseName>sample string 11</ProfessionalCourseName>
  <Sex>sample string 5</Sex>
  <StuCode>sample string 2</StuCode>
  <StuName>sample string 3</StuName>
  <SubjectId>420d392a-d27c-40c8-9144-a1a70fd010ad</SubjectId>
  <TeaCode>sample string 4</TeaCode>
</ExamPlanStudent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存考务学生表

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});