POST v3/BatchAvailabilityLookup

Request Information

URI Parameters

None.

Body Parameters

BatchAvailabilityLookupRequest
NameDescriptionTypeAdditional information
merchant_id

string

None.

slot_time

Collection of SlotTime

None.

Request Formats

application/json, text/json

Sample:
{
  "merchant_id": "sample string 1",
  "slot_time": [
    {
      "duration_sec": 1,
      "resource_ids": {
        "party_size": 1,
        "room_id": "sample string 2"
      },
      "service_id": "sample string 2",
      "start_sec": 3
    },
    {
      "duration_sec": 1,
      "resource_ids": {
        "party_size": 1,
        "room_id": "sample string 2"
      },
      "service_id": "sample string 2",
      "start_sec": 3
    }
  ]
}

application/xml, text/xml

Sample:
<BatchAvailabilityLookupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Controllers">
  <merchant_id>sample string 1</merchant_id>
  <slot_time>
    <SlotTime>
      <duration_sec>1</duration_sec>
      <resource_ids>
        <party_size>1</party_size>
        <room_id>sample string 2</room_id>
      </resource_ids>
      <service_id>sample string 2</service_id>
      <start_sec>3</start_sec>
    </SlotTime>
    <SlotTime>
      <duration_sec>1</duration_sec>
      <resource_ids>
        <party_size>1</party_size>
        <room_id>sample string 2</room_id>
      </resource_ids>
      <service_id>sample string 2</service_id>
      <start_sec>3</start_sec>
    </SlotTime>
  </slot_time>
</BatchAvailabilityLookupRequest>

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.