POST api/Ast/SaveBaseConfig

Request Information

URI Parameters

None.

Body Parameters

SaveBaseConfigInput
NameDescriptionTypeAdditional information
ExamId

string

None.

SingleSection

decimal number

None.

TotalSection

decimal number

None.

LowLine

decimal number

None.

MiddleLine

decimal number

None.

HighLine

decimal number

None.

IsRound

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamId": "sample string 1",
  "SingleSection": 2.0,
  "TotalSection": 3.0,
  "LowLine": 4.0,
  "MiddleLine": 5.0,
  "HighLine": 6.0,
  "IsRound": 7
}

text/xml

Sample:
<SaveBaseConfigInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ast.Dtos.InputDtos">
  <ExamId>sample string 1</ExamId>
  <HighLine>6</HighLine>
  <IsRound>7</IsRound>
  <LowLine>4</LowLine>
  <MiddleLine>5</MiddleLine>
  <SingleSection>2</SingleSection>
  <TotalSection>3</TotalSection>
</SaveBaseConfigInput>

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 'SaveBaseConfigInput'.

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>