POST api/ActualizarCompra
Request Information
URI Parameters
None.
Body Parameters
RespuestaComprasName | Description | Type | Additional information |
---|---|---|---|
idEncCompra | integer |
None. |
|
errorEnvio | boolean |
None. |
|
mensajeError | string |
None. |
|
folioCompra | integer |
None. |
|
listaProductos | Collection of Producto |
None. |
Request Formats
application/json, text/json
Sample:
{ "idEncCompra": 1, "errorEnvio": true, "mensajeError": "sample string 3", "folioCompra": 4, "listaProductos": [ { "codigoProducto": "sample string 1" }, { "codigoProducto": "sample string 1" } ] }
application/xml, text/xml
Sample:
<RespuestaCompras xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiVentas.Models"> <errorEnvio>true</errorEnvio> <folioCompra>4</folioCompra> <idEncCompra>1</idEncCompra> <listaProductos> <Producto> <codigoProducto>sample string 1</codigoProducto> </Producto> <Producto> <codigoProducto>sample string 1</codigoProducto> </Producto> </listaProductos> <mensajeError>sample string 3</mensajeError> </RespuestaCompras>
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/" />