POST ordenes-trabajo/{id}/pasos

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PasoAltaDto
NameDescriptionTypeAdditional information
nombre

string

None.

descripcion

string

None.

resultado

integer

None.

observacion

string

None.

uuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "descripcion": "sample string 2",
  "resultado": 1,
  "observacion": "sample string 3",
  "uuid": "35e0d9a9-3343-430e-a0f8-1e26347952e1"
}

application/xml, text/xml

Sample:
<PasoAltaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <descripcion>sample string 2</descripcion>
  <nombre>sample string 1</nombre>
  <observacion>sample string 3</observacion>
  <resultado>1</resultado>
  <uuid>35e0d9a9-3343-430e-a0f8-1e26347952e1</uuid>
</PasoAltaDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.