POST api/Ast/SaveScoreConvert

Request Information

URI Parameters

None.

Body Parameters

RptScoreConvert
NameDescriptionTypeAdditional information
ExamCourseId

string

None.

ConvertMode

integer

None.

TargetScore

decimal number

None.

LargerThanTarget

decimal number

None.

LessThanTarget

decimal number

None.

IsRound

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamCourseId": "sample string 1",
  "ConvertMode": 1,
  "TargetScore": 1.0,
  "LargerThanTarget": 1.0,
  "LessThanTarget": 1.0,
  "IsRound": 1
}

text/xml

Sample:
<RptScoreConvert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ast.Entities">
  <ConvertMode>1</ConvertMode>
  <ExamCourseId>sample string 1</ExamCourseId>
  <IsRound>1</IsRound>
  <LargerThanTarget>1</LargerThanTarget>
  <LessThanTarget>1</LessThanTarget>
  <TargetScore>1</TargetScore>
</RptScoreConvert>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RptScoreConvert'.

Response Information

Resource Description

ServiceResult
NameDescriptionTypeAdditional information
RetCode

integer

None.

Msg

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "RetCode": 1,
  "Msg": "sample string 2",
  "Result": {}
}

text/xml

Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking">
  <Msg>sample string 2</Msg>
  <Result />
  <RetCode>1</RetCode>
</ServiceResult>