POST api/Articulo/CrearPrecioCarburante
Crea precio carburante nuevo
Request Information
URI Parameters
None.
Body Parameters
PrecioCarburanteName | Description | Type | Additional information |
---|---|---|---|
IdArticulo | integer |
None. |
|
Nombre | string |
None. |
|
Codigo | string |
None. |
|
IdPrecio | integer |
None. |
|
Precio | decimal number |
None. |
|
Pvp | decimal number |
None. |
|
FechaInicio | date |
None. |
|
IdEstacion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdArticulo": 1, "Nombre": "sample string 2", "Codigo": "sample string 3", "IdPrecio": 4, "Precio": 5.0, "Pvp": 6.0, "FechaInicio": "2024-09-20T04:42:53.3421348+02:00", "IdEstacion": 8 }
application/xml, text/xml
Sample:
<PrecioCarburante xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagonAPI.Models"> <Codigo>sample string 3</Codigo> <FechaInicio>2024-09-20T04:42:53.3421348+02:00</FechaInicio> <IdArticulo>1</IdArticulo> <IdEstacion>8</IdEstacion> <IdPrecio>4</IdPrecio> <Nombre>sample string 2</Nombre> <Precio>5</Precio> <Pvp>6</Pvp> </PrecioCarburante>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |