# Upload a new unit type image Upload a new image for a specific unit type using its unique ID. This endpoint allows you to add images that are linked to the unit type, which can include photos of the property, architectural designs, or other relevant visuals. The uploaded file should be provided as a multipart file in the request. If the specified development ID does not exist, a 404 Not Found error will be returned. In case of system errors during the upload process, a 500 Internal Server Error will be triggered. Endpoint: POST /api/v3/unitTypes/{id}/images/upload Version: 3.0.9 Security: OAuth2 ## Path parameters: - `id` (integer, required) ## Query parameters: - `currentUser` (object, required) ## Request fields (application/json): - `file` (string, required) ## Response 201 fields (application/json): - `id` (integer) Unique identifier of the attachment - `name` (string, required) Name of the attachment - `description` (string) Description of the attachment - `fileSize` (integer) File size in bytes - `fileType` (string) File type of the attachment, e.g., image/jpeg - `viewUrl` (string) - `unitType` (object) Type summary of the unit - `unitType.id` (integer) Unique identifier of the unit type Example: 1 - `unitType.name` (string) Name of the unit type Example: "Studio Apartment" - `isPrimary` (boolean)