PUT api/v1/units/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Unit| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| property | CodeList |
None. |
|
| name | string |
None. |
|
| state | CodeListSystem |
None. |
|
| order_number | integer |
None. |
|
| hall | string |
None. |
|
| light_height | string |
None. |
|
| light_height_string | string |
None. |
|
| light_height_from | string |
None. |
|
| light_height_to | string |
None. |
|
| file | File |
None. |
|
| price | decimal number |
None. |
|
| available_area_from | decimal number |
None. |
|
| is_on_request | boolean |
None. |
|
| available_area_to | decimal number |
None. |
|
| availability | string |
None. |
|
| availability_en | string |
None. |
|
| available_now | boolean |
None. |
|
| floor | decimal number |
None. |
|
| floor_text | string |
None. |
|
| floor_text_en | string |
None. |
|
| construction_permit | integer |
None. |
|
| construction_permit_text | string |
None. |
|
| unit_layout | Collection of globally unique identifier |
None. |
|
| photo_layout | Collection of globally unique identifier |
None. |
|
| exact_size | decimal number |
None. |
|
| available_from | date |
None. |
|
| asking_rent_m2 | decimal number |
None. |
|
| area_office_and_social_facilities | decimal number |
None. |
|
| area_office_and_social_facilities_text | string |
None. |
|
| area_office_and_social_facilities_text_en | string |
None. |
|
| asking_rent_m2_currency | CodeListSystem |
None. |
|
| asking_rent_monthly | decimal number |
None. |
|
| asking_rent_monthly_currency | CodeListSystem |
None. |
|
| unit_lease_term | CodeListSystem |
None. |
|
| unit_category | CodeList |
None. |
|
| active | boolean |
None. |
|
| floor_load_capacity | decimal number |
None. |
|
| floor_load_capacity_string | string |
None. |
|
| floor_load_capacity_from | decimal number |
None. |
|
| floor_load_capacity_to | decimal number |
None. |
|
| loading_dock | decimal number |
None. |
|
| loading_dock_string | string |
None. |
|
| loading_dock_from | decimal number |
None. |
|
| loading_dock_to | decimal number |
None. |
|
| direct_drive_in | decimal number |
None. |
|
| direct_drive_in_string | string |
None. |
|
| direct_drive_in_from | decimal number |
None. |
|
| direct_drive_in_to | decimal number |
None. |
|
| deleted | boolean |
Required |
|
| system_information | SystemInformation |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "9822afeb-44b0-48ec-bb80-fcd3fbf5b3c3",
"property": {
"id": "5c426f9b-9ddf-43ec-90ed-c4e5e3f71e16",
"name": "sample string 2",
"deleted": true,
"system_information": {
"creation": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
},
"last_change": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
}
}
},
"name": "sample string 2",
"state": {
"id": 1,
"name": "sample string 2",
"name_en": "sample string 3",
"code": "sample string 4"
},
"order_number": 3,
"hall": "sample string 4",
"light_height": "sample string 5",
"light_height_string": "sample string 6",
"light_height_from": "sample string 7",
"light_height_to": "sample string 8",
"file": {
"id": "d7109346-eba6-4d95-a94f-0a6fc25cd531",
"name": "sample string 2"
},
"price": 1.0,
"available_area_from": 1.0,
"is_on_request": true,
"available_area_to": 1.0,
"availability": "sample string 10",
"availability_en": "sample string 11",
"available_now": true,
"floor": 1.0,
"floor_text": "sample string 13",
"floor_text_en": "sample string 14",
"construction_permit": 15,
"construction_permit_text": "sample string 16",
"unit_layout": [
"e159fcfa-2ad5-4e8e-889f-f8f14fd112d5",
"620618a6-15fb-43dc-8c5a-63edb4128010"
],
"photo_layout": [
"723ee3cb-791b-448b-957b-b00dd109a738",
"988ea2dd-3aa4-4943-8b31-797a4c560c1b"
],
"exact_size": 1.0,
"available_from": "2025-12-05T04:12:43Z",
"asking_rent_m2": 1.0,
"area_office_and_social_facilities": 1.0,
"area_office_and_social_facilities_text": "sample string 17",
"area_office_and_social_facilities_text_en": "sample string 18",
"asking_rent_m2_currency": {
"id": 1,
"name": "sample string 2",
"name_en": "sample string 3",
"code": "sample string 4"
},
"asking_rent_monthly": 1.0,
"asking_rent_monthly_currency": {
"id": 1,
"name": "sample string 2",
"name_en": "sample string 3",
"code": "sample string 4"
},
"unit_lease_term": {
"id": 1,
"name": "sample string 2",
"name_en": "sample string 3",
"code": "sample string 4"
},
"unit_category": {
"id": "5c426f9b-9ddf-43ec-90ed-c4e5e3f71e16",
"name": "sample string 2",
"deleted": true,
"system_information": {
"creation": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
},
"last_change": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
}
}
},
"active": true,
"floor_load_capacity": 1.0,
"floor_load_capacity_string": "sample string 20",
"floor_load_capacity_from": 1.0,
"floor_load_capacity_to": 1.0,
"loading_dock": 1.0,
"loading_dock_string": "sample string 21",
"loading_dock_from": 1.0,
"loading_dock_to": 1.0,
"direct_drive_in": 1.0,
"direct_drive_in_string": "sample string 22",
"direct_drive_in_from": 1.0,
"direct_drive_in_to": 1.0,
"deleted": true,
"system_information": {
"creation": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
},
"last_change": {
"user": {
"full_name": "sample string 12 sample string 11",
"id": "1a460c5f-919f-49e1-ba08-bbd50267767b",
"image_id": "8f1eeff0-ee28-42e8-a2b1-17932d6986ff",
"id_user_work_position": "6a53809f-e618-4fd4-b0a8-20acc1b69847",
"id_shift": "b3acad7a-60ca-4545-bc5d-09835d99c5cf",
"code": "sample string 5",
"code2": "sample string 6",
"title": "sample string 9",
"introduction": "sample string 10",
"first_name": "sample string 11",
"last_name": "sample string 12"
},
"date": "2025-12-05T04:12:43Z"
}
}
}
application/xml, text/xml
Sample:
<Unit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<active>true</active>
<area_office_and_social_facilities>1</area_office_and_social_facilities>
<area_office_and_social_facilities_text>sample string 17</area_office_and_social_facilities_text>
<area_office_and_social_facilities_text_en>sample string 18</area_office_and_social_facilities_text_en>
<asking_rent_m2>1</asking_rent_m2>
<asking_rent_m2_currency>
<code>sample string 4</code>
<id>1</id>
<name>sample string 2</name>
<name_en>sample string 3</name_en>
</asking_rent_m2_currency>
<asking_rent_monthly>1</asking_rent_monthly>
<asking_rent_monthly_currency>
<code>sample string 4</code>
<id>1</id>
<name>sample string 2</name>
<name_en>sample string 3</name_en>
</asking_rent_monthly_currency>
<availability>sample string 10</availability>
<availability_en>sample string 11</availability_en>
<available_area_from>1</available_area_from>
<available_area_to>1</available_area_to>
<available_from>2025-12-05T05:12:43.5977987+01:00</available_from>
<available_now>true</available_now>
<construction_permit>15</construction_permit>
<construction_permit_text>sample string 16</construction_permit_text>
<deleted>true</deleted>
<direct_drive_in>1</direct_drive_in>
<direct_drive_in_from>1</direct_drive_in_from>
<direct_drive_in_string>sample string 22</direct_drive_in_string>
<direct_drive_in_to>1</direct_drive_in_to>
<exact_size>1</exact_size>
<file>
<id>d7109346-eba6-4d95-a94f-0a6fc25cd531</id>
<name>sample string 2</name>
</file>
<floor>1</floor>
<floor_load_capacity>1</floor_load_capacity>
<floor_load_capacity_from>1</floor_load_capacity_from>
<floor_load_capacity_string>sample string 20</floor_load_capacity_string>
<floor_load_capacity_to>1</floor_load_capacity_to>
<floor_text>sample string 13</floor_text>
<floor_text_en>sample string 14</floor_text_en>
<hall>sample string 4</hall>
<id>9822afeb-44b0-48ec-bb80-fcd3fbf5b3c3</id>
<is_on_request>true</is_on_request>
<light_height>sample string 5</light_height>
<light_height_from>sample string 7</light_height_from>
<light_height_string>sample string 6</light_height_string>
<light_height_to>sample string 8</light_height_to>
<loading_dock>1</loading_dock>
<loading_dock_from>1</loading_dock_from>
<loading_dock_string>sample string 21</loading_dock_string>
<loading_dock_to>1</loading_dock_to>
<name>sample string 2</name>
<order_number>3</order_number>
<photo_layout xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>723ee3cb-791b-448b-957b-b00dd109a738</d2p1:guid>
<d2p1:guid>988ea2dd-3aa4-4943-8b31-797a4c560c1b</d2p1:guid>
</photo_layout>
<price>1</price>
<property>
<deleted>true</deleted>
<id>5c426f9b-9ddf-43ec-90ed-c4e5e3f71e16</id>
<name>sample string 2</name>
<system_information>
<creation>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</creation>
<last_change>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</last_change>
</system_information>
</property>
<state>
<code>sample string 4</code>
<id>1</id>
<name>sample string 2</name>
<name_en>sample string 3</name_en>
</state>
<system_information>
<creation>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</creation>
<last_change>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</last_change>
</system_information>
<unit_category>
<deleted>true</deleted>
<id>5c426f9b-9ddf-43ec-90ed-c4e5e3f71e16</id>
<name>sample string 2</name>
<system_information>
<creation>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</creation>
<last_change>
<date>2025-12-05T05:12:43.5977987+01:00</date>
<user>
<code>sample string 5</code>
<code2>sample string 6</code2>
<first_name>sample string 11</first_name>
<full_name>sample string 12 sample string 11</full_name>
<id>1a460c5f-919f-49e1-ba08-bbd50267767b</id>
<id_shift>b3acad7a-60ca-4545-bc5d-09835d99c5cf</id_shift>
<id_user_work_position>6a53809f-e618-4fd4-b0a8-20acc1b69847</id_user_work_position>
<image_id>8f1eeff0-ee28-42e8-a2b1-17932d6986ff</image_id>
<introduction>sample string 10</introduction>
<last_name>sample string 12</last_name>
<title>sample string 9</title>
</user>
</last_change>
</system_information>
</unit_category>
<unit_layout xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e159fcfa-2ad5-4e8e-889f-f8f14fd112d5</d2p1:guid>
<d2p1:guid>620618a6-15fb-43dc-8c5a-63edb4128010</d2p1:guid>
</unit_layout>
<unit_lease_term>
<code>sample string 4</code>
<id>1</id>
<name>sample string 2</name>
<name_en>sample string 3</name_en>
</unit_lease_term>
</Unit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| messages | Collection of ResultMessage |
None. |
|
| count_of_errors | integer |
None. |
|
| id | Object |
None. |
|
| name | string |
None. |
|
| data | Object |
None. |
|
| url | string |
None. |
|
| text | string |
None. |
|
| inner_exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"messages": [
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
},
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
}
],
"count_of_errors": 1,
"id": {},
"name": "sample string 3",
"data": {},
"url": "sample string 5",
"text": "sample string 6",
"inner_exception": "sample string 7"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
<count_of_errors>1</count_of_errors>
<data />
<id />
<inner_exception>sample string 7</inner_exception>
<messages>
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
</messages>
<name>sample string 3</name>
<text>sample string 6</text>
<url>sample string 5</url>
</Result>