Estate Diagnostics
Create an estate diagnostic
Creates a new diagnostic for a property.
If an active diagnostic of the same type already exists for this estate, the previous one is automatically deactivated.
post/places/{place_id}/estates/{estate_id}/diagnostics
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/places/{place_id}/estates/{estate_id}/diagnostics
- Auth: HTTP bearer
Path parameters
place_idstring uuid required
Place ID
estate_idstring uuid required
Estate (property) ID
Request body
Example request
{
"estate_id": "550e8400-e29b-41d4-a716-446655440001",
"diagnostic_type": "DIAGNOSTIC_PLOMB",
"media_id": "550e8400-e29b-41d4-a716-446655440010",
"name": "CREP - Lead Diagnosis",
"description": "Lead diagnosis for apartment 3B",
"performed_at": "2024-06-15",
"expires_at": "2030-06-15"
}Response
Estate diagnostic created successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"estate_id": "550e8400-e29b-41d4-a716-446655440001",
"diagnostic_type": "DIAGNOSTIC_PLOMB",
"media_id": "550e8400-e29b-41d4-a716-446655440010",
"name": "CREP - Lead Diagnosis",
"description": "Lead diagnosis for apartment 3B",
"performed_at": "2024-06-15",
"expires_at": "2030-06-15",
"is_active": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.