GET api/v1/code-list/{entity}/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entity | string |
Required |
|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
CodeListName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
name | string |
None. |
|
deleted | boolean |
Required |
|
system_information | SystemInformation |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "9c01066c-2ed0-43c6-a58c-24f8b7e7b80d", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "df082e05-b385-43d6-b25e-88410bac082c", "image_id": "f6bf4881-5e3f-457b-bac1-4742dc7bf9b5", "id_user_work_position": "0e96a333-5939-4e0a-b70c-fa188ae07d15", "id_shift": "e7d62b1c-bad8-406b-95cf-a1f640bdc1f5", "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-11-21T09:40:10Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "df082e05-b385-43d6-b25e-88410bac082c", "image_id": "f6bf4881-5e3f-457b-bac1-4742dc7bf9b5", "id_user_work_position": "0e96a333-5939-4e0a-b70c-fa188ae07d15", "id_shift": "e7d62b1c-bad8-406b-95cf-a1f640bdc1f5", "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-11-21T09:40:10Z" } } }
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>9c01066c-2ed0-43c6-a58c-24f8b7e7b80d</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:40:10.5250943+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>df082e05-b385-43d6-b25e-88410bac082c</id> <id_shift>e7d62b1c-bad8-406b-95cf-a1f640bdc1f5</id_shift> <id_user_work_position>0e96a333-5939-4e0a-b70c-fa188ae07d15</id_user_work_position> <image_id>f6bf4881-5e3f-457b-bac1-4742dc7bf9b5</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-11-21T10:40:10.5250943+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>df082e05-b385-43d6-b25e-88410bac082c</id> <id_shift>e7d62b1c-bad8-406b-95cf-a1f640bdc1f5</id_shift> <id_user_work_position>0e96a333-5939-4e0a-b70c-fa188ae07d15</id_user_work_position> <image_id>f6bf4881-5e3f-457b-bac1-4742dc7bf9b5</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>