POST api/ExportExcel

Request Information

URI Parameters

None.

Body Parameters

ExcelFile
NameDescriptionTypeAdditional information
SheetName

sheet名字

string

None.

FilePath

图片路径

string

None.

StrSql

查询数据库

string

None.

Type

类型

string

None.

Connstr

连接字符串

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SheetName": "sample string 1",
  "FilePath": "sample string 2",
  "StrSql": "sample string 3",
  "Type": "sample string 4",
  "Connstr": "sample string 5"
}

application/xml, text/xml

Sample:
<ExportExcelController.ExcelFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vizz.ROC.Resource.Controllers">
  <Connstr>sample string 5</Connstr>
  <FilePath>sample string 2</FilePath>
  <SheetName>sample string 1</SheetName>
  <StrSql>sample string 3</StrSql>
  <Type>sample string 4</Type>
</ExportExcelController.ExcelFile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.