POST api/papertype/save

保存修改

Request Information

URI Parameters

None.

Body Parameters

PaperType
NameDescriptionTypeAdditional information
Id

试卷类型

integer

None.

ProfessionalCourseId

课程编号

integer

None.

ProfessionalCoursePath

课程路径

string

None.

Sort

排序

integer

None.

PId

父级编号

integer

None.

Path

路径

string

None.

LastUpdatedTime

最后更新时间

date

None.

TagName

标签名称

string

Max length: 50

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProfessionalCourseId": 2,
  "ProfessionalCoursePath": "sample string 3",
  "Sort": 4,
  "PId": 5,
  "Path": "sample string 6",
  "LastUpdatedTime": "2024-09-21T08:55:18.3472979+08:00",
  "TagName": "sample string 8",
  "CreatedTime": "2024-09-21T08:55:18.3472979+08:00"
}

text/html

Sample:
{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.3472979+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.3472979+08:00"}

application/xml, text/xml

Sample:
<PaperType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CreatedTime>2024-09-21T08:55:18.3472979+08:00</CreatedTime>
  <Id>1</Id>
  <LastUpdatedTime>2024-09-21T08:55:18.3472979+08:00</LastUpdatedTime>
  <PId>5</PId>
  <Path>sample string 6</Path>
  <ProfessionalCourseId>2</ProfessionalCourseId>
  <ProfessionalCoursePath>sample string 3</ProfessionalCoursePath>
  <Sort>4</Sort>
  <TagName>sample string 8</TagName>
</PaperType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存修改

JsonRtnDtoOfPaperType
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PaperType

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "ProfessionalCourseId": 2,
    "ProfessionalCoursePath": "sample string 3",
    "Sort": 4,
    "PId": 5,
    "Path": "sample string 6",
    "LastUpdatedTime": "2024-09-21T08:55:18.3472979+08:00",
    "TagName": "sample string 8",
    "CreatedTime": "2024-09-21T08:55:18.3472979+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.3472979+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.3472979+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPaperTypemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:CreatedTime>2024-09-21T08:55:18.3472979+08:00</d2p1:CreatedTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:LastUpdatedTime>2024-09-21T08:55:18.3472979+08:00</d2p1:LastUpdatedTime>
    <d2p1:PId>5</d2p1:PId>
    <d2p1:Path>sample string 6</d2p1:Path>
    <d2p1:ProfessionalCourseId>2</d2p1:ProfessionalCourseId>
    <d2p1:ProfessionalCoursePath>sample string 3</d2p1:ProfessionalCoursePath>
    <d2p1:Sort>4</d2p1:Sort>
    <d2p1:TagName>sample string 8</d2p1:TagName>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPaperTypemEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.3472979+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.3472979+08:00"}});