POST api/citaslistarcontenedores

Request Information

URI Parameters

None.

Body Parameters

CitasContenedoresRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

TCarga

string

None.

Almacen

string

None.

Permiso

string

None.

Trasegado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2,
  "TCarga": "sample string 3",
  "Almacen": "sample string 4",
  "Permiso": "sample string 5",
  "Trasegado": true
}

text/xml

Sample:
<CitasContenedoresRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Almacen>sample string 4</Almacen>
  <IDRol>2</IDRol>
  <Permiso>sample string 5</Permiso>
  <TCarga>sample string 3</TCarga>
  <Token>sample string 1</Token>
  <Trasegado>true</Trasegado>
</CitasContenedoresRQT>

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 'CitasContenedoresRQT'.

Response Information

Resource Description

CitasContenedoresRPS
NameDescriptionTypeAdditional information
Error

integer

None.

ErrorMsg

string

None.

Data

Collection of CitasContenedoresListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": 1,
  "ErrorMsg": "sample string 2",
  "Data": [
    {
      "CodiContenedor": "sample string 1",
      "Contenedor": "sample string 2",
      "DesCTNR": "sample string 3",
      "Estado": "sample string 4",
      "PermDetaCodigo": "sample string 5",
      "Registro": "sample string 6",
      "FechaProg": "sample string 7",
      "IntegralContrans": "sample string 8",
      "AutBulto": 9.0,
      "AutPeso": 10.0,
      "Serie": "sample string 11",
      "CuotaPeso": 12.0,
      "CuotaBulto": 13.0
    },
    {
      "CodiContenedor": "sample string 1",
      "Contenedor": "sample string 2",
      "DesCTNR": "sample string 3",
      "Estado": "sample string 4",
      "PermDetaCodigo": "sample string 5",
      "Registro": "sample string 6",
      "FechaProg": "sample string 7",
      "IntegralContrans": "sample string 8",
      "AutBulto": 9.0,
      "AutPeso": 10.0,
      "Serie": "sample string 11",
      "CuotaPeso": 12.0,
      "CuotaBulto": 13.0
    }
  ]
}

text/xml

Sample:
<CitasContenedoresRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <CitasContenedoresListRPS>
      <AutBulto>9</AutBulto>
      <AutPeso>10</AutPeso>
      <CodiContenedor>sample string 1</CodiContenedor>
      <Contenedor>sample string 2</Contenedor>
      <CuotaBulto>13</CuotaBulto>
      <CuotaPeso>12</CuotaPeso>
      <DesCTNR>sample string 3</DesCTNR>
      <Estado>sample string 4</Estado>
      <FechaProg>sample string 7</FechaProg>
      <IntegralContrans>sample string 8</IntegralContrans>
      <PermDetaCodigo>sample string 5</PermDetaCodigo>
      <Registro>sample string 6</Registro>
      <Serie>sample string 11</Serie>
    </CitasContenedoresListRPS>
    <CitasContenedoresListRPS>
      <AutBulto>9</AutBulto>
      <AutPeso>10</AutPeso>
      <CodiContenedor>sample string 1</CodiContenedor>
      <Contenedor>sample string 2</Contenedor>
      <CuotaBulto>13</CuotaBulto>
      <CuotaPeso>12</CuotaPeso>
      <DesCTNR>sample string 3</DesCTNR>
      <Estado>sample string 4</Estado>
      <FechaProg>sample string 7</FechaProg>
      <IntegralContrans>sample string 8</IntegralContrans>
      <PermDetaCodigo>sample string 5</PermDetaCodigo>
      <Registro>sample string 6</Registro>
      <Serie>sample string 11</Serie>
    </CitasContenedoresListRPS>
  </Data>
  <Error>1</Error>
  <ErrorMsg>sample string 2</ErrorMsg>
</CitasContenedoresRPS>