Units
For instructions on how to authenticate to use this endpoint, see API overview.
This endpoint allows you to retrieve a list of real estate units within a property management system.
It is retained primarily for backward compatibility. Advised for limited use; consider using more current alternatives for unit data retrieval.
For ad-hoc queries or aggregations of unit data, please utilize the Query endpoint instead.
To export comprehensive lists or extensive pages of unit data, refer to our CDP/Batch Exports solutions.
Endpoints
GET | /api/units/ |
POST | /api/units/ |
GET | /api/units/:id/ |
PUT | /api/units/:id/ |
DELETE | /api/units/:id/ |
List all units
Response
Request
GET
/api /units
export ICLOUDREADY_API_KEY=[your api key]curl \-H "Authorization: Bearer $ICLOUDREADY_API_KEY" \https://app.icloud-ready.com/api/units/
Response
RESPONSE
{"name": "string","type": "string","location": "string","price": 0,"surface": 0,"guaranty": 0,"city": "string","subProjectId": "string","priceBase": "string","unitImageUrl": "string","unitNameAr": "string","unitLocation": {"type": "string","coordinates": [0]},"expense": {"name": "string","value": 0},"startingPrice": 0,"maxPrice": 0,"unitDesc": "string","unitDescAr": "string","unitShortDesc": "string","unitShortDescAr": "string","gallery": ["string"],"specs": [{"featureNumber": 0,"featureType": "string","featureImage": "string","featureDesc": "string","featureDescAr": "string","featureTag": "string","active": true}],"options": [{"optionNumber": 0,"optionName": "string","optionNameAr": "string","area": 0,"uom": "string","price": 0,"active": true}],"paymentPlans": [{"planNumber": 0,"planName": "string","planNameAr": "string","planDesc": "string","planDescAr": "string","minPrice": 0,"maxPrice": 0,"default": true,"downPayment": 0,"installmentsValue": 0,"paymentDetails": "string","active": true}],"floorsPlan": [{"floorsNumber": 0,"floorName": "string","floorNameAr": "string","floorDesc": "string","floorDescAr": "string","rooms": 0,"baths": 0,"view": "string","area": 0,"uom": "string","price": 0,"extras": "string","floorImage": "string"}],"readings": [{"service": "string","currentReading": 0,"previousReading": 0,"cost": 0,"readingDate": "string","Notes": "string"}]}
Create units
Request Parameters
- namestring
- typestring
- locationstring
- pricenumber
- surfacenumber
- guarantynumber
- citystring
- subProjectIdstring
- priceBasestring
- unitImageUrlstring
- unitNameArstring
- unitLocationobject
- expenseobject
- startingPricenumber
- maxPricenumber
- unitDescstring
- unitDescArstring
- unitShortDescstring
- unitShortDescArstring
- galleryarray
- specsarray
- optionsarray
- paymentPlansarray
- floorsPlanarray
- readingsarray
Request
POST
/api /units
export ICLOUDREADY_API_KEY=[your api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $ICLOUDREADY_API_KEY" \https://app.icloud-ready.com/api/units/\-d name="string"
Response
No responseRetrieve units
Path Parameters
- idstring
ID of the unit
Request
GET
/api /units /:id
export ICLOUDREADY_API_KEY=[your api key]curl \-H "Authorization: Bearer $ICLOUDREADY_API_KEY" \https://app.icloud-ready.com/api/units/:id/
Response
No responseUpdate units
Path Parameters
- idstring
ID of the unit
Request
PUT
/api /units /:id
export ICLOUDREADY_API_KEY=[your api key]curl -X PUT \-H "Authorization: Bearer $ICLOUDREADY_API_KEY" \https://app.icloud-ready.com/api/units/:id/
Response
No responseDelete units
Path Parameters
- idstring
ID of the unit
Request
DELETE
/api /units /:id
export ICLOUDREADY_API_KEY=[your api key]curl -X DELETE \-H "Authorization: Bearer $ICLOUDREADY_API_KEY" \https://app.icloud-ready.com/api/units/:id/