POST api/validargrabar

Request Information

URI Parameters

None.

Body Parameters

CitaValidarGrabarRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

TCarga

string

None.

Almacen

string

None.

Permiso

string

None.

TipoCita

string

None.

Trasegado

boolean

None.

Integral

string

None.

FechaProg

string

None.

FechaCita

string

None.

Contenedor

string

None.

ContCarCod

string

None.

Bultos

decimal number

None.

Peso

decimal number

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",
  "TipoCita": "sample string 6",
  "Trasegado": true,
  "Integral": "sample string 8",
  "FechaProg": "sample string 9",
  "FechaCita": "sample string 10",
  "Contenedor": "sample string 11",
  "ContCarCod": "sample string 12",
  "Bultos": 13.0,
  "Peso": 14.0
}

text/xml

Sample:
<CitaValidarGrabarRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Almacen>sample string 4</Almacen>
  <Bultos>13</Bultos>
  <ContCarCod>sample string 12</ContCarCod>
  <Contenedor>sample string 11</Contenedor>
  <FechaCita>sample string 10</FechaCita>
  <FechaProg>sample string 9</FechaProg>
  <IDRol>2</IDRol>
  <Integral>sample string 8</Integral>
  <Permiso>sample string 5</Permiso>
  <Peso>14</Peso>
  <TCarga>sample string 3</TCarga>
  <TipoCita>sample string 6</TipoCita>
  <Token>sample string 1</Token>
  <Trasegado>true</Trasegado>
</CitaValidarGrabarRQT>

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

Response Information

Resource Description

Collection of MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Cod": 1,
    "Msj": "sample string 2"
  },
  {
    "Cod": 1,
    "Msj": "sample string 2"
  }
]

text/xml

Sample:
<ArrayOfMsjRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <MsjRPS>
    <Cod>1</Cod>
    <Msj>sample string 2</Msj>
  </MsjRPS>
  <MsjRPS>
    <Cod>1</Cod>
    <Msj>sample string 2</Msj>
  </MsjRPS>
</ArrayOfMsjRPS>