POST API/RentalSale/Create

添加

Request Information

Parameters

NameDescriptionAdditional information
param

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CommunityId": "sample string 1",
  "Creator": "sample string 2",
  "RentalType": 3,
  "Title": "sample string 4",
  "Abstract": "sample string 5",
  "Room": 6,
  "Hall": 7,
  "Toilet": 8,
  "Acreage": 9.0,
  "Floor": 10,
  "FloorCount": 11,
  "Orientation": 12,
  "FitmentType": 13,
  "RoomType": 14,
  "FitmentContent": "sample string 15",
  "Price": 16.0,
  "RentType": 17,
  "Images": "sample string 18",
  "Elevator": true,
  "Contact": "sample string 20",
  "ContactTel": "sample string 21",
  "PropertyType": 22,
  "PropertyYear": 23,
  "BuildDate": "2025-04-28T19:06:08.8780088+08:00"
}

application/xml, text/xml

Sample:
<ParamRentalSalesAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models.Rental">
  <Abstract>sample string 5</Abstract>
  <Acreage>9</Acreage>
  <BuildDate>2025-04-28T19:06:08.8780088+08:00</BuildDate>
  <Contact>sample string 20</Contact>
  <ContactTel>sample string 21</ContactTel>
  <Elevator>true</Elevator>
  <FitmentContent>sample string 15</FitmentContent>
  <FitmentType>13</FitmentType>
  <Floor>10</Floor>
  <FloorCount>11</FloorCount>
  <Hall>7</Hall>
  <Images>sample string 18</Images>
  <Orientation>12</Orientation>
  <Price>16</Price>
  <PropertyType>22</PropertyType>
  <PropertyYear>23</PropertyYear>
  <RentType>17</RentType>
  <Room>6</Room>
  <RoomType>14</RoomType>
  <Title>sample string 4</Title>
  <Toilet>8</Toilet>
  <CommunityId>sample string 1</CommunityId>
  <Creator>sample string 2</Creator>
  <RentalType>3</RentalType>
</ParamRentalSalesAdd>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ParamRentalSalesAdd'.