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": "d6ec0d3e-ac46-4645-9a1c-b84b14d01cb7",
  "name": "sample string 2",
  "deleted": true,
  "system_information": {
    "creation": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "204ab720-ee79-4785-ad41-69608c50c952",
        "image_id": "a2289619-6a27-4e55-a674-7c071cc22af5",
        "id_user_work_position": "f6b6f12a-2e61-4f60-99dc-9fab3874948b",
        "id_shift": "86558d6d-43ce-4ed4-8a06-ff7c4e9f6729",
        "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-26T23:26:46Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "204ab720-ee79-4785-ad41-69608c50c952",
        "image_id": "a2289619-6a27-4e55-a674-7c071cc22af5",
        "id_user_work_position": "f6b6f12a-2e61-4f60-99dc-9fab3874948b",
        "id_shift": "86558d6d-43ce-4ed4-8a06-ff7c4e9f6729",
        "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-26T23:26:46Z"
    }
  }
}

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>d6ec0d3e-ac46-4645-9a1c-b84b14d01cb7</id>
  <name>sample string 2</name>
  <system_information>
    <creation>
      <date>2024-07-27T01:26:46.753077+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>204ab720-ee79-4785-ad41-69608c50c952</id>
        <id_shift>86558d6d-43ce-4ed4-8a06-ff7c4e9f6729</id_shift>
        <id_user_work_position>f6b6f12a-2e61-4f60-99dc-9fab3874948b</id_user_work_position>
        <image_id>a2289619-6a27-4e55-a674-7c071cc22af5</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-27T01:26:46.753077+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>204ab720-ee79-4785-ad41-69608c50c952</id>
        <id_shift>86558d6d-43ce-4ed4-8a06-ff7c4e9f6729</id_shift>
        <id_user_work_position>f6b6f12a-2e61-4f60-99dc-9fab3874948b</id_user_work_position>
        <image_id>a2289619-6a27-4e55-a674-7c071cc22af5</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>