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. |
|
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": "7653e106-ee57-4543-8361-22651c855452", "valid_from": "2024-11-21T09:42:00Z", "image_id": "aeee0702-071a-4446-8664-6b59433751f6", "logo_id": "ebdc135d-372b-469a-b53e-e18f62f3a917", "images": [ "959a9fc0-6f17-4255-9605-345607ccda62", "5f348ecc-bd10-45f9-88ea-2d3cc1e00d9a" ], "open_inside": true, "view_option": { "id": 1, "name": "sample string 2", "code": "sample string 3" }, "target_users_query": "sample string 2", "title": "sample string 3", "slug": "sample string 4", "url": "sample string 5", "file": { "id": "7eb53939-d951-4a01-8e5c-a15aee453e63", "name": "sample string 2" }, "for_user": true, "for_hr": true, "for_admin": true, "priority": true, "deleted": true, "perex": "sample string 9", "text": "sample string 10", "minutes_for_read": 1, "labels": [ { "id": "3e228650-f297-43cb-99ea-0c8f18af2e8c", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" } } }, { "id": "3e228650-f297-43cb-99ea-0c8f18af2e8c", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" } } } ], "sections": [ { "id": "3e228650-f297-43cb-99ea-0c8f18af2e8c", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" } } }, { "id": "3e228650-f297-43cb-99ea-0c8f18af2e8c", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" } } } ], "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "d1e9419f-fd73-4c99-a774-9a917c39d9d6", "image_id": "cb7756c0-a790-4c1d-875d-e05e427979c9", "id_user_work_position": "1eac7066-44ab-4057-b67d-2506af566b4a", "id_shift": "372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4", "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:42:00Z" } }, "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>7eb53939-d951-4a01-8e5c-a15aee453e63</id> <name>sample string 2</name> </file> <for_admin>true</for_admin> <for_hr>true</for_hr> <for_user>true</for_user> <id>7653e106-ee57-4543-8361-22651c855452</id> <image_id>aeee0702-071a-4446-8664-6b59433751f6</image_id> <images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>959a9fc0-6f17-4255-9605-345607ccda62</d2p1:guid> <d2p1:guid>5f348ecc-bd10-45f9-88ea-2d3cc1e00d9a</d2p1:guid> </images> <labels> <CodeList> <deleted>true</deleted> <id>3e228650-f297-43cb-99ea-0c8f18af2e8c</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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>3e228650-f297-43cb-99ea-0c8f18af2e8c</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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>ebdc135d-372b-469a-b53e-e18f62f3a917</logo_id> <minutes_for_read>1</minutes_for_read> <open_inside>true</open_inside> <perex>sample string 9</perex> <priority>true</priority> <sections> <CodeList> <deleted>true</deleted> <id>3e228650-f297-43cb-99ea-0c8f18af2e8c</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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>3e228650-f297-43cb-99ea-0c8f18af2e8c</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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> <slug>sample string 4</slug> <state_id>1</state_id> <system_information> <creation> <date>2024-11-21T10:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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:42:00.3497649+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>d1e9419f-fd73-4c99-a774-9a917c39d9d6</id> <id_shift>372fb5e9-ab9e-4cdc-8099-b1cb0e3f78b4</id_shift> <id_user_work_position>1eac7066-44ab-4057-b67d-2506af566b4a</id_user_work_position> <image_id>cb7756c0-a790-4c1d-875d-e05e427979c9</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 10</text> <title>sample string 3</title> <url>sample string 5</url> <valid_from>2024-11-21T10:42:00.3497649+01: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>