POST ordenes-trabajo/{id}/repuestos

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OrdenTrabajoRepuestoAltaDto
NameDescriptionTypeAdditional information
repuesto

integer

None.

bodega

integer

None.

cantidad

decimal number

None.

ubicacion

integer

None.

lote

integer

None.

es_devolucion

boolean

None.

observacion

string

None.

uuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "repuesto": 1,
  "bodega": 2,
  "cantidad": 3.0,
  "ubicacion": 1,
  "lote": 1,
  "es_devolucion": true,
  "observacion": "sample string 5",
  "uuid": "ffcc4918-ab95-4150-9c16-3304babac922"
}

application/xml, text/xml

Sample:
<OrdenTrabajoRepuestoAltaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <bodega>2</bodega>
  <cantidad>3</cantidad>
  <es_devolucion>true</es_devolucion>
  <lote>1</lote>
  <observacion>sample string 5</observacion>
  <repuesto>1</repuesto>
  <ubicacion>1</ubicacion>
  <uuid>ffcc4918-ab95-4150-9c16-3304babac922</uuid>
</OrdenTrabajoRepuestoAltaDto>

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 'OrdenTrabajoRepuestoAltaDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.