POST api/Ordena/ordenaConsumo
Request Information
URI Parameters
None.
Body Parameters
ordenaConsumoName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
None. |
|
id | integer |
None. |
|
folio | string |
None. |
|
fecha | date |
None. |
|
idTanque | integer |
None. |
|
idConcepto | integer |
None. |
|
litros | decimal number |
None. |
|
idUsuario | integer |
None. |
|
eliminado | boolean |
None. |
|
fechaRegistro | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "idEmpresa": "2bdd735a-92df-459f-8e72-34ed38c567b8", "id": 2, "folio": "sample string 3", "fecha": "2025-01-21T23:03:39.5496115-08:00", "idTanque": 5, "idConcepto": 6, "litros": 7.0, "idUsuario": 8, "eliminado": true, "fechaRegistro": "2025-01-21T23:03:39.5496115-08:00" }
application/xml, text/xml
Sample:
<ordenaConsumo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS"> <eliminado>true</eliminado> <fecha>2025-01-21T23:03:39.5496115-08:00</fecha> <fechaRegistro>2025-01-21T23:03:39.5496115-08:00</fechaRegistro> <folio>sample string 3</folio> <id>2</id> <idConcepto>6</idConcepto> <idEmpresa>2bdd735a-92df-459f-8e72-34ed38c567b8</idEmpresa> <idTanque>5</idTanque> <idUsuario>8</idUsuario> <litros>7</litros> </ordenaConsumo>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idEmpresa" 2bdd735a-92df-459f-8e72-34ed38c567b8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="id" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="folio" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fecha" 2025-01-21T23:03:39.5496115-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idTanque" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idConcepto" 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="litros" 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idUsuario" 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="eliminado" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fechaRegistro" 2025-01-21T23:03:39.5496115-08:00 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
ObjectNone.
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--