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": "2d5a528f-7fb1-4e83-b32a-3725edd08a04", "name": "sample string 2", "name_en": "sample string 3", "code": "sample string 4", "has_value": true, "value": "sample string 6", "file": { "id": "b5e1b0d4-dbaf-4ab0-a497-d438a428c69b", "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": "790d2c61-628a-4354-abe5-9d63bcd2783d", "image_id": "6731ed3a-b6a3-4c2a-b9f9-1cf92981ff92", "id_user_work_position": "ea7f66a2-baf0-496b-9c26-391c6b56bbca", "id_shift": "101673b7-5c9a-433b-be75-bba1455c1b2f", "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-04-04T00:56:28Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "790d2c61-628a-4354-abe5-9d63bcd2783d", "image_id": "6731ed3a-b6a3-4c2a-b9f9-1cf92981ff92", "id_user_work_position": "ea7f66a2-baf0-496b-9c26-391c6b56bbca", "id_shift": "101673b7-5c9a-433b-be75-bba1455c1b2f", "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-04-04T00:56:28Z" } } }
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>b5e1b0d4-dbaf-4ab0-a497-d438a428c69b</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>2d5a528f-7fb1-4e83-b32a-3725edd08a04</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>2025-04-04T02:56:28.4916357+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>790d2c61-628a-4354-abe5-9d63bcd2783d</id> <id_shift>101673b7-5c9a-433b-be75-bba1455c1b2f</id_shift> <id_user_work_position>ea7f66a2-baf0-496b-9c26-391c6b56bbca</id_user_work_position> <image_id>6731ed3a-b6a3-4c2a-b9f9-1cf92981ff92</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-04-04T02:56:28.4916357+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>790d2c61-628a-4354-abe5-9d63bcd2783d</id> <id_shift>101673b7-5c9a-433b-be75-bba1455c1b2f</id_shift> <id_user_work_position>ea7f66a2-baf0-496b-9c26-391c6b56bbca</id_user_work_position> <image_id>6731ed3a-b6a3-4c2a-b9f9-1cf92981ff92</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>