POST api/Elementos
Request Information
URI Parameters
None.
Body Parameters
ElementoName | Description | Type | Additional information |
---|---|---|---|
ElementoID | integer |
None. |
|
EmpresaID | integer |
None. |
|
Elemento1 | string |
None. |
|
CantidadMinima | decimal number |
None. |
|
UnidadMedida | string |
None. |
|
Costo | decimal number |
None. |
|
Estado | string |
None. |
|
FechaCreacion | date |
None. |
|
fechaMOdificacion | date |
None. |
|
inventario | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "ElementoID": 1, "EmpresaID": 1, "Elemento1": "sample string 2", "CantidadMinima": 1.0, "UnidadMedida": "sample string 3", "Costo": 1.0, "Estado": "sample string 4", "FechaCreacion": "2025-05-06T12:34:38.5935505+00:00", "fechaMOdificacion": "2025-05-06T12:34:38.5935505+00:00", "inventario": 1.0 }
application/xml, text/xml
Sample:
<Elemento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/siscor_entidades"> <CantidadMinima>1</CantidadMinima> <Costo>1</Costo> <Elemento1>sample string 2</Elemento1> <ElementoID>1</ElementoID> <EmpresaID>1</EmpresaID> <Estado>sample string 4</Estado> <FechaCreacion>2025-05-06T12:34:38.5935505+00:00</FechaCreacion> <UnidadMedida>sample string 3</UnidadMedida> <fechaMOdificacion>2025-05-06T12:34:38.5935505+00:00</fechaMOdificacion> <inventario>1</inventario> </Elemento>
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.