GET api/Factura/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FacturaDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| VentaId | decimal number |
None. |
|
| Fecha | date |
None. |
|
| cliente | string |
None. |
|
| celular | string |
None. |
|
| VerdedorId | string |
None. |
|
| Vendedor | VendedorDTO |
None. |
|
| Detalles | Collection of DetalleFacturaDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"VentaId": 1.0,
"Fecha": "2025-11-08T08:20:12.0968908-05:00",
"cliente": "sample string 3",
"celular": "sample string 4",
"VerdedorId": "sample string 5",
"Vendedor": {
"$id": "2",
"VerdedorId": "sample string 1",
"NombreVendedor": "sample string 2",
"TelefonoVenderor": "sample string 3",
"CodigoVendedor": "sample string 4",
"Porcentaje": 1,
"ClaveVenderor": "sample string 5",
"Estado": "sample string 6",
"CoordinadorId": "sample string 7",
"Coordinadores": {
"$id": "3",
"CoordinadorId": "sample string 1",
"NombreCoordinador": "sample string 2",
"CodgCoordinador": "sample string 3",
"TelefonoCoordinador": "sample string 4",
"Estado": "sample string 5",
"CodgDeprtmnt": "sample string 6",
"Porcentaje": 1,
"gedeprtmnt": {
"$id": "4",
"decod": "sample string 1",
"denombre": "sample string 2"
}
}
},
"Detalles": [
{
"$id": "5",
"detalleid": 1.0,
"VentaId": 2.0,
"loteriaId": 3,
"numero": "sample string 4",
"combinado": true,
"ApuestaNumero": 6.1,
"ApuestaCombinado": 7.1,
"Factura": {
"$ref": "1"
}
},
{
"$ref": "5"
}
]
}