POST api/UpdateBookings

Request Information

URI Parameters

None.

Body Parameters

Place2CuBookings
NameDescriptionTypeAdditional information
id

integer

None.

startDate

date

None.

endDate

date

None.

checkInTime

time interval

None.

checkOutTime

time interval

None.

description

string

None.

clientId

integer

None.

apartement

boolean

None.

name

string

None.

lastName

string

None.

email

string

None.

zipCode

string

None.

country

string

None.

paymentMethod

string

None.

clientIp

string

None.

dnnId

string

None.

timeMutation

date

None.

active

boolean

None.

source

string

None.

amount

decimal number

None.

currency

string

None.

gasts

integer

None.

extraInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "startDate": "2022-08-18T12:39:56.502406+02:00",
  "endDate": "2022-08-18T12:39:56.502406+02:00",
  "checkInTime": "00:00:00.1234567",
  "checkOutTime": "00:00:00.1234567",
  "description": "sample string 4",
  "clientId": 1,
  "apartement": true,
  "name": "sample string 6",
  "lastName": "sample string 7",
  "email": "sample string 8",
  "zipCode": "sample string 9",
  "country": "sample string 10",
  "paymentMethod": "sample string 11",
  "clientIp": "sample string 12",
  "dnnId": "sample string 13",
  "timeMutation": "2022-08-18T12:39:56.502406+02:00",
  "active": true,
  "source": "sample string 15",
  "amount": 1.0,
  "currency": "sample string 16",
  "gasts": 1,
  "extraInfo": "sample string 17"
}

application/xml, text/xml

Sample:
<Place2CuBookings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CryptoApi.DAL">
  <active>true</active>
  <amount>1</amount>
  <apartement>true</apartement>
  <checkInTime>PT0.1234567S</checkInTime>
  <checkOutTime>PT0.1234567S</checkOutTime>
  <clientId>1</clientId>
  <clientIp>sample string 12</clientIp>
  <country>sample string 10</country>
  <currency>sample string 16</currency>
  <description>sample string 4</description>
  <dnnId>sample string 13</dnnId>
  <email>sample string 8</email>
  <endDate>2022-08-18T12:39:56.502406+02:00</endDate>
  <extraInfo>sample string 17</extraInfo>
  <gasts>1</gasts>
  <id>1</id>
  <lastName>sample string 7</lastName>
  <name>sample string 6</name>
  <paymentMethod>sample string 11</paymentMethod>
  <source>sample string 15</source>
  <startDate>2022-08-18T12:39:56.502406+02:00</startDate>
  <timeMutation>2022-08-18T12:39:56.502406+02:00</timeMutation>
  <zipCode>sample string 9</zipCode>
</Place2CuBookings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.