POST api/validarbooking

Request Information

URI Parameters

None.

Body Parameters

CartaTemperaturaRptRQT
NameDescriptionTypeAdditional information
Usuario

integer

None.

IdCT

string

None.

IDRol

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Usuario": 1,
  "IdCT": "sample string 2",
  "IDRol": 3
}

text/xml

Sample:
<CartaTemperaturaRptRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <IDRol>3</IDRol>
  <IdCT>sample string 2</IdCT>
  <Usuario>1</Usuario>
</CartaTemperaturaRptRQT>

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

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>