POST api/inventario/parsearExcel
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ExcelParseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| exito | boolean |
None. |
|
| mensaje | string |
None. |
|
| hoja | string |
None. |
|
| columnas | Collection of string |
None. |
|
| filas | Collection of Dictionary of string [key] and Object [value] |
None. |
|
| totalFilas | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"exito": true,
"mensaje": "sample string 2",
"hoja": "sample string 3",
"columnas": [
"sample string 1",
"sample string 2"
],
"filas": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
],
"totalFilas": 4
}
application/xml, text/xml
Sample:
<ExcelParseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models">
<columnas xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</columnas>
<exito>true</exito>
<filas xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
</filas>
<hoja>sample string 3</hoja>
<mensaje>sample string 2</mensaje>
<totalFilas>4</totalFilas>
</ExcelParseResponse>