GET ConsultaCompra?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| q | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ComprasEnt| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCompras | integer |
None. |
|
| Empresa | integer |
None. |
|
| Fecha | date |
None. |
|
| Concepto | string |
None. |
|
| Cantidad | integer |
None. |
|
| Total | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdCompras": 1,
"Empresa": 1,
"Fecha": "2025-12-09T19:39:12.951566-08:00",
"Concepto": "sample string 3",
"Cantidad": 4,
"Total": 5.0
}
application/xml, text/xml
Sample:
<ComprasEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIProyectoSC_601.Entities"> <Cantidad>4</Cantidad> <Concepto>sample string 3</Concepto> <Empresa>1</Empresa> <Fecha>2025-12-09T19:39:12.951566-08:00</Fecha> <IdCompras>1</IdCompras> <Total>5</Total> </ComprasEnt>