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": "dd7492f5-bca9-4caf-ab95-d8e0aee649b4", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "8a91ba71-d078-426f-87b0-a769a4e4ee45", "image_id": "030db623-ce99-4287-8974-33ea3da3f43c", "id_user_work_position": "3d93aa83-ce53-446c-9a80-2f8f4aa2470c", "id_shift": "8320b4cc-f1a4-429b-9282-94816a10347f", "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:59:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "8a91ba71-d078-426f-87b0-a769a4e4ee45", "image_id": "030db623-ce99-4287-8974-33ea3da3f43c", "id_user_work_position": "3d93aa83-ce53-446c-9a80-2f8f4aa2470c", "id_shift": "8320b4cc-f1a4-429b-9282-94816a10347f", "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:59:15Z" } } }
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>dd7492f5-bca9-4caf-ab95-d8e0aee649b4</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:59:15.9163506+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>8a91ba71-d078-426f-87b0-a769a4e4ee45</id> <id_shift>8320b4cc-f1a4-429b-9282-94816a10347f</id_shift> <id_user_work_position>3d93aa83-ce53-446c-9a80-2f8f4aa2470c</id_user_work_position> <image_id>030db623-ce99-4287-8974-33ea3da3f43c</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:59:15.9163506+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>8a91ba71-d078-426f-87b0-a769a4e4ee45</id> <id_shift>8320b4cc-f1a4-429b-9282-94816a10347f</id_shift> <id_user_work_position>3d93aa83-ce53-446c-9a80-2f8f4aa2470c</id_user_work_position> <image_id>030db623-ce99-4287-8974-33ea3da3f43c</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>