POST api/Availability

Request Information

URI Parameters

None.

Body Parameters

AvailabilityPojo
NameDescriptionTypeAdditional information
ID

integer

None.

apartmentid

string

None.

apartmentname

string

None.

apartmentfor

string

None.

flat

string

None.

room1

string

None.

room2

string

None.

room3

string

None.

room4

string

None.

noofbedrooms

string

None.

price1

string

None.

price2

string

None.

price3

string

None.

price4

string

None.

description

string

None.

createdby

string

None.

updatedon

string

None.

update

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "apartmentid": "sample string 2",
  "apartmentname": "sample string 3",
  "apartmentfor": "sample string 4",
  "flat": "sample string 5",
  "room1": "sample string 6",
  "room2": "sample string 7",
  "room3": "sample string 8",
  "room4": "sample string 9",
  "noofbedrooms": "sample string 10",
  "price1": "sample string 11",
  "price2": "sample string 12",
  "price3": "sample string 13",
  "price4": "sample string 14",
  "description": "sample string 15",
  "createdby": "sample string 16",
  "updatedon": "sample string 17",
  "update": "sample string 18"
}

text/html

Sample:
{"ID":1,"apartmentid":"sample string 2","apartmentname":"sample string 3","apartmentfor":"sample string 4","flat":"sample string 5","room1":"sample string 6","room2":"sample string 7","room3":"sample string 8","room4":"sample string 9","noofbedrooms":"sample string 10","price1":"sample string 11","price2":"sample string 12","price3":"sample string 13","price4":"sample string 14","description":"sample string 15","createdby":"sample string 16","updatedon":"sample string 17","update":"sample string 18"}

application/xml, text/xml

Sample:
<AvailabilityPojo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DYCMProg.Models.Availability">
  <ID>1</ID>
  <apartmentfor>sample string 4</apartmentfor>
  <apartmentid>sample string 2</apartmentid>
  <apartmentname>sample string 3</apartmentname>
  <createdby>sample string 16</createdby>
  <description>sample string 15</description>
  <flat>sample string 5</flat>
  <noofbedrooms>sample string 10</noofbedrooms>
  <price1>sample string 11</price1>
  <price2>sample string 12</price2>
  <price3>sample string 13</price3>
  <price4>sample string 14</price4>
  <room1>sample string 6</room1>
  <room2>sample string 7</room2>
  <room3>sample string 8</room3>
  <room4>sample string 9</room4>
  <update>sample string 18</update>
  <updatedon>sample string 17</updatedon>
</AvailabilityPojo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.