POST api/validarTokenCita

Request Information

URI Parameters

None.

Body Parameters

CitaValidarTokenRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

Operacion

string

None.

Cita

string

None.

TokenCita

string

None.

Request Formats

application/json, text/json

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

text/xml

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

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

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>