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": "82f811e5-ec5d-473b-a9eb-248663fc3fff", "name": "sample string 2", "code": "sample string 3", "has_value": true, "value": "sample string 5", "file": { "id": "18209f81-b4bb-45e3-8f5a-7f69e63edcfa", "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": "b583192b-6faf-49fd-929a-5be1988916d7", "image_id": "ab0f0172-4f9c-4306-bb33-8e929325ad0b", "id_user_work_position": "899c9f8a-cf0b-45c5-a45f-dbf94a021b7f", "id_shift": "353431cf-f48a-4dac-b011-a83589684210", "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:46:18Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "b583192b-6faf-49fd-929a-5be1988916d7", "image_id": "ab0f0172-4f9c-4306-bb33-8e929325ad0b", "id_user_work_position": "899c9f8a-cf0b-45c5-a45f-dbf94a021b7f", "id_shift": "353431cf-f48a-4dac-b011-a83589684210", "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:46:18Z" } } }
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>18209f81-b4bb-45e3-8f5a-7f69e63edcfa</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>82f811e5-ec5d-473b-a9eb-248663fc3fff</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-11-21T10:46:18.8016203+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>b583192b-6faf-49fd-929a-5be1988916d7</id> <id_shift>353431cf-f48a-4dac-b011-a83589684210</id_shift> <id_user_work_position>899c9f8a-cf0b-45c5-a45f-dbf94a021b7f</id_user_work_position> <image_id>ab0f0172-4f9c-4306-bb33-8e929325ad0b</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:46:18.8016203+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>b583192b-6faf-49fd-929a-5be1988916d7</id> <id_shift>353431cf-f48a-4dac-b011-a83589684210</id_shift> <id_user_work_position>899c9f8a-cf0b-45c5-a45f-dbf94a021b7f</id_user_work_position> <image_id>ab0f0172-4f9c-4306-bb33-8e929325ad0b</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>