POST api/PCG/ChecarTrasladoContenedor?key={key}&IdLocalidad={IdLocalidad}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

Required

IdLocalidad

integer

Default value is 160

Body Parameters

Collection of PCG_TransporteData
NameDescriptionTypeAdditional information
contenedor

string

None.

transportista_rfc

string

None.

lleno

boolean

None.

factura_uuid

string

None.

metadata

PCG_TransporteBoteMetadata

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "contenedor": "sample string 1",
    "transportista_rfc": "sample string 2",
    "lleno": true,
    "factura_uuid": "sample string 4",
    "metadata": {
      "encontrado": true,
      "fecha_eir": "2026-06-07T15:45:08.1186851-06:00",
      "factura_fecha_procesado": "2026-06-07T15:45:08.1186851-06:00",
      "factura_uuid": "sample string 2",
      "placa": "sample string 3",
      "chofer": "sample string 4",
      "eir_entrada": true,
      "error_msg": "sample string 5",
      "error_type": "sample string 6",
      "error_code": 7
    }
  },
  {
    "contenedor": "sample string 1",
    "transportista_rfc": "sample string 2",
    "lleno": true,
    "factura_uuid": "sample string 4",
    "metadata": {
      "encontrado": true,
      "fecha_eir": "2026-06-07T15:45:08.1186851-06:00",
      "factura_fecha_procesado": "2026-06-07T15:45:08.1186851-06:00",
      "factura_uuid": "sample string 2",
      "placa": "sample string 3",
      "chofer": "sample string 4",
      "eir_entrada": true,
      "error_msg": "sample string 5",
      "error_type": "sample string 6",
      "error_code": 7
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfPCG_TransporteData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIMA_WebAPI_Dapper.Models">
  <PCG_TransporteData>
    <Contenedor>sample string 1</Contenedor>
    <EsLleno>true</EsLleno>
    <Factura>sample string 4</Factura>
    <Metadata>
      <Chofer>sample string 4</Chofer>
      <Encontrado>true</Encontrado>
      <ErrorCode>7</ErrorCode>
      <ErrorMsg>sample string 5</ErrorMsg>
      <ErrorType>sample string 6</ErrorType>
      <EsEntrada>true</EsEntrada>
      <FacturaFecha>2026-06-07T15:45:08.1186851-06:00</FacturaFecha>
      <FacturaUUID>sample string 2</FacturaUUID>
      <FechaEIR>2026-06-07T15:45:08.1186851-06:00</FechaEIR>
      <Placa>sample string 3</Placa>
    </Metadata>
    <TransportistaRFC>sample string 2</TransportistaRFC>
  </PCG_TransporteData>
  <PCG_TransporteData>
    <Contenedor>sample string 1</Contenedor>
    <EsLleno>true</EsLleno>
    <Factura>sample string 4</Factura>
    <Metadata>
      <Chofer>sample string 4</Chofer>
      <Encontrado>true</Encontrado>
      <ErrorCode>7</ErrorCode>
      <ErrorMsg>sample string 5</ErrorMsg>
      <ErrorType>sample string 6</ErrorType>
      <EsEntrada>true</EsEntrada>
      <FacturaFecha>2026-06-07T15:45:08.1186851-06:00</FacturaFecha>
      <FacturaUUID>sample string 2</FacturaUUID>
      <FechaEIR>2026-06-07T15:45:08.1186851-06:00</FechaEIR>
      <Placa>sample string 3</Placa>
    </Metadata>
    <TransportistaRFC>sample string 2</TransportistaRFC>
  </PCG_TransporteData>
</ArrayOfPCG_TransporteData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.