POST api/Facturas/Crear
Request Information
URI Parameters
None.
Body Parameters
FacturaCompletedDTOName | Description | Type | Additional information |
---|---|---|---|
Factura | Factura |
None. |
|
Productos | Collection of DetalleFacturaProducto |
None. |
|
Servicios | Collection of DetalleFacturaServicio |
None. |
Request Formats
application/json, text/json
Sample:
{ "Factura": { "IdFactura": 1, "Fecha": "2025-06-28T11:01:03.4795628+02:00", "IdCliente": 3, "Total": 4.0, "IdSede": 5 }, "Productos": [ { "IdDetalle": 1, "IdFactura": 2, "IdProducto": 3, "Cantidad": 4, "Subtotal": 1.0 }, { "IdDetalle": 1, "IdFactura": 2, "IdProducto": 3, "Cantidad": 4, "Subtotal": 1.0 } ], "Servicios": [ { "IdDetalle": 1, "IdFactura": 2, "IdServicio": 3, "Subtotal": 1.0 }, { "IdDetalle": 1, "IdFactura": 2, "IdServicio": 3, "Subtotal": 1.0 } ] }
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.