GET Bungalow/GetMyBungalows?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BungalovModelList
NameDescriptionTypeAdditional information
UserName

string

None.

SurName

string

None.

Phone

string

None.

Mail

string

None.

ID

integer

None.

AdvID

integer

None.

BedCount

integer

None.

Capacity

integer

None.

DailyPrice

decimal number

None.

Note

string

None.

WeeklyDiscount

integer

None.

MonthlyDiscount

integer

None.

MinimumRentDay

integer

None.

IsRentLongTerm

boolean

None.

IsApproved

boolean

None.

AvailableStartDate

string

None.

AvailableEndDate

string

None.

Photos

Collection of PhotoInfos

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserName": "sample string 1",
    "SurName": "sample string 2",
    "Phone": "sample string 3",
    "Mail": "sample string 4",
    "ID": 5,
    "AdvID": 6,
    "BedCount": 7,
    "Capacity": 8,
    "DailyPrice": 9.0,
    "Note": "sample string 10",
    "WeeklyDiscount": 11,
    "MonthlyDiscount": 12,
    "MinimumRentDay": 13,
    "IsRentLongTerm": true,
    "IsApproved": true,
    "AvailableStartDate": "sample string 16",
    "AvailableEndDate": "sample string 17",
    "Photos": [
      {
        "PhotoID": 1,
        "URL": "sample string 2"
      },
      {
        "PhotoID": 1,
        "URL": "sample string 2"
      }
    ]
  },
  {
    "UserName": "sample string 1",
    "SurName": "sample string 2",
    "Phone": "sample string 3",
    "Mail": "sample string 4",
    "ID": 5,
    "AdvID": 6,
    "BedCount": 7,
    "Capacity": 8,
    "DailyPrice": 9.0,
    "Note": "sample string 10",
    "WeeklyDiscount": 11,
    "MonthlyDiscount": 12,
    "MinimumRentDay": 13,
    "IsRentLongTerm": true,
    "IsApproved": true,
    "AvailableStartDate": "sample string 16",
    "AvailableEndDate": "sample string 17",
    "Photos": [
      {
        "PhotoID": 1,
        "URL": "sample string 2"
      },
      {
        "PhotoID": 1,
        "URL": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBungalov.BungalovModelList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Models">
  <Bungalov.BungalovModelList>
    <AdvID>6</AdvID>
    <AvailableEndDate>sample string 17</AvailableEndDate>
    <AvailableStartDate>sample string 16</AvailableStartDate>
    <BedCount>7</BedCount>
    <Capacity>8</Capacity>
    <DailyPrice>9</DailyPrice>
    <ID>5</ID>
    <IsApproved>true</IsApproved>
    <IsRentLongTerm>true</IsRentLongTerm>
    <Mail>sample string 4</Mail>
    <MinimumRentDay>13</MinimumRentDay>
    <MonthlyDiscount>12</MonthlyDiscount>
    <Note>sample string 10</Note>
    <Phone>sample string 3</Phone>
    <Photos xmlns:d3p1="http://schemas.datacontract.org/2004/07/RentekerAPIProject">
      <d3p1:AppSettings.PhotoInfos>
        <d3p1:PhotoID>1</d3p1:PhotoID>
        <d3p1:URL>sample string 2</d3p1:URL>
      </d3p1:AppSettings.PhotoInfos>
      <d3p1:AppSettings.PhotoInfos>
        <d3p1:PhotoID>1</d3p1:PhotoID>
        <d3p1:URL>sample string 2</d3p1:URL>
      </d3p1:AppSettings.PhotoInfos>
    </Photos>
    <SurName>sample string 2</SurName>
    <UserName>sample string 1</UserName>
    <WeeklyDiscount>11</WeeklyDiscount>
  </Bungalov.BungalovModelList>
  <Bungalov.BungalovModelList>
    <AdvID>6</AdvID>
    <AvailableEndDate>sample string 17</AvailableEndDate>
    <AvailableStartDate>sample string 16</AvailableStartDate>
    <BedCount>7</BedCount>
    <Capacity>8</Capacity>
    <DailyPrice>9</DailyPrice>
    <ID>5</ID>
    <IsApproved>true</IsApproved>
    <IsRentLongTerm>true</IsRentLongTerm>
    <Mail>sample string 4</Mail>
    <MinimumRentDay>13</MinimumRentDay>
    <MonthlyDiscount>12</MonthlyDiscount>
    <Note>sample string 10</Note>
    <Phone>sample string 3</Phone>
    <Photos xmlns:d3p1="http://schemas.datacontract.org/2004/07/RentekerAPIProject">
      <d3p1:AppSettings.PhotoInfos>
        <d3p1:PhotoID>1</d3p1:PhotoID>
        <d3p1:URL>sample string 2</d3p1:URL>
      </d3p1:AppSettings.PhotoInfos>
      <d3p1:AppSettings.PhotoInfos>
        <d3p1:PhotoID>1</d3p1:PhotoID>
        <d3p1:URL>sample string 2</d3p1:URL>
      </d3p1:AppSettings.PhotoInfos>
    </Photos>
    <SurName>sample string 2</SurName>
    <UserName>sample string 1</UserName>
    <WeeklyDiscount>11</WeeklyDiscount>
  </Bungalov.BungalovModelList>
</ArrayOfBungalov.BungalovModelList>