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": "fb366df1-cdd8-4f79-bfdb-da2164838394",
  "valid_from": "2024-02-24T09:19:17Z",
  "image_id": "8e796f28-d256-4f8a-bd92-b4978b61a4fc",
  "logo_id": "927bd615-9b89-4676-9b0b-3fd37a67c533",
  "images": [
    "c376d0d9-2171-4d52-92b8-d91f48131ca6",
    "db2c5706-8f3c-42d7-b591-e80d7f3b7848"
  ],
  "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": "e23412c7-0863-48a9-8748-bcbe9958d402",
    "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": "0928bd22-238b-4dff-8f8e-28ce24431828",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        }
      }
    },
    {
      "id": "0928bd22-238b-4dff-8f8e-28ce24431828",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        }
      }
    }
  ],
  "sections": [
    {
      "id": "0928bd22-238b-4dff-8f8e-28ce24431828",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        }
      }
    },
    {
      "id": "0928bd22-238b-4dff-8f8e-28ce24431828",
      "name": "sample string 2",
      "deleted": true,
      "system_information": {
        "creation": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        },
        "last_change": {
          "user": {
            "full_name": "sample string 12 sample string 11",
            "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
            "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
            "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
            "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
            "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-02-24T09:19:17Z"
        }
      }
    }
  ],
  "system_information": {
    "creation": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
        "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
        "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
        "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
        "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-02-24T09:19:17Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "d68ea234-be68-41b4-aad3-954f2fce3114",
        "image_id": "db2551c1-287f-40d2-bbd6-d5e3c4317e85",
        "id_user_work_position": "66bf0165-faa8-4493-8564-fc4366c35c9f",
        "id_shift": "5ef7e056-07e7-4e71-aa23-139b7a9f8916",
        "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-02-24T09:19:17Z"
    }
  },
  "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>e23412c7-0863-48a9-8748-bcbe9958d402</id>
    <name>sample string 2</name>
  </file>
  <for_admin>true</for_admin>
  <for_hr>true</for_hr>
  <for_user>true</for_user>
  <id>fb366df1-cdd8-4f79-bfdb-da2164838394</id>
  <image_id>8e796f28-d256-4f8a-bd92-b4978b61a4fc</image_id>
  <images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>c376d0d9-2171-4d52-92b8-d91f48131ca6</d2p1:guid>
    <d2p1:guid>db2c5706-8f3c-42d7-b591-e80d7f3b7848</d2p1:guid>
  </images>
  <labels>
    <CodeList>
      <deleted>true</deleted>
      <id>0928bd22-238b-4dff-8f8e-28ce24431828</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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>0928bd22-238b-4dff-8f8e-28ce24431828</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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>927bd615-9b89-4676-9b0b-3fd37a67c533</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>0928bd22-238b-4dff-8f8e-28ce24431828</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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>0928bd22-238b-4dff-8f8e-28ce24431828</id>
      <name>sample string 2</name>
      <system_information>
        <creation>
          <date>2024-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
            <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
            <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
            <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
        <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
        <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
        <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>d68ea234-be68-41b4-aad3-954f2fce3114</id>
        <id_shift>5ef7e056-07e7-4e71-aa23-139b7a9f8916</id_shift>
        <id_user_work_position>66bf0165-faa8-4493-8564-fc4366c35c9f</id_user_work_position>
        <image_id>db2551c1-287f-40d2-bbd6-d5e3c4317e85</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-02-24T10:19:17.0291968+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>