POST ordenes-trabajo/{id}/cerrar

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CierreOrdenDto
NameDescriptionTypeAdditional information
motivo

integer

None.

observacion

string

None.

uuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "motivo": 1,
  "observacion": "sample string 2",
  "uuid": "69fbd96e-3534-47f6-9cec-7cebc8948bc5"
}

application/xml, text/xml

Sample:
<CierreOrdenDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <motivo>1</motivo>
  <observacion>sample string 2</observacion>
  <uuid>69fbd96e-3534-47f6-9cec-7cebc8948bc5</uuid>
</CierreOrdenDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.