Lease Types
Create a new lease type
Create a new lease type with the provided parameters
post/lease-types
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/lease-types
- Auth: HTTP bearer
Request body
Example request
{
"country_id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Furnished lease 3 years",
"description": "Furnished lease for a duration of 3 years with annual revision",
"is_furnished": true
}Response
Lease type created successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"country_id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Furnished lease 3 years",
"description": "Furnished lease for a duration of 3 years with annual revision",
"is_furnished": 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.