POST api/Online/SaveBookingDetails

Request Information

URI Parameters

None.

Body Parameters

BookingInfoModel
NameDescriptionTypeAdditional information
ID

integer

None.

MerchantId

integer

None.

DepositSize

integer

None.

DepositMinimum

decimal number

None.

BookingNote

string

None.

ChooseDuration

integer

None.

MaxPerBookingSlot

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MerchantId": 2,
  "DepositSize": 1,
  "DepositMinimum": 1.1,
  "BookingNote": "sample string 3",
  "ChooseDuration": 4,
  "MaxPerBookingSlot": 5
}

application/xml, text/xml

Sample:
<BookingInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <BookingNote>sample string 3</BookingNote>
  <ChooseDuration>4</ChooseDuration>
  <DepositMinimum>1.1</DepositMinimum>
  <DepositSize>1</DepositSize>
  <ID>1</ID>
  <MaxPerBookingSlot>5</MaxPerBookingSlot>
  <MerchantId>2</MerchantId>
</BookingInfoModel>

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.