POST api/insertarcita

Request Information

URI Parameters

None.

Body Parameters

CitasGrabarRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

RegiCodigo

string

None.

RetiCuotProgCodigo

string

None.

PermCodigo

string

None.

Empaque

string

None.

UnidadNeg

string

None.

TipoCita

string

None.

Trasegado

boolean

None.

Extra

integer

None.

Extemp

integer

None.

Paletizada

integer

None.

ColdTreatment

boolean

None.

FechaCT

string

None.

HoraCT

string

None.

LugarProg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2,
  "RegiCodigo": "sample string 3",
  "RetiCuotProgCodigo": "sample string 4",
  "PermCodigo": "sample string 5",
  "Empaque": "sample string 6",
  "UnidadNeg": "sample string 7",
  "TipoCita": "sample string 8",
  "Trasegado": true,
  "Extra": 10,
  "Extemp": 11,
  "Paletizada": 12,
  "ColdTreatment": true,
  "FechaCT": "sample string 14",
  "HoraCT": "sample string 15",
  "LugarProg": "sample string 16"
}

text/xml

Sample:
<CitasGrabarRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <ColdTreatment>true</ColdTreatment>
  <Empaque>sample string 6</Empaque>
  <Extemp>11</Extemp>
  <Extra>10</Extra>
  <FechaCT>sample string 14</FechaCT>
  <HoraCT>sample string 15</HoraCT>
  <IDRol>2</IDRol>
  <LugarProg>sample string 16</LugarProg>
  <Paletizada>12</Paletizada>
  <PermCodigo>sample string 5</PermCodigo>
  <RegiCodigo>sample string 3</RegiCodigo>
  <RetiCuotProgCodigo>sample string 4</RetiCuotProgCodigo>
  <TipoCita>sample string 8</TipoCita>
  <Token>sample string 1</Token>
  <Trasegado>true</Trasegado>
  <UnidadNeg>sample string 7</UnidadNeg>
</CitasGrabarRQT>

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

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>