POST google/AvailabilityReplace

Request Information

URI Parameters

None.

Body Parameters

googleserviceavailability
NameDescriptionTypeAdditional information
serviceAvailability

google_serviceavailability

None.

Request Formats

application/json, text/json

Sample:
{
  "serviceAvailability": {
    "name": "sample string 1",
    "availability": [
      {
        "merchant_id": "sample string 1",
        "service_id": "sample string 2",
        "spots_open": 3,
        "spots_total": 4,
        "start_sec": 5,
        "duration_sec": 6,
        "availabilityTag": "sample string 7"
      },
      {
        "merchant_id": "sample string 1",
        "service_id": "sample string 2",
        "spots_open": 3,
        "spots_total": 4,
        "start_sec": 5,
        "duration_sec": 6,
        "availabilityTag": "sample string 7"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<googleserviceavailability xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Controllers">
  <serviceAvailability>
    <availability>
      <google_availability2>
        <availabilityTag>sample string 7</availabilityTag>
        <duration_sec>6</duration_sec>
        <merchant_id>sample string 1</merchant_id>
        <service_id>sample string 2</service_id>
        <spots_open>3</spots_open>
        <spots_total>4</spots_total>
        <start_sec>5</start_sec>
      </google_availability2>
      <google_availability2>
        <availabilityTag>sample string 7</availabilityTag>
        <duration_sec>6</duration_sec>
        <merchant_id>sample string 1</merchant_id>
        <service_id>sample string 2</service_id>
        <spots_open>3</spots_open>
        <spots_total>4</spots_total>
        <start_sec>5</start_sec>
      </google_availability2>
    </availability>
    <name>sample string 1</name>
  </serviceAvailability>
</googleserviceavailability>

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.