GET api/v1/equipments/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
EquipmentName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
name | string |
None. |
|
name_en | string |
None. |
|
code | string |
None. |
|
has_value | boolean |
None. |
|
value | string |
None. |
|
file | File |
None. |
|
property_types | Collection of CodeListSystem |
None. |
|
deleted | boolean |
Required |
|
system_information | SystemInformation |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "eaa9f5e8-ae15-4b3b-8104-f956055e9e0d", "name": "sample string 2", "name_en": "sample string 3", "code": "sample string 4", "has_value": true, "value": "sample string 6", "file": { "id": "5b59e6c5-8716-4a89-8c47-b0469393f035", "name": "sample string 2" }, "property_types": [ { "id": 1, "name": "sample string 2", "name_en": "sample string 3", "code": "sample string 4" }, { "id": 1, "name": "sample string 2", "name_en": "sample string 3", "code": "sample string 4" } ], "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "fdbc0a8b-5d0f-48ac-acf3-214afd8abd68", "image_id": "eb5ac1da-f249-477c-acb8-94d44d6b9d4d", "id_user_work_position": "9b8d0b5c-32dc-49c5-82f6-a4e4dea88095", "id_shift": "65daca56-c28a-4b12-a165-8f0087a7a04b", "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": "2024-11-21T09:45:01Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "fdbc0a8b-5d0f-48ac-acf3-214afd8abd68", "image_id": "eb5ac1da-f249-477c-acb8-94d44d6b9d4d", "id_user_work_position": "9b8d0b5c-32dc-49c5-82f6-a4e4dea88095", "id_shift": "65daca56-c28a-4b12-a165-8f0087a7a04b", "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": "2024-11-21T09:45:01Z" } } }
application/xml, text/xml
Sample:
<Equipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <code>sample string 4</code> <deleted>true</deleted> <file> <id>5b59e6c5-8716-4a89-8c47-b0469393f035</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>eaa9f5e8-ae15-4b3b-8104-f956055e9e0d</id> <name>sample string 2</name> <name_en>sample string 3</name_en> <property_types> <CodeListSystem> <code>sample string 4</code> <id>1</id> <name>sample string 2</name> <name_en>sample string 3</name_en> </CodeListSystem> <CodeListSystem> <code>sample string 4</code> <id>1</id> <name>sample string 2</name> <name_en>sample string 3</name_en> </CodeListSystem> </property_types> <system_information> <creation> <date>2024-11-21T10:45:01.6445442+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>fdbc0a8b-5d0f-48ac-acf3-214afd8abd68</id> <id_shift>65daca56-c28a-4b12-a165-8f0087a7a04b</id_shift> <id_user_work_position>9b8d0b5c-32dc-49c5-82f6-a4e4dea88095</id_user_work_position> <image_id>eb5ac1da-f249-477c-acb8-94d44d6b9d4d</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </creation> <last_change> <date>2024-11-21T10:45:01.6445442+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>fdbc0a8b-5d0f-48ac-acf3-214afd8abd68</id> <id_shift>65daca56-c28a-4b12-a165-8f0087a7a04b</id_shift> <id_user_work_position>9b8d0b5c-32dc-49c5-82f6-a4e4dea88095</id_user_work_position> <image_id>eb5ac1da-f249-477c-acb8-94d44d6b9d4d</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </last_change> </system_information> <value>sample string 6</value> </Equipment>