POST API/RentalSale/Update

修改

Request Information

Parameters

NameDescriptionAdditional information
param

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Title": "sample string 2",
  "Abstract": "sample string 3",
  "Room": 4,
  "Hall": 5,
  "Toilet": 6,
  "Acreage": 7.0,
  "Floor": 8,
  "FloorCount": 9,
  "Orientation": 10,
  "FitmentType": 11,
  "RoomType": 12,
  "FitmentContent": "sample string 13",
  "Price": 14.0,
  "RentType": 15,
  "Images": "sample string 16",
  "Elevator": true,
  "Contact": "sample string 18",
  "ContactTel": "sample string 19",
  "PropertyType": 20,
  "PropertyYear": 21,
  "BuildDate": "2025-04-28T19:11:17.2062874+08:00"
}

application/xml, text/xml

Sample:
<ParamRentalSalesUpdate 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 3</Abstract>
  <Acreage>7</Acreage>
  <BuildDate>2025-04-28T19:11:17.2062874+08:00</BuildDate>
  <Contact>sample string 18</Contact>
  <ContactTel>sample string 19</ContactTel>
  <Elevator>true</Elevator>
  <FitmentContent>sample string 13</FitmentContent>
  <FitmentType>11</FitmentType>
  <Floor>8</Floor>
  <FloorCount>9</FloorCount>
  <Hall>5</Hall>
  <Images>sample string 16</Images>
  <Orientation>10</Orientation>
  <Price>14</Price>
  <PropertyType>20</PropertyType>
  <PropertyYear>21</PropertyYear>
  <RentType>15</RentType>
  <Room>4</Room>
  <RoomType>12</RoomType>
  <Title>sample string 2</Title>
  <Toilet>6</Toilet>
  <Id>sample string 1</Id>
</ParamRentalSalesUpdate>

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 'ParamRentalSalesUpdate'.