Rent Regulation & Rent Control
Create a rent index value
Creates a new periodic value for a rent index. The index_id in the path takes precedence over the one in the request body.
Requires the leases:write permission.
Usage Example
curl -X POST https://api.faireplace.com/api/legislative-zones/rent-indices/550e8400-e29b-41d4-a716-446655440000/values \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"index_id": "550e8400-e29b-41d4-a716-446655440000",
"reference_period": "T3-2024",
"value_date": "2024-07-01",
"publication_date": "2024-10-15",
"base_year": 2015,
"index_value": 144.81
}'
post/legislative-zones/rent-indices/{index_id}/values
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/legislative-zones/rent-indices/{index_id}/values
- Auth: HTTP bearer
Path parameters
index_idstring uuid required
Parent rent index ID
Request body
Example request
{
"index_id": "550e8400-e29b-41d4-a716-446655440000",
"reference_period": "T3-2024",
"value_date": "2024-07-01",
"publication_date": "2024-10-15",
"base_year": 2015,
"index_value": 144.81,
"previous_value": 143.46,
"percentage_change": 3.26,
"official_source_url": "https://www.insee.fr/fr/statistiques/serie/001515333"
}Response
Rent index value created successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"tenant_id": "tenant_123",
"index_id": "550e8400-e29b-41d4-a716-446655440000",
"reference_period": "T3-2024",
"value_date": "2024-07-01",
"publication_date": "2024-10-15",
"base_year": 2015,
"index_value": 144.81,
"previous_value": 143.46,
"percentage_change": 3.26,
"official_source_url": "https://www.insee.fr/fr/statistiques/serie/001515333",
"created_at": "2024-10-15T09:00:00Z",
"updated_at": "2024-10-15T09:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.