PUT api/v1/informations/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

Information
NameDescriptionTypeAdditional 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": "2fc0b3ba-1a91-4ff8-b389-adf56f0126bf",
  "valid_from": "2024-10-29T23:02:44Z",
  "image_id": "6f284998-1b01-4467-a046-bada822f6347",
  "logo_id": "680c5a1f-0e74-49ca-a5bf-f36cdabcd060",
  "images": [
    "72f435ca-4a34-465e-9c6f-20eaf90302fb",
    "17092ebd-d71b-49b6-ad82-78240f269946"
  ],
  "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": "e3a7b5cc-c5a5-45c4-b13f-d74d433b2d64",
    "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": "d40e79a9-437e-4d31-a055-c9333c7f1554",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        }
      }
    },
    {
      "id": "d40e79a9-437e-4d31-a055-c9333c7f1554",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        }
      }
    }
  ],
  "sections": [
    {
      "id": "d40e79a9-437e-4d31-a055-c9333c7f1554",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        }
      }
    },
    {
      "id": "d40e79a9-437e-4d31-a055-c9333c7f1554",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
            "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
            "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
            "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
            "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-10-29T23:02:44Z"
        }
      }
    }
  ],
  "system_information": {
    "creation": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
        "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
        "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
        "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
        "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-10-29T23:02:44Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "80fa99d3-b507-47eb-8da9-4b8884337b6f",
        "image_id": "be2d9c0e-ea07-404d-9159-e2b129e7f163",
        "id_user_work_position": "80da5817-04df-490b-9530-ccb7768ef9a5",
        "id_shift": "c573cae6-b0ac-4ba4-a586-4a0325b0baeb",
        "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-10-29T23:02:44Z"
    }
  },
  "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>e3a7b5cc-c5a5-45c4-b13f-d74d433b2d64</id>
    <name>sample string 2</name>
  </file>
  <for_admin>true</for_admin>
  <for_hr>true</for_hr>
  <for_user>true</for_user>
  <id>2fc0b3ba-1a91-4ff8-b389-adf56f0126bf</id>
  <image_id>6f284998-1b01-4467-a046-bada822f6347</image_id>
  <images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>72f435ca-4a34-465e-9c6f-20eaf90302fb</d2p1:guid>
    <d2p1:guid>17092ebd-d71b-49b6-ad82-78240f269946</d2p1:guid>
  </images>
  <labels>
    <CodeList>
      <deleted>true</deleted>
      <id>d40e79a9-437e-4d31-a055-c9333c7f1554</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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>d40e79a9-437e-4d31-a055-c9333c7f1554</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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>680c5a1f-0e74-49ca-a5bf-f36cdabcd060</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>d40e79a9-437e-4d31-a055-c9333c7f1554</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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>d40e79a9-437e-4d31-a055-c9333c7f1554</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
            <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
            <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
            <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
        <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
        <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
        <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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>80fa99d3-b507-47eb-8da9-4b8884337b6f</id>
        <id_shift>c573cae6-b0ac-4ba4-a586-4a0325b0baeb</id_shift>
        <id_user_work_position>80da5817-04df-490b-9530-ccb7768ef9a5</id_user_work_position>
        <image_id>be2d9c0e-ea07-404d-9159-e2b129e7f163</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-10-30T00:02:44.5707645+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

Result
NameDescriptionTypeAdditional 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>