GET api/v1/code-list/{entity}/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entity

string

Required

id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

CodeList
NameDescriptionTypeAdditional information
id

globally unique identifier

Required

name

string

None.

deleted

boolean

Required

system_information

SystemInformation

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "9da5bf7f-ae46-49e8-a4da-dac512c7d858",
  "name": "sample string 2",
  "deleted": true,
  "system_information": {
    "creation": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "3ac4da01-36e7-4483-b9c7-cb4c89863db7",
        "image_id": "40f3e956-c3c2-4626-bbee-5811a2fd38b6",
        "id_user_work_position": "e2049024-8286-4302-a5a9-f0ae47640679",
        "id_shift": "8b86ad07-3eab-4ac0-b22c-dbb1df097bcd",
        "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-06-20T06:22:09Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "3ac4da01-36e7-4483-b9c7-cb4c89863db7",
        "image_id": "40f3e956-c3c2-4626-bbee-5811a2fd38b6",
        "id_user_work_position": "e2049024-8286-4302-a5a9-f0ae47640679",
        "id_shift": "8b86ad07-3eab-4ac0-b22c-dbb1df097bcd",
        "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-06-20T06:22:09Z"
    }
  }
}

application/xml, text/xml

Sample:
<CodeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <deleted>true</deleted>
  <id>9da5bf7f-ae46-49e8-a4da-dac512c7d858</id>
  <name>sample string 2</name>
  <system_information>
    <creation>
      <date>2024-06-20T08:22:09.1590466+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>3ac4da01-36e7-4483-b9c7-cb4c89863db7</id>
        <id_shift>8b86ad07-3eab-4ac0-b22c-dbb1df097bcd</id_shift>
        <id_user_work_position>e2049024-8286-4302-a5a9-f0ae47640679</id_user_work_position>
        <image_id>40f3e956-c3c2-4626-bbee-5811a2fd38b6</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-06-20T08:22:09.1590466+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>3ac4da01-36e7-4483-b9c7-cb4c89863db7</id>
        <id_shift>8b86ad07-3eab-4ac0-b22c-dbb1df097bcd</id_shift>
        <id_user_work_position>e2049024-8286-4302-a5a9-f0ae47640679</id_user_work_position>
        <image_id>40f3e956-c3c2-4626-bbee-5811a2fd38b6</image_id>
        <introduction>sample string 10</introduction>
        <last_name>sample string 12</last_name>
        <title>sample string 9</title>
      </user>
    </last_change>
  </system_information>
</CodeList>