POST api/Route/SetRoute

Request Information

URI Parameters

None.

Body Parameters

RoutesRequest
NameDescriptionTypeAdditional information
iNumRuta

integer

None.

vchDescripcion

string

None.

tiEstatusReg

byte

None.

tiTransbordo

byte

None.

tiIndice

byte

None.

direction

integer

None.

iGOTransitTransferHeaderID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "iNumRuta": 1,
  "vchDescripcion": "sample string 2",
  "tiEstatusReg": 64,
  "tiTransbordo": 64,
  "tiIndice": 64,
  "direction": 6,
  "iGOTransitTransferHeaderID": 7
}

application/xml, text/xml

Sample:
<RouteController.RoutesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <direction>6</direction>
  <iGOTransitTransferHeaderID>7</iGOTransitTransferHeaderID>
  <iNumRuta>1</iNumRuta>
  <tiEstatusReg>64</tiEstatusReg>
  <tiIndice>64</tiIndice>
  <tiTransbordo>64</tiTransbordo>
  <vchDescripcion>sample string 2</vchDescripcion>
</RouteController.RoutesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RoutesRequest
NameDescriptionTypeAdditional information
iNumRuta

integer

None.

vchDescripcion

string

None.

tiEstatusReg

byte

None.

tiTransbordo

byte

None.

tiIndice

byte

None.

direction

integer

None.

iGOTransitTransferHeaderID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "iNumRuta": 1,
  "vchDescripcion": "sample string 2",
  "tiEstatusReg": 64,
  "tiTransbordo": 64,
  "tiIndice": 64,
  "direction": 6,
  "iGOTransitTransferHeaderID": 7
}

application/xml, text/xml

Sample:
<RouteController.RoutesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <direction>6</direction>
  <iGOTransitTransferHeaderID>7</iGOTransitTransferHeaderID>
  <iNumRuta>1</iNumRuta>
  <tiEstatusReg>64</tiEstatusReg>
  <tiIndice>64</tiIndice>
  <tiTransbordo>64</tiTransbordo>
  <vchDescripcion>sample string 2</vchDescripcion>
</RouteController.RoutesRequest>