POST inventario-movimientos

Request Information

URI Parameters

None.

Body Parameters

MovimientoAltaDto
NameDescriptionTypeAdditional information
repuesto

integer

None.

bodega

integer

None.

tipo

integer

None.

cantidad

decimal number

None.

ubicacion

integer

None.

lote

integer

None.

costo_unitario

decimal number

None.

moneda

integer

None.

orden_trabajo

integer

None.

bodega_destino

integer

None.

observacion

string

None.

uuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "repuesto": 1,
  "bodega": 2,
  "tipo": 3,
  "cantidad": 4.0,
  "ubicacion": 1,
  "lote": 1,
  "costo_unitario": 1.0,
  "moneda": 1,
  "orden_trabajo": 1,
  "bodega_destino": 1,
  "observacion": "sample string 5",
  "uuid": "e0ff4066-c669-4c44-9c12-91ad4b783aa8"
}

application/xml, text/xml

Sample:
<MovimientoAltaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <bodega>2</bodega>
  <bodega_destino>1</bodega_destino>
  <cantidad>4</cantidad>
  <costo_unitario>1</costo_unitario>
  <lote>1</lote>
  <moneda>1</moneda>
  <observacion>sample string 5</observacion>
  <orden_trabajo>1</orden_trabajo>
  <repuesto>1</repuesto>
  <tipo>3</tipo>
  <ubicacion>1</ubicacion>
  <uuid>e0ff4066-c669-4c44-9c12-91ad4b783aa8</uuid>
</MovimientoAltaDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MovimientoAltaDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.