For support support@leadrat.com
Authorization: ********************x-tenant-id: ********************curl --location --request POST '/units' \
--header 'Authorization: Bearer <token>' \
--header 'x-tenant-id: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
"tower": "8507dca1-2ebc-4539-b28b-184b0cadbfdb",
"floor": "f1acf44a-62d2-42f3-8dad-b917de85d75c",
"unitNumber": "string",
"unitType": "string",
"unitTypeLabel": "string",
"carpetArea": 0,
"builtUpArea": 0,
"superBuiltUpArea": 0,
"facing": "string",
"basePricePerUnitArea": {
"amount": 10000,
"currency": "INR"
},
"status": "AVAILABLE",
"isUnitBooked": true,
"unitBookedBy": "string",
"amenities": {
"inherited": [
{
"name": "string",
"description": "string",
"price": {
"amount": 10000,
"currency": "INR"
},
"chargeType": "FIXED",
"charge": 0
}
],
"specific": [
{
"name": "string",
"description": "string",
"price": {
"amount": 10000,
"currency": "INR"
},
"chargeType": "FIXED",
"charge": 0
}
]
},
"floorRiseCharge": {
"amount": 10000,
"currency": "INR"
},
"totalPrice": {
"amount": 10000,
"currency": "INR"
}
}'{
"id": "4fa85f64-5717-4562-b3fc-2c963f66afa7",
"unitNumber": "B-202",
"unitType": "THREE_BHK",
"area": 1350,
"facing": "SOUTH",
"basePrice": {
"amount": 9800000,
"currency": "INR"
},
"status": "AVAILABLE",
"tower": "5fa85f64-5717-4562-b3fc-2c963f66afa8",
"floor": "6fa85f64-5717-4562-b3fc-2c963f66afa9",
"project": "7fa85f64-5717-4562-b3fc-2c963f66afb0"
}