PUT api/v1/informations/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
InformationName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
valid_from | date |
Required |
|
image_id | globally unique identifier |
None. |
|
logo_id | globally unique identifier |
None. |
|
images | Collection of globally unique identifier |
None. |
|
open_inside | boolean |
None. |
|
view_option | CodeListSystem |
None. |
|
target_users_query | string |
None. |
|
meta_title | string |
None. |
|
meta_description | string |
None. |
|
show_esg_button | boolean |
None. |
|
title | string |
Required |
|
slug | string |
None. |
|
url | string |
None. |
|
file | File |
None. |
|
for_user | boolean |
None. |
|
for_hr | boolean |
None. |
|
for_admin | boolean |
None. |
|
priority | boolean |
None. |
|
deleted | boolean |
Required |
|
perex | string |
None. |
|
text | string |
Required |
|
minutes_for_read | integer |
None. |
|
labels | Collection of CodeList |
Required |
|
sections | Collection of CodeList |
Required |
|
system_information | SystemInformation |
None. |
|
state_id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "id": "1ad7b5af-88ee-47cf-b4ce-4b27e0838b9a", "valid_from": "2024-07-27T07:38:15Z", "image_id": "20820a8f-3bf8-4ff6-9e33-70d559414a04", "logo_id": "72721816-1619-465c-a7ed-7200881cfd4b", "images": [ "c312efe7-f4b0-4e02-afee-57739556d250", "04eed8e6-9720-4471-b641-b04299c71011" ], "open_inside": true, "view_option": { "id": 1, "name": "sample string 2", "code": "sample string 3" }, "target_users_query": "sample string 2", "meta_title": "sample string 3", "meta_description": "sample string 4", "show_esg_button": true, "title": "sample string 6", "slug": "sample string 7", "url": "sample string 8", "file": { "id": "58e759e4-1fae-4222-9e68-064ac25c9b26", "name": "sample string 2" }, "for_user": true, "for_hr": true, "for_admin": true, "priority": true, "deleted": true, "perex": "sample string 12", "text": "sample string 13", "minutes_for_read": 1, "labels": [ { "id": "6972ca77-a9fb-42ae-875f-041843267a43", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" } } }, { "id": "6972ca77-a9fb-42ae-875f-041843267a43", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" } } } ], "sections": [ { "id": "6972ca77-a9fb-42ae-875f-041843267a43", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" } } }, { "id": "6972ca77-a9fb-42ae-875f-041843267a43", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" } } } ], "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "e1d94d3f-60be-4c84-8e5c-5858e3c6e80b", "image_id": "cfd3fb30-693e-4250-b9f5-c809cfaa2f3c", "id_user_work_position": "da54fb46-1697-45de-9d8d-5ab381aa27fc", "id_shift": "58acd82e-de04-492f-92bd-26079d07cd32", "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-27T07:38:15Z" } }, "state_id": 1 }
application/xml, text/xml
Sample:
<Information xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <deleted>true</deleted> <file> <id>58e759e4-1fae-4222-9e68-064ac25c9b26</id> <name>sample string 2</name> </file> <for_admin>true</for_admin> <for_hr>true</for_hr> <for_user>true</for_user> <id>1ad7b5af-88ee-47cf-b4ce-4b27e0838b9a</id> <image_id>20820a8f-3bf8-4ff6-9e33-70d559414a04</image_id> <images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>c312efe7-f4b0-4e02-afee-57739556d250</d2p1:guid> <d2p1:guid>04eed8e6-9720-4471-b641-b04299c71011</d2p1:guid> </images> <labels> <CodeList> <deleted>true</deleted> <id>6972ca77-a9fb-42ae-875f-041843267a43</id> <name>sample string 2</name> <system_information> <creation> <date>2024-07-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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> <CodeList> <deleted>true</deleted> <id>6972ca77-a9fb-42ae-875f-041843267a43</id> <name>sample string 2</name> <system_information> <creation> <date>2024-07-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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> </labels> <logo_id>72721816-1619-465c-a7ed-7200881cfd4b</logo_id> <meta_description>sample string 4</meta_description> <meta_title>sample string 3</meta_title> <minutes_for_read>1</minutes_for_read> <open_inside>true</open_inside> <perex>sample string 12</perex> <priority>true</priority> <sections> <CodeList> <deleted>true</deleted> <id>6972ca77-a9fb-42ae-875f-041843267a43</id> <name>sample string 2</name> <system_information> <creation> <date>2024-07-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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> <CodeList> <deleted>true</deleted> <id>6972ca77-a9fb-42ae-875f-041843267a43</id> <name>sample string 2</name> <system_information> <creation> <date>2024-07-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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> </sections> <show_esg_button>true</show_esg_button> <slug>sample string 7</slug> <state_id>1</state_id> <system_information> <creation> <date>2024-07-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</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-27T09:38:15.0902743+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>e1d94d3f-60be-4c84-8e5c-5858e3c6e80b</id> <id_shift>58acd82e-de04-492f-92bd-26079d07cd32</id_shift> <id_user_work_position>da54fb46-1697-45de-9d8d-5ab381aa27fc</id_user_work_position> <image_id>cfd3fb30-693e-4250-b9f5-c809cfaa2f3c</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </last_change> </system_information> <target_users_query>sample string 2</target_users_query> <text>sample string 13</text> <title>sample string 6</title> <url>sample string 8</url> <valid_from>2024-07-27T09:38:15.0902743+02:00</valid_from> <view_option> <code>sample string 3</code> <id>1</id> <name>sample string 2</name> </view_option> </Information>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
messages | Collection of ResultMessage |
None. |
|
count_of_errors | integer |
None. |
|
id | Object |
None. |
|
name | string |
None. |
|
data | Object |
None. |
|
url | string |
None. |
|
text | string |
None. |
|
inner_exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "messages": [ { "type": 1, "code": 1, "message": "sample string 1", "field": "sample string 2" }, { "type": 1, "code": 1, "message": "sample string 1", "field": "sample string 2" } ], "count_of_errors": 1, "id": {}, "name": "sample string 3", "data": {}, "url": "sample string 5", "text": "sample string 6", "inner_exception": "sample string 7" }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data"> <count_of_errors>1</count_of_errors> <data /> <id /> <inner_exception>sample string 7</inner_exception> <messages> <ResultMessage> <code>1</code> <field>sample string 2</field> <message>sample string 1</message> <type>1</type> </ResultMessage> <ResultMessage> <code>1</code> <field>sample string 2</field> <message>sample string 1</message> <type>1</type> </ResultMessage> </messages> <name>sample string 3</name> <text>sample string 6</text> <url>sample string 5</url> </Result>