POST api/Ast/ExportToExcel

Request Information

URI Parameters

None.

Body Parameters

ExportToExcelInput
NameDescriptionTypeAdditional information
ExamCourseId

string

None.

OrgId

string

None.

Grade

string

None.

ExportType

integer

None.

UserId

string

None.

ExamId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamCourseId": "sample string 1",
  "OrgId": "sample string 2",
  "Grade": "sample string 3",
  "ExportType": 4,
  "UserId": "sample string 5",
  "ExamId": "sample string 6"
}

text/xml

Sample:
<ExportToExcelInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Pub.Dtos.InputDtos">
  <ExamCourseId>sample string 1</ExamCourseId>
  <ExamId>sample string 6</ExamId>
  <ExportType>4</ExportType>
  <Grade>sample string 3</Grade>
  <OrgId>sample string 2</OrgId>
  <UserId>sample string 5</UserId>
</ExportToExcelInput>

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

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>