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": "39c3e71f-ae5f-4767-9dd6-ad4c4b5e6c70",
  "name": "sample string 2",
  "code": "sample string 3",
  "has_value": true,
  "value": "sample string 5",
  "file": {
    "id": "91a4cced-bbe0-4111-9305-c04cc8de6f11",
    "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": "ba265c4c-f7e9-4745-b157-dc13c6ccbdb0",
        "image_id": "775bbfbe-bfd6-4e02-9fe5-8cfeb9f4913c",
        "id_user_work_position": "532154b3-a742-4393-94ba-4cff962c629c",
        "id_shift": "24508f5f-bd42-4c00-a588-f9f13787dda1",
        "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-03-05T15:00:44Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "ba265c4c-f7e9-4745-b157-dc13c6ccbdb0",
        "image_id": "775bbfbe-bfd6-4e02-9fe5-8cfeb9f4913c",
        "id_user_work_position": "532154b3-a742-4393-94ba-4cff962c629c",
        "id_shift": "24508f5f-bd42-4c00-a588-f9f13787dda1",
        "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-03-05T15:00:44Z"
    }
  }
}

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>91a4cced-bbe0-4111-9305-c04cc8de6f11</id>
    <name>sample string 2</name>
  </file>
  <has_value>true</has_value>
  <id>39c3e71f-ae5f-4767-9dd6-ad4c4b5e6c70</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-03-05T16:00:44.6788002+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>ba265c4c-f7e9-4745-b157-dc13c6ccbdb0</id>
        <id_shift>24508f5f-bd42-4c00-a588-f9f13787dda1</id_shift>
        <id_user_work_position>532154b3-a742-4393-94ba-4cff962c629c</id_user_work_position>
        <image_id>775bbfbe-bfd6-4e02-9fe5-8cfeb9f4913c</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-03-05T16:00:44.6788002+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>ba265c4c-f7e9-4745-b157-dc13c6ccbdb0</id>
        <id_shift>24508f5f-bd42-4c00-a588-f9f13787dda1</id_shift>
        <id_user_work_position>532154b3-a742-4393-94ba-4cff962c629c</id_user_work_position>
        <image_id>775bbfbe-bfd6-4e02-9fe5-8cfeb9f4913c</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>