POST api/CompraElementos
Request Information
URI Parameters
None.
Body Parameters
CompraElemento| Name | Description | Type | Additional information |
|---|---|---|---|
| CompraID | integer |
None. |
|
| EmpresaID | integer |
None. |
|
| FechaCompra | date |
None. |
|
| ElementoID | integer |
None. |
|
| Elemento | string |
None. |
|
| Cantidad | decimal number |
None. |
|
| Costo | decimal number |
None. |
|
| Estado | string |
None. |
|
| FechaCreacion | date |
None. |
|
| fechaMOdificacion | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompraID": 1,
"EmpresaID": 1,
"FechaCompra": "2025-12-13T19:37:03.8684692+00:00",
"ElementoID": 1,
"Elemento": "sample string 2",
"Cantidad": 1.0,
"Costo": 1.0,
"Estado": "sample string 3",
"FechaCreacion": "2025-12-13T19:37:03.8684692+00:00",
"fechaMOdificacion": "2025-12-13T19:37:03.8684692+00:00"
}
application/xml, text/xml
Sample:
<CompraElemento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/siscor_entidades"> <Cantidad>1</Cantidad> <CompraID>1</CompraID> <Costo>1</Costo> <Elemento>sample string 2</Elemento> <ElementoID>1</ElementoID> <EmpresaID>1</EmpresaID> <Estado>sample string 3</Estado> <FechaCompra>2025-12-13T19:37:03.8684692+00:00</FechaCompra> <FechaCreacion>2025-12-13T19:37:03.8684692+00:00</FechaCreacion> <fechaMOdificacion>2025-12-13T19:37:03.8684692+00:00</fechaMOdificacion> </CompraElemento>
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.