POST api/UpdateProjects

Request Information

URI Parameters

None.

Body Parameters

ProjectsModel
NameDescriptionTypeAdditional information
Project

tbl_PostProject

None.

Apartments

Collection of tbl_projectApartment

None.

Facilities

Collection of tbl_projectFacility

None.

Request Formats

application/json, text/json

Sample:
{
  "Project": {
    "project_id": 1,
    "project_name": "sample string 2",
    "memberId": "sample string 3",
    "location": "sample string 4",
    "city": "sample string 5",
    "state": "sample string 6",
    "country": "sample string 7",
    "status": "sample string 8",
    "total_floors": 1,
    "start_date": "2026-01-02T14:19:44.5512374+05:30",
    "end_date": "2026-01-02T14:19:44.5512374+05:30",
    "logo": "sample string 9",
    "Description": "sample string 10",
    "isFav": true,
    "Count": 1
  },
  "Apartments": [
    {
      "apartment_id": 1,
      "project_id": 1,
      "bhk": 1,
      "area_sqft": 1.0,
      "price": 1.0,
      "available": true,
      "floor_number": 1,
      "facing_direction": "sample string 2",
      "total_rooms": 1,
      "total_bathrooms": 1,
      "balcony_available": true,
      "parking_available": true,
      "images": "sample string 3"
    },
    {
      "apartment_id": 1,
      "project_id": 1,
      "bhk": 1,
      "area_sqft": 1.0,
      "price": 1.0,
      "available": true,
      "floor_number": 1,
      "facing_direction": "sample string 2",
      "total_rooms": 1,
      "total_bathrooms": 1,
      "balcony_available": true,
      "parking_available": true,
      "images": "sample string 3"
    }
  ],
  "Facilities": [
    {
      "facility_id": 1,
      "facility_name": "sample string 2"
    },
    {
      "facility_id": 1,
      "facility_name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ProjectsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentoAPI_New.Models">
  <Apartments xmlns:d2p1="http://schemas.datacontract.org/2004/07/RentoAPI_New.EntityModels">
    <d2p1:tbl_projectApartment>
      <d2p1:apartment_id>1</d2p1:apartment_id>
      <d2p1:area_sqft>1</d2p1:area_sqft>
      <d2p1:available>true</d2p1:available>
      <d2p1:balcony_available>true</d2p1:balcony_available>
      <d2p1:bhk>1</d2p1:bhk>
      <d2p1:facing_direction>sample string 2</d2p1:facing_direction>
      <d2p1:floor_number>1</d2p1:floor_number>
      <d2p1:images>sample string 3</d2p1:images>
      <d2p1:parking_available>true</d2p1:parking_available>
      <d2p1:price>1</d2p1:price>
      <d2p1:project_id>1</d2p1:project_id>
      <d2p1:total_bathrooms>1</d2p1:total_bathrooms>
      <d2p1:total_rooms>1</d2p1:total_rooms>
    </d2p1:tbl_projectApartment>
    <d2p1:tbl_projectApartment>
      <d2p1:apartment_id>1</d2p1:apartment_id>
      <d2p1:area_sqft>1</d2p1:area_sqft>
      <d2p1:available>true</d2p1:available>
      <d2p1:balcony_available>true</d2p1:balcony_available>
      <d2p1:bhk>1</d2p1:bhk>
      <d2p1:facing_direction>sample string 2</d2p1:facing_direction>
      <d2p1:floor_number>1</d2p1:floor_number>
      <d2p1:images>sample string 3</d2p1:images>
      <d2p1:parking_available>true</d2p1:parking_available>
      <d2p1:price>1</d2p1:price>
      <d2p1:project_id>1</d2p1:project_id>
      <d2p1:total_bathrooms>1</d2p1:total_bathrooms>
      <d2p1:total_rooms>1</d2p1:total_rooms>
    </d2p1:tbl_projectApartment>
  </Apartments>
  <Facilities xmlns:d2p1="http://schemas.datacontract.org/2004/07/RentoAPI_New.EntityModels">
    <d2p1:tbl_projectFacility>
      <d2p1:facility_id>1</d2p1:facility_id>
      <d2p1:facility_name>sample string 2</d2p1:facility_name>
    </d2p1:tbl_projectFacility>
    <d2p1:tbl_projectFacility>
      <d2p1:facility_id>1</d2p1:facility_id>
      <d2p1:facility_name>sample string 2</d2p1:facility_name>
    </d2p1:tbl_projectFacility>
  </Facilities>
  <Project xmlns:d2p1="http://schemas.datacontract.org/2004/07/RentoAPI_New.EntityModels">
    <d2p1:Count>1</d2p1:Count>
    <d2p1:Description>sample string 10</d2p1:Description>
    <d2p1:city>sample string 5</d2p1:city>
    <d2p1:country>sample string 7</d2p1:country>
    <d2p1:end_date>2026-01-02T14:19:44.5512374+05:30</d2p1:end_date>
    <d2p1:isFav>true</d2p1:isFav>
    <d2p1:location>sample string 4</d2p1:location>
    <d2p1:logo>sample string 9</d2p1:logo>
    <d2p1:memberId>sample string 3</d2p1:memberId>
    <d2p1:project_id>1</d2p1:project_id>
    <d2p1:project_name>sample string 2</d2p1:project_name>
    <d2p1:start_date>2026-01-02T14:19:44.5512374+05:30</d2p1:start_date>
    <d2p1:state>sample string 6</d2p1:state>
    <d2p1:status>sample string 8</d2p1:status>
    <d2p1:total_floors>1</d2p1:total_floors>
  </Project>
</ProjectsModel>

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, text/javascript, application/javascript, application/json-p

Sample:

Sample not available.