POST api/Albaran/ModificarLinea
Modifica una linea dentro de una labrán
Request Information
URI Parameters
None.
Body Parameters
AlbaranLineaName | Description | Type | Additional information |
---|---|---|---|
IdAlbaran | integer |
None. |
|
IdAlbaranLinea | integer |
None. |
|
IdArticulo | integer |
None. |
|
Cantidad | decimal number |
None. |
|
CantidadPromocion | decimal number |
None. |
|
Precio | decimal number |
None. |
|
Pvp | decimal number |
None. |
|
Desc1 | decimal number |
None. |
|
Desc2 | decimal number |
None. |
|
FechaCaducidad | date |
None. |
|
Lote | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdAlbaran": 1, "IdAlbaranLinea": 1, "IdArticulo": 1, "Cantidad": 2.0, "CantidadPromocion": 3.0, "Precio": 1.0, "Pvp": 1.0, "Desc1": 4.0, "Desc2": 1.0, "FechaCaducidad": "2024-09-20T05:02:00.1169354+02:00", "Lote": "sample string 5" }
application/xml, text/xml
Sample:
<AlbaranLinea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagonAPI.Models"> <Cantidad>2</Cantidad> <CantidadPromocion>3</CantidadPromocion> <Desc1>4</Desc1> <Desc2>1</Desc2> <FechaCaducidad>2024-09-20T05:02:00.1169354+02:00</FechaCaducidad> <IdAlbaran>1</IdAlbaran> <IdAlbaranLinea>1</IdAlbaranLinea> <IdArticulo>1</IdArticulo> <Lote>sample string 5</Lote> <Precio>1</Precio> <Pvp>1</Pvp> </AlbaranLinea>
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. |