GET api/v1/equipments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Equipment
NameDescriptionTypeAdditional 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": "4b97e71a-aea1-4a82-8d92-aaf39c49bffc",
  "name": "sample string 2",
  "code": "sample string 3",
  "has_value": true,
  "value": "sample string 5",
  "file": {
    "id": "d0fe929f-3976-4663-a463-5e943324a2c3",
    "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": "6d5696f2-cd34-4fdf-8b74-cc6fae9cf069",
        "image_id": "758003da-e225-4f28-abf8-c072f28f35db",
        "id_user_work_position": "612c7a56-6d3e-4c68-be47-2ac9239bc336",
        "id_shift": "0c5cb4a1-0f3e-4118-8b8b-029849ad4439",
        "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-07-27T03:59:16Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "6d5696f2-cd34-4fdf-8b74-cc6fae9cf069",
        "image_id": "758003da-e225-4f28-abf8-c072f28f35db",
        "id_user_work_position": "612c7a56-6d3e-4c68-be47-2ac9239bc336",
        "id_shift": "0c5cb4a1-0f3e-4118-8b8b-029849ad4439",
        "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-07-27T03:59:16Z"
    }
  }
}

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>d0fe929f-3976-4663-a463-5e943324a2c3</id>
    <name>sample string 2</name>
  </file>
  <has_value>true</has_value>
  <id>4b97e71a-aea1-4a82-8d92-aaf39c49bffc</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-07-27T05:59:16.9354744+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>6d5696f2-cd34-4fdf-8b74-cc6fae9cf069</id>
        <id_shift>0c5cb4a1-0f3e-4118-8b8b-029849ad4439</id_shift>
        <id_user_work_position>612c7a56-6d3e-4c68-be47-2ac9239bc336</id_user_work_position>
        <image_id>758003da-e225-4f28-abf8-c072f28f35db</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-07-27T05:59:16.9354744+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>6d5696f2-cd34-4fdf-8b74-cc6fae9cf069</id>
        <id_shift>0c5cb4a1-0f3e-4118-8b8b-029849ad4439</id_shift>
        <id_user_work_position>612c7a56-6d3e-4c68-be47-2ac9239bc336</id_user_work_position>
        <image_id>758003da-e225-4f28-abf8-c072f28f35db</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>