POST api/insertarcitadetalle

Request Information

URI Parameters

None.

Body Parameters

CitasGrabarDetalleRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

hojaServCodigo

string

None.

PermCodigo

string

None.

PermDetaCodigo

string

None.

ContCargCodigo

string

None.

VehiPlacaPri

string

None.

NroBrevete

string

None.

Registro

string

None.

Contenedor

string

None.

AutPeso

decimal number

None.

AutBulto

decimal number

None.

Peso

decimal number

None.

Bulto

decimal number

None.

Empaque

string

None.

UnidadNeg

string

None.

TipoCita

string

None.

TipoCont

string

None.

Trasegado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2,
  "hojaServCodigo": "sample string 3",
  "PermCodigo": "sample string 4",
  "PermDetaCodigo": "sample string 5",
  "ContCargCodigo": "sample string 6",
  "VehiPlacaPri": "sample string 7",
  "NroBrevete": "sample string 8",
  "Registro": "sample string 9",
  "Contenedor": "sample string 10",
  "AutPeso": 11.0,
  "AutBulto": 12.0,
  "Peso": 13.0,
  "Bulto": 14.0,
  "Empaque": "sample string 15",
  "UnidadNeg": "sample string 16",
  "TipoCita": "sample string 17",
  "TipoCont": "sample string 18",
  "Trasegado": true
}

text/xml

Sample:
<CitasGrabarDetalleRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <AutBulto>12</AutBulto>
  <AutPeso>11</AutPeso>
  <Bulto>14</Bulto>
  <ContCargCodigo>sample string 6</ContCargCodigo>
  <Contenedor>sample string 10</Contenedor>
  <Empaque>sample string 15</Empaque>
  <IDRol>2</IDRol>
  <NroBrevete>sample string 8</NroBrevete>
  <PermCodigo>sample string 4</PermCodigo>
  <PermDetaCodigo>sample string 5</PermDetaCodigo>
  <Peso>13</Peso>
  <Registro>sample string 9</Registro>
  <TipoCita>sample string 17</TipoCita>
  <TipoCont>sample string 18</TipoCont>
  <Token>sample string 1</Token>
  <Trasegado>true</Trasegado>
  <UnidadNeg>sample string 16</UnidadNeg>
  <VehiPlacaPri>sample string 7</VehiPlacaPri>
  <hojaServCodigo>sample string 3</hojaServCodigo>
</CitasGrabarDetalleRQT>

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

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>