POST api/InsertarEncDocErp
Request Information
URI Parameters
None.
Body Parameters
Collection of encDocERPName | Description | Type | Additional information |
---|---|---|---|
idInterno | integer |
None. |
|
folio | integer |
None. |
|
fechaEmision | date |
None. |
|
dia | integer |
None. |
|
mes | string |
None. |
|
ano | integer |
None. |
|
rut | string |
None. |
|
digito | string |
None. |
|
razonSocial | string |
None. |
|
direccion | string |
None. |
|
comuna | string |
None. |
|
ciudad | string |
None. |
|
giro | string |
None. |
|
fono | string |
None. |
|
idMedioPago | integer |
None. |
|
medioPago | string |
None. |
|
neto | decimal number |
None. |
|
iva | decimal number |
None. |
|
total | decimal number |
None. |
|
idVendedor | integer |
None. |
|
vendedor | string |
None. |
|
idCentroCosto | integer |
None. |
|
centroCosto | string |
None. |
|
idLocal | integer |
None. |
|
nombreLocal | string |
None. |
|
tipo | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "idInterno": 1, "folio": 2, "fechaEmision": "2025-04-03T16:40:12.1220577-07:00", "dia": 4, "mes": "sample string 5", "ano": 6, "rut": "sample string 7", "digito": "sample string 8", "razonSocial": "sample string 9", "direccion": "sample string 10", "comuna": "sample string 11", "ciudad": "sample string 12", "giro": "sample string 13", "fono": "sample string 14", "idMedioPago": 15, "medioPago": "sample string 16", "neto": 17.1, "iva": 18.1, "total": 19.1, "idVendedor": 20, "vendedor": "sample string 21", "idCentroCosto": 22, "centroCosto": "sample string 23", "idLocal": 24, "nombreLocal": "sample string 25", "tipo": 26 }, { "idInterno": 1, "folio": 2, "fechaEmision": "2025-04-03T16:40:12.1220577-07:00", "dia": 4, "mes": "sample string 5", "ano": 6, "rut": "sample string 7", "digito": "sample string 8", "razonSocial": "sample string 9", "direccion": "sample string 10", "comuna": "sample string 11", "ciudad": "sample string 12", "giro": "sample string 13", "fono": "sample string 14", "idMedioPago": 15, "medioPago": "sample string 16", "neto": 17.1, "iva": 18.1, "total": 19.1, "idVendedor": 20, "vendedor": "sample string 21", "idCentroCosto": 22, "centroCosto": "sample string 23", "idLocal": 24, "nombreLocal": "sample string 25", "tipo": 26 } ]
application/xml, text/xml
Sample:
<ArrayOfencDocERP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiVentas.Models"> <encDocERP> <ano>6</ano> <centroCosto>sample string 23</centroCosto> <ciudad>sample string 12</ciudad> <comuna>sample string 11</comuna> <dia>4</dia> <digito>sample string 8</digito> <direccion>sample string 10</direccion> <fechaEmision>2025-04-03T16:40:12.1220577-07:00</fechaEmision> <folio>2</folio> <fono>sample string 14</fono> <giro>sample string 13</giro> <idCentroCosto>22</idCentroCosto> <idInterno>1</idInterno> <idLocal>24</idLocal> <idMedioPago>15</idMedioPago> <idVendedor>20</idVendedor> <iva>18.1</iva> <medioPago>sample string 16</medioPago> <mes>sample string 5</mes> <neto>17.1</neto> <nombreLocal>sample string 25</nombreLocal> <razonSocial>sample string 9</razonSocial> <rut>sample string 7</rut> <tipo>26</tipo> <total>19.1</total> <vendedor>sample string 21</vendedor> </encDocERP> <encDocERP> <ano>6</ano> <centroCosto>sample string 23</centroCosto> <ciudad>sample string 12</ciudad> <comuna>sample string 11</comuna> <dia>4</dia> <digito>sample string 8</digito> <direccion>sample string 10</direccion> <fechaEmision>2025-04-03T16:40:12.1220577-07:00</fechaEmision> <folio>2</folio> <fono>sample string 14</fono> <giro>sample string 13</giro> <idCentroCosto>22</idCentroCosto> <idInterno>1</idInterno> <idLocal>24</idLocal> <idMedioPago>15</idMedioPago> <idVendedor>20</idVendedor> <iva>18.1</iva> <medioPago>sample string 16</medioPago> <mes>sample string 5</mes> <neto>17.1</neto> <nombreLocal>sample string 25</nombreLocal> <razonSocial>sample string 9</razonSocial> <rut>sample string 7</rut> <tipo>26</tipo> <total>19.1</total> <vendedor>sample string 21</vendedor> </encDocERP> </ArrayOfencDocERP>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />