POST api/pesaje

Request Information

URI Parameters

None.

Body Parameters

PesajeDto
NameDescriptionTypeAdditional information
ID_Bulto

integer

None.

ID_Sesion

integer

None.

ID_Sucursal

integer

None.

Peso

decimal number

None.

Largo

decimal number

None.

Alto

decimal number

None.

Ancho

decimal number

None.

Volumen

decimal number

None.

Origen_Lectura

integer

None.

Dispositivo

string

None.

Fecha_Lectura

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID_Bulto": 1,
  "ID_Sesion": 1,
  "ID_Sucursal": 2,
  "Peso": 1.0,
  "Largo": 1.0,
  "Alto": 1.0,
  "Ancho": 1.0,
  "Volumen": 1.0,
  "Origen_Lectura": 3,
  "Dispositivo": "sample string 4",
  "Fecha_Lectura": "2026-06-21T17:18:45.8329723-04:00"
}

text/html

Sample:
{"ID_Bulto":1,"ID_Sesion":1,"ID_Sucursal":2,"Peso":1.0,"Largo":1.0,"Alto":1.0,"Ancho":1.0,"Volumen":1.0,"Origen_Lectura":3,"Dispositivo":"sample string 4","Fecha_Lectura":"2026-06-21T17:18:45.8329723-04:00"}

application/xml, text/xml

Sample:
<PesajeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMS.API.Controllers">
  <Alto>1</Alto>
  <Ancho>1</Ancho>
  <Dispositivo>sample string 4</Dispositivo>
  <Fecha_Lectura>2026-06-21T17:18:45.8329723-04:00</Fecha_Lectura>
  <ID_Bulto>1</ID_Bulto>
  <ID_Sesion>1</ID_Sesion>
  <ID_Sucursal>2</ID_Sucursal>
  <Largo>1</Largo>
  <Origen_Lectura>3</Origen_Lectura>
  <Peso>1</Peso>
  <Volumen>1</Volumen>
</PesajeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.