POST api/Ordena/ordenaTurno

Request Information

URI Parameters

None.

Body Parameters

ordenaTurno
NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

None.

id

integer

None.

fecha

date

None.

idTurno

integer

None.

folio

string

None.

numeroAnimales

integer

None.

litros

decimal number

None.

idTanque

integer

None.

entregado

boolean

None.

idUsuario

integer

None.

eliminado

boolean

None.

fechaRegistro

date

None.

Request Formats

application/json, text/json

Sample:
{
  "idEmpresa": "214816c8-1c49-417f-8ab6-ab0ebbd99fcd",
  "id": 2,
  "fecha": "2025-01-22T04:43:11.1462455-08:00",
  "idTurno": 4,
  "folio": "sample string 5",
  "numeroAnimales": 6,
  "litros": 7.0,
  "idTanque": 8,
  "entregado": true,
  "idUsuario": 10,
  "eliminado": true,
  "fechaRegistro": "2025-01-22T04:43:11.1462455-08:00"
}

application/xml, text/xml

Sample:
<ordenaTurno xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS">
  <eliminado>true</eliminado>
  <entregado>true</entregado>
  <fecha>2025-01-22T04:43:11.1462455-08:00</fecha>
  <fechaRegistro>2025-01-22T04:43:11.1462455-08:00</fechaRegistro>
  <folio>sample string 5</folio>
  <id>2</id>
  <idEmpresa>214816c8-1c49-417f-8ab6-ab0ebbd99fcd</idEmpresa>
  <idTanque>8</idTanque>
  <idTurno>4</idTurno>
  <idUsuario>10</idUsuario>
  <litros>7</litros>
  <numeroAnimales>6</numeroAnimales>
</ordenaTurno>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

214816c8-1c49-417f-8ab6-ab0ebbd99fcd
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fecha"

2025-01-22T04:43:11.1462455-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idTurno"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="folio"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="numeroAnimales"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="litros"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idTanque"

8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="entregado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="eliminado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaRegistro"

2025-01-22T04:43:11.1462455-08:00
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--