PUT api/v1/units/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
UnitName | 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. |
|
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. |
|
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. |
|
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. |
|
loading_dock | decimal number |
None. |
|
direct_drive_in | decimal number |
None. |
|
deleted | boolean |
Required |
|
system_information | SystemInformation |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "873f19d9-67c1-4eb0-a0e8-c4804038f445", "property": { "id": "2a7ce2ab-6d93-4200-bbbd-662904110dc0", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" } } }, "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", "file": { "id": "ca94ea66-2d74-476f-aefd-9a65492c37b5", "name": "sample string 2" }, "price": 1.0, "available_area_from": 1.0, "is_on_request": true, "available_area_to": 1.0, "availability": "sample string 7", "availability_en": "sample string 8", "available_now": true, "floor": 1.0, "floor_text": "sample string 10", "floor_text_en": "sample string 11", "construction_permit": 12, "construction_permit_text": "sample string 13", "unit_layout": [ "66cd85a4-0190-4486-bf97-849a46fcc67c", "262118d1-e771-4e13-92ab-9bc84ddbe666" ], "exact_size": 1.0, "available_from": "2025-06-01T14:35:59Z", "asking_rent_m2": 1.0, "area_office_and_social_facilities": 1.0, "area_office_and_social_facilities_text": "sample string 14", "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": "2a7ce2ab-6d93-4200-bbbd-662904110dc0", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" } } }, "active": true, "floor_load_capacity": 1.0, "loading_dock": 1.0, "direct_drive_in": 1.0, "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "24d2a761-8efe-4403-b7ff-f120db1bfa10", "image_id": "ce8bfb16-374d-4a1c-81a0-64152880b6ad", "id_user_work_position": "5ddc41c4-d038-4896-bce9-8f4c4bf77dab", "id_shift": "9d2c2802-32ae-4476-b951-0eba0f4b9c1e", "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-06-01T14:35:59Z" } } }
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 14</area_office_and_social_facilities_text> <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 7</availability> <availability_en>sample string 8</availability_en> <available_area_from>1</available_area_from> <available_area_to>1</available_area_to> <available_from>2025-06-01T16:35:59.8101255+02:00</available_from> <available_now>true</available_now> <construction_permit>12</construction_permit> <construction_permit_text>sample string 13</construction_permit_text> <deleted>true</deleted> <direct_drive_in>1</direct_drive_in> <exact_size>1</exact_size> <file> <id>ca94ea66-2d74-476f-aefd-9a65492c37b5</id> <name>sample string 2</name> </file> <floor>1</floor> <floor_load_capacity>1</floor_load_capacity> <floor_text>sample string 10</floor_text> <floor_text_en>sample string 11</floor_text_en> <hall>sample string 4</hall> <id>873f19d9-67c1-4eb0-a0e8-c4804038f445</id> <is_on_request>true</is_on_request> <light_height>sample string 5</light_height> <loading_dock>1</loading_dock> <name>sample string 2</name> <order_number>3</order_number> <price>1</price> <property> <deleted>true</deleted> <id>2a7ce2ab-6d93-4200-bbbd-662904110dc0</id> <name>sample string 2</name> <system_information> <creation> <date>2025-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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>2a7ce2ab-6d93-4200-bbbd-662904110dc0</id> <name>sample string 2</name> <system_information> <creation> <date>2025-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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-06-01T16:35:59.8101255+02: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>24d2a761-8efe-4403-b7ff-f120db1bfa10</id> <id_shift>9d2c2802-32ae-4476-b951-0eba0f4b9c1e</id_shift> <id_user_work_position>5ddc41c4-d038-4896-bce9-8f4c4bf77dab</id_user_work_position> <image_id>ce8bfb16-374d-4a1c-81a0-64152880b6ad</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>66cd85a4-0190-4486-bf97-849a46fcc67c</d2p1:guid> <d2p1:guid>262118d1-e771-4e13-92ab-9bc84ddbe666</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
ResultName | 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>