POST api/devoluciones/insertar
Request Information
URI Parameters
None.
Body Parameters
DevolucionName | Description | Type | Additional information |
---|---|---|---|
IdDevolucion | integer |
None. |
|
IdVenta | integer |
None. |
|
Fecha | date |
None. |
|
Motivo | string |
None. |
|
Venta | Venta |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdDevolucion": 1, "IdVenta": 1, "Fecha": "2025-07-08T02:28:21.2836655-05:00", "Motivo": "sample string 3", "Venta": { "IdVenta": 1, "Fecha": "2025-07-08T02:28:21.2992869-05:00", "IdCliente": 1, "IdEmpleado": 1, "IdSucursal": 1, "Total": 3.0, "Cliente": { "IdCliente": 1, "Nombre": "sample string 2", "Apellido": "sample string 3", "Documento": "sample string 4", "Telefono": "sample string 5", "Email": "sample string 6" }, "Empleado": { "IdEmpleado": 1, "Nombre": "sample string 2", "Apellido": "sample string 3", "Documento": "sample string 4", "Telefono": "sample string 5", "Email": "sample string 6", "Cargo": "sample string 7", "IdSucursal": 1, "Sucursal": { "IdSucursal": 1, "Nombre": "sample string 2", "Direccion": "sample string 3", "IdCiudad": 1, "Ciudad": { "IdCiudad": 1, "Nombre": "sample string 2" } } }, "Sucursal": { "IdSucursal": 1, "Nombre": "sample string 2", "Direccion": "sample string 3", "IdCiudad": 1, "Ciudad": { "IdCiudad": 1, "Nombre": "sample string 2" } } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.