POST api/XlsDataImport
Request Information
URI Parameters
None.
Body Parameters
SheetNamesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| XlsFile | Collection of byte |
None. |
|
| FileName | string |
None. |
|
| WebApiAccessKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"XlsFile": "QEA=",
"FileName": "sample string 1",
"WebApiAccessKey": "sample string 2"
}
application/xml, text/xml
Sample:
<SheetNamesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iparcel.Common.Services.DaoService"> <WebApiAccessKey xmlns="http://schemas.datacontract.org/2004/07/Iparcel.Common.Services.Contracts">sample string 2</WebApiAccessKey> <FileName>sample string 1</FileName> <XlsFile>QEA=</XlsFile> </SheetNamesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SheetNamesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| FailureInformation | string |
None. |
|
| XlsSheetsData | Dictionary of integer [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"XlsSheetsData": {
"1": "sample string 2",
"3": "sample string 4"
},
"Success": true,
"FailureInformation": "sample string 2"
}
application/xml, text/xml
Sample:
<SheetNamesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iparcel.Common.Services.DaoService">
<FailureInformation xmlns="http://schemas.datacontract.org/2004/07/Iparcel.Common.Services.Contracts">sample string 2</FailureInformation>
<Success xmlns="http://schemas.datacontract.org/2004/07/Iparcel.Common.Services.Contracts">true</Success>
<XlsSheetsData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintstring>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfintstring>
<d2p1:KeyValueOfintstring>
<d2p1:Key>3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfintstring>
</XlsSheetsData>
</SheetNamesResponse>