POST api/Facturas/Crear
Request Information
URI Parameters
None.
Body Parameters
FacturaCompletedDTO| Name | 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": "2026-02-15T00:41:58.9237967+01: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.