POST v3/CreateBooking

Request Information

URI Parameters

None.

Body Parameters

CreateBookingRequest
NameDescriptionTypeAdditional information
idempotency_token

string

None.

payment_information

PaymentInformation

None.

slot

Slot

None.

user_information

UserInformation

None.

additional_request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idempotency_token": "sample string 1",
  "payment_information": {
    "prepayment_status": "sample string 1"
  },
  "slot": {
    "confirmation_mode": "sample string 1",
    "duration_sec": 2,
    "merchant_id": "sample string 3",
    "resources": {
      "party_size": 1,
      "room_id": "sample string 2",
      "room_name": "sample string 3"
    },
    "service_id": "sample string 4",
    "start_sec": 5
  },
  "user_information": {
    "email": "sample string 1",
    "family_name": "sample string 2",
    "given_name": "sample string 3",
    "telephone": "sample string 4",
    "user_id": "sample string 5"
  },
  "additional_request": "sample string 2"
}

application/xml, text/xml

Sample:
<CreateBookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Controllers">
  <additional_request>sample string 2</additional_request>
  <idempotency_token>sample string 1</idempotency_token>
  <payment_information>
    <prepayment_status>sample string 1</prepayment_status>
  </payment_information>
  <slot>
    <confirmation_mode>sample string 1</confirmation_mode>
    <duration_sec>2</duration_sec>
    <merchant_id>sample string 3</merchant_id>
    <resources>
      <party_size>1</party_size>
      <room_id>sample string 2</room_id>
      <room_name>sample string 3</room_name>
    </resources>
    <service_id>sample string 4</service_id>
    <start_sec>5</start_sec>
  </slot>
  <user_information>
    <email>sample string 1</email>
    <family_name>sample string 2</family_name>
    <given_name>sample string 3</given_name>
    <telephone>sample string 4</telephone>
    <user_id>sample string 5</user_id>
  </user_information>
</CreateBookingRequest>

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.