POST api/generarTokenCita

Request Information

URI Parameters

None.

Body Parameters

CitaGenerarTokenRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

Tipo

string

None.

Descripcion

string

None.

Operacion

string

None.

Cita

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2,
  "Tipo": "sample string 3",
  "Descripcion": "sample string 4",
  "Operacion": "sample string 5",
  "Cita": "sample string 6"
}

text/xml

Sample:
<CitaGenerarTokenRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cita>sample string 6</Cita>
  <Descripcion>sample string 4</Descripcion>
  <IDRol>2</IDRol>
  <Operacion>sample string 5</Operacion>
  <Tipo>sample string 3</Tipo>
  <Token>sample string 1</Token>
</CitaGenerarTokenRQT>

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

Response Information

Resource Description

MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

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

text/xml

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