POST Reservations/CheckInReservation

Request Information

URI Parameters

None.

Body Parameters

ApiCheckIn
NameDescriptionTypeAdditional information
idCheckIn

integer

None.

idReservaDetalle

integer

None.

userId

globally unique identifier

None.

numAdulto

integer

None.

numNinio

integer

None.

numInfante

integer

None.

numVehiculo

integer

None.

reference

string

None.

cancel

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idCheckIn": 1,
  "idReservaDetalle": 2,
  "userId": "05015918-52bd-4e71-a7ff-26b424c9b9c1",
  "numAdulto": 4,
  "numNinio": 5,
  "numInfante": 6,
  "numVehiculo": 7,
  "reference": "sample string 8",
  "cancel": true
}

application/xml, text/xml

Sample:
<ApiCheckIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <cancel>true</cancel>
  <idCheckIn>1</idCheckIn>
  <idReservaDetalle>2</idReservaDetalle>
  <numAdulto>4</numAdulto>
  <numInfante>6</numInfante>
  <numNinio>5</numNinio>
  <numVehiculo>7</numVehiculo>
  <reference>sample string 8</reference>
  <userId>05015918-52bd-4e71-a7ff-26b424c9b9c1</userId>
</ApiCheckIn>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.