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": "6b8f67c3-0bbf-4d38-987a-73a607a6f319", "name": "sample string 2", "code": "sample string 3", "has_value": true, "value": "sample string 5", "file": { "id": "feb3eeab-5a30-4e55-b2fe-933cab25b93b", "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": "ac9a8531-bce7-4b25-9940-299440fb5a02", "image_id": "529e1e19-8041-4aee-9e74-f9dc605b58b6", "id_user_work_position": "898ca543-f601-401a-b080-5c6d6f629d5e", "id_shift": "9a1b549a-2441-4416-9368-1153361f3d53", "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-09-08T02:41:12Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "ac9a8531-bce7-4b25-9940-299440fb5a02", "image_id": "529e1e19-8041-4aee-9e74-f9dc605b58b6", "id_user_work_position": "898ca543-f601-401a-b080-5c6d6f629d5e", "id_shift": "9a1b549a-2441-4416-9368-1153361f3d53", "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-09-08T02:41:12Z" } } }
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>feb3eeab-5a30-4e55-b2fe-933cab25b93b</id> <name>sample string 2</name> </file> <has_value>true</has_value> <id>6b8f67c3-0bbf-4d38-987a-73a607a6f319</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-09-08T04:41:12.0833196+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>ac9a8531-bce7-4b25-9940-299440fb5a02</id> <id_shift>9a1b549a-2441-4416-9368-1153361f3d53</id_shift> <id_user_work_position>898ca543-f601-401a-b080-5c6d6f629d5e</id_user_work_position> <image_id>529e1e19-8041-4aee-9e74-f9dc605b58b6</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-09-08T04:41:12.0833196+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>ac9a8531-bce7-4b25-9940-299440fb5a02</id> <id_shift>9a1b549a-2441-4416-9368-1153361f3d53</id_shift> <id_user_work_position>898ca543-f601-401a-b080-5c6d6f629d5e</id_user_work_position> <image_id>529e1e19-8041-4aee-9e74-f9dc605b58b6</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>