POST api/mobile/evento-ruta

Request Information

URI Parameters

None.

Body Parameters

EventoRutaDto
NameDescriptionTypeAdditional information
ID_Viaje

integer

None.

ID_Tipo

integer

None.

ID_Sucursal

integer

None.

Observacion

string

None.

Latitud

decimal number

None.

Longitud

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ID_Viaje": 1,
  "ID_Tipo": 2,
  "ID_Sucursal": 1,
  "Observacion": "sample string 3",
  "Latitud": 1.0,
  "Longitud": 1.0
}

text/html

Sample:
{"ID_Viaje":1,"ID_Tipo":2,"ID_Sucursal":1,"Observacion":"sample string 3","Latitud":1.0,"Longitud":1.0}

application/xml, text/xml

Sample:
<EventoRutaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMS.API.Controllers">
  <ID_Sucursal>1</ID_Sucursal>
  <ID_Tipo>2</ID_Tipo>
  <ID_Viaje>1</ID_Viaje>
  <Latitud>1</Latitud>
  <Longitud>1</Longitud>
  <Observacion>sample string 3</Observacion>
</EventoRutaDto>

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.