ProfitFlow
    ProfitFlow
    • Authentication
      • Login
        POST
      • Logout
        POST
    • Categories
      • List categories
        GET
      • Get category
        GET
    • Units
      • List available units
        GET
      • Get unit details
        GET
    • Investors
      • List investors
        GET
      • Get investor details
        GET
      • Get investor portfolio
        GET
    • Schemas
      • User
      • Category
      • Error
      • Unit
      • Investor
      • ValidationError
      • Portfolio
      • PaginationLinks
      • PaginationMeta

    Unit

    {
        "id": 1,
        "code": "UNIT-0001",
        "slug": "downtown-office-tower",
        "name": "Downtown Office Tower",
        "description": "Premium office space in the heart of downtown",
        "location": "Cairo, Egypt",
        "latitude": 30.0444,
        "longitude": 31.2357,
        "total_value": 5000000,
        "currency": "EGP",
        "available_percentage": 45.5,
        "sold_percentage": 54.5,
        "minimum_investment": 50000,
        "expected_annual_return": 12.5,
        "status": "active",
        "launch_date": "2024-01-01",
        "maturity_date": "2027-01-01",
        "featured_image": "https://example.com/images/unit-1.jpg",
        "gallery_images": [
            "https://example.com/images/unit-1-a.jpg",
            "https://example.com/images/unit-1-b.jpg"
        ],
        "category": {
            "id": 1,
            "name": "Commercial Real Estate",
            "icon": "building",
            "color": "#3B82F6"
        },
        "created_at": "2024-01-15T10:30:00+00:00",
        "updated_at": "2024-01-20T14:45:00+00:00"
    }
    Built with