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": "51f2da04-7cd3-423c-bff7-fd1682d023e1", "name": "sample string 2", "name_en": "sample string 3", "code": "sample string 4", "has_value": true, "value": "sample string 6", "file": { "id": "8c3c495c-f912-4c7b-a8ca-7dcbef39990b", "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": "424d8093-83a7-4baf-9ec8-83fbb7a9b062", "image_id": "29949af5-b98c-474e-a1cf-818e687cb7cc", "id_user_work_position": "1f896e92-65f0-4b7c-ae86-2aa75800a53f", "id_shift": "4cd152ca-f7ee-4140-9828-589aafd4a216", "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-04T10:17:34Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "424d8093-83a7-4baf-9ec8-83fbb7a9b062", "image_id": "29949af5-b98c-474e-a1cf-818e687cb7cc", "id_user_work_position": "1f896e92-65f0-4b7c-ae86-2aa75800a53f", "id_shift": "4cd152ca-f7ee-4140-9828-589aafd4a216", "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-04T10:17:34Z" } } }
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>8c3c495c-f912-4c7b-a8ca-7dcbef39990b</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>51f2da04-7cd3-423c-bff7-fd1682d023e1</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-04T12:17:34.1938915+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>424d8093-83a7-4baf-9ec8-83fbb7a9b062</id> <id_shift>4cd152ca-f7ee-4140-9828-589aafd4a216</id_shift> <id_user_work_position>1f896e92-65f0-4b7c-ae86-2aa75800a53f</id_user_work_position> <image_id>29949af5-b98c-474e-a1cf-818e687cb7cc</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-04T12:17:34.1938915+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>424d8093-83a7-4baf-9ec8-83fbb7a9b062</id> <id_shift>4cd152ca-f7ee-4140-9828-589aafd4a216</id_shift> <id_user_work_position>1f896e92-65f0-4b7c-ae86-2aa75800a53f</id_user_work_position> <image_id>29949af5-b98c-474e-a1cf-818e687cb7cc</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>