POST api/Vehiculo/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

clsVehiculoInputData
NameDescriptionTypeAdditional information
carMaker

string

None.

carColor

string

None.

carPlate

string

None.

UserName

string

None.

GPSX

string

None.

GPSY

string

None.

Request Formats

application/json, text/json

Sample:
{
  "carMaker": "sample string 1",
  "carColor": "sample string 2",
  "carPlate": "sample string 3",
  "UserName": "sample string 4",
  "GPSX": "sample string 5",
  "GPSY": "sample string 6"
}

application/xml, text/xml

Sample:
<VehiculoController.clsVehiculoInputData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar.Controllers">
  <GPSX xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">sample string 5</GPSX>
  <GPSY xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">sample string 6</GPSY>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">sample string 4</UserName>
  <carColor>sample string 2</carColor>
  <carMaker>sample string 1</carMaker>
  <carPlate>sample string 3</carPlate>
</VehiculoController.clsVehiculoInputData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsVehiculoReportOutputData
NameDescriptionTypeAdditional information
Vehiculos

Collection of clsVehiculoSupportClass

None.

Estatus

boolean

None.

RespCode

string

None.

RespText

string

None.

RespTimestamp

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Vehiculos": [
    {
      "carId": 1,
      "carMaker": "sample string 2",
      "carColor": "sample string 3",
      "carPlate": "sample string 4",
      "carSelected": true
    },
    {
      "carId": 1,
      "carMaker": "sample string 2",
      "carColor": "sample string 3",
      "carPlate": "sample string 4",
      "carSelected": true
    }
  ],
  "Estatus": true,
  "RespCode": "sample string 2",
  "RespText": "sample string 3",
  "RespTimestamp": "2026-02-06 16:59:51.995"
}

application/xml, text/xml

Sample:
<VehiculoController.clsVehiculoReportOutputData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar.Controllers">
  <Estatus xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">true</Estatus>
  <RespCode xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">sample string 2</RespCode>
  <RespText xmlns="http://schemas.datacontract.org/2004/07/BARTeCParKar">sample string 3</RespText>
  <Vehiculos>
    <VehiculoController.clsVehiculoSupportClass>
      <carColor>sample string 3</carColor>
      <carId>1</carId>
      <carMaker>sample string 2</carMaker>
      <carPlate>sample string 4</carPlate>
      <carSelected>true</carSelected>
    </VehiculoController.clsVehiculoSupportClass>
    <VehiculoController.clsVehiculoSupportClass>
      <carColor>sample string 3</carColor>
      <carId>1</carId>
      <carMaker>sample string 2</carMaker>
      <carPlate>sample string 4</carPlate>
      <carSelected>true</carSelected>
    </VehiculoController.clsVehiculoSupportClass>
  </Vehiculos>
</VehiculoController.clsVehiculoReportOutputData>