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. |
|
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": "708db1f1-842a-4494-b875-386cf3d6f7cf", "name": "sample string 2", "code": "sample string 3", "has_value": true, "value": "sample string 5", "file": { "id": "2fe0c6e5-5c61-4fb6-bbe9-7a140324fa5d", "name": "sample string 2" }, "property_types": [ { "id": 1, "name": "sample string 2", "code": "sample string 3" }, { "id": 1, "name": "sample string 2", "code": "sample string 3" } ], "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "b43927d2-cdbe-45b2-ae66-dc047da8ffcc", "image_id": "63daff24-47b4-4e57-a3ab-3ca8c205c8ff", "id_user_work_position": "2528a0e0-ff28-4cc0-ab94-f17dcf0433ba", "id_shift": "d035f06a-706c-4713-a342-b692283600da", "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-10-30T01:31:55Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "b43927d2-cdbe-45b2-ae66-dc047da8ffcc", "image_id": "63daff24-47b4-4e57-a3ab-3ca8c205c8ff", "id_user_work_position": "2528a0e0-ff28-4cc0-ab94-f17dcf0433ba", "id_shift": "d035f06a-706c-4713-a342-b692283600da", "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-10-30T01:31:55Z" } } }
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 3</code> <deleted>true</deleted> <file> <id>2fe0c6e5-5c61-4fb6-bbe9-7a140324fa5d</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>708db1f1-842a-4494-b875-386cf3d6f7cf</id> <name>sample string 2</name> <property_types> <CodeListSystem> <code>sample string 3</code> <id>1</id> <name>sample string 2</name> </CodeListSystem> <CodeListSystem> <code>sample string 3</code> <id>1</id> <name>sample string 2</name> </CodeListSystem> </property_types> <system_information> <creation> <date>2024-10-30T02:31:55.0657495+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>b43927d2-cdbe-45b2-ae66-dc047da8ffcc</id> <id_shift>d035f06a-706c-4713-a342-b692283600da</id_shift> <id_user_work_position>2528a0e0-ff28-4cc0-ab94-f17dcf0433ba</id_user_work_position> <image_id>63daff24-47b4-4e57-a3ab-3ca8c205c8ff</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-10-30T02:31:55.0657495+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>b43927d2-cdbe-45b2-ae66-dc047da8ffcc</id> <id_shift>d035f06a-706c-4713-a342-b692283600da</id_shift> <id_user_work_position>2528a0e0-ff28-4cc0-ab94-f17dcf0433ba</id_user_work_position> <image_id>63daff24-47b4-4e57-a3ab-3ca8c205c8ff</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 5</value> </Equipment>