Real Estate Service Real Estate object Real Estate Object

POST /realandmate/v1/RealEstateService/RealEstateObjects

Creates a real estate object profile in Real&Mate.


{ "username": string, "password": string }

To use this API method, send the POST request. Below is an example of how to call the API:

POST https://example.com/realandmate/v1/RealEstateService/RealEstateObjects { "username": "johndoe", "password": "7W%9d$Ae$57$Xbd$W$8DER7" }

The response will include a JSON string containing information about the real estate object profile in Real&Mate. This string can be converted into a JavaScript object for easier use. Below is the format of the object after parsing the string:

{ "id": string, "name": string, "description": string, "date_created": date, "date_modified": date, "owner":{ "name": string, "phone": string, "email": string, }, "tenant":{ "name": string, "phone": string, "email": string, }, "property_type": string, "property_address": string, "property_area": string, "rentable_area": string, "occupancy": string, "lease_term": string, "rental_price": string, "maintenance_schedule": [string], "utilities": [string], "amenities": [string], "lease_agreement_details": string, "security_deposit": string, "tags": [string] }

{ "id": "1", "name": "Beautiful House", "description": "A modern and elegant house with enchanting interiors.", "date_created": "2024-07-07", "date_modified": "2024-07-17", "owner":{ "name": "John Doe", "phone": "7777777", "email": "johndoe777@gmail.com" }, "tenant": { "name": "Jane Smith", "phone": "8888888", "email": "janesmith888@gmail.com" } "property_type": "Mediterranean", "property_address": "723 Maple Street, Springfield, IL 62804", "property_area": "500", "rentable_area": "500", "occupancy": "Tenant has a lease agreement.", "lease_term": "17 months", "rental_price": "2700 USD", "maintenance_schedule": ["Roof inspection", "Plumbing check", "Flower planting", "Garden watering", "Vegetable harvesting"], "utilities": ["Electric power", "Natural gas", "Sewerage", "Cold water", "Hot water"], "amenities": ["Bank", "Bar", "Beauty Salon", "Cinema", "Garden", "Shop", "Temple"], "lease_agreement_details": "The tenant is financially responsible for utilities, the owner is financially responsible for maintenance of the property.", "security_deposit": "", "tags": ["house", "rental", "mediterranean", "garden", "flowers"] }

Code Description