PUT api/v1/users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

User
NameDescriptionTypeAdditional information
full_name

string

None.

id

globally unique identifier

Required

image_id

globally unique identifier

None.

order_number

integer

None.

subject

CodeList

None.

position

string

None.

function

string

None.

text

string

None.

text_cz

string

None.

text_en

string

None.

property_type

CodeListSystem

None.

first_name

string

None.

last_name

string

None.

code

string

None.

people_soft_id

string

None.

skype

string

None.

teams

string

None.

whatsup

string

None.

gender

CodeListSystem

None.

inactive

boolean

None.

rate

decimal number

None.

rate_date

date

None.

rate_description

string

None.

email

string

None.

phone

string

None.

birthdate

date

None.

deleted

boolean

Required

system_information

SystemInformation

None.

state_id

integer

Required

timesheet

boolean

Required

attendence

boolean

Required

agreement

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "full_name": "sample string 10 sample string 9",
  "id": "f4312cfc-d9ac-4478-8433-fc2fd2e62183",
  "image_id": "a241aeef-3031-4723-afc5-44cf4a6cc40e",
  "order_number": 3,
  "subject": {
    "id": "d00ae013-6bc4-4b32-a234-6fe9b332bb6a",
    "name": "sample string 2",
    "deleted": true,
    "system_information": {
      "creation": {
        "user": {
          "full_name": "sample string 12 sample string 11",
          "id": "5182c064-89eb-40b4-84e3-85446d4be025",
          "image_id": "ab2c80d5-21b3-4a1d-8577-b96529d9cf4a",
          "id_user_work_position": "4ec73656-2053-4009-aa5f-fe25f0ba83ba",
          "id_shift": "8e7be304-aec4-4793-b417-471d51c007bc",
          "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-27T04:26:40Z"
      },
      "last_change": {
        "user": {
          "full_name": "sample string 12 sample string 11",
          "id": "5182c064-89eb-40b4-84e3-85446d4be025",
          "image_id": "ab2c80d5-21b3-4a1d-8577-b96529d9cf4a",
          "id_user_work_position": "4ec73656-2053-4009-aa5f-fe25f0ba83ba",
          "id_shift": "8e7be304-aec4-4793-b417-471d51c007bc",
          "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-27T04:26:40Z"
      }
    }
  },
  "position": "sample string 4",
  "function": "sample string 5",
  "text": "sample string 6",
  "text_cz": "sample string 7",
  "text_en": "sample string 8",
  "property_type": {
    "id": 1,
    "name": "sample string 2",
    "code": "sample string 3"
  },
  "first_name": "sample string 9",
  "last_name": "sample string 10",
  "code": "sample string 11",
  "people_soft_id": "sample string 12",
  "skype": "sample string 13",
  "teams": "sample string 14",
  "whatsup": "sample string 15",
  "gender": {
    "id": 1,
    "name": "sample string 2",
    "code": "sample string 3"
  },
  "inactive": true,
  "rate": 1.0,
  "rate_date": "2024-07-27T04:26:40Z",
  "rate_description": "sample string 17",
  "email": "sample string 18",
  "phone": "sample string 19",
  "birthdate": "2024-07-27T04:26:40Z",
  "deleted": true,
  "system_information": {
    "creation": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "5182c064-89eb-40b4-84e3-85446d4be025",
        "image_id": "ab2c80d5-21b3-4a1d-8577-b96529d9cf4a",
        "id_user_work_position": "4ec73656-2053-4009-aa5f-fe25f0ba83ba",
        "id_shift": "8e7be304-aec4-4793-b417-471d51c007bc",
        "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-27T04:26:40Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "5182c064-89eb-40b4-84e3-85446d4be025",
        "image_id": "ab2c80d5-21b3-4a1d-8577-b96529d9cf4a",
        "id_user_work_position": "4ec73656-2053-4009-aa5f-fe25f0ba83ba",
        "id_shift": "8e7be304-aec4-4793-b417-471d51c007bc",
        "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-27T04:26:40Z"
    }
  },
  "state_id": 1,
  "timesheet": true,
  "attendence": true,
  "agreement": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <agreement>true</agreement>
  <attendence>true</attendence>
  <birthdate>2024-07-27T06:26:40.8896623+02:00</birthdate>
  <code>sample string 11</code>
  <deleted>true</deleted>
  <email>sample string 18</email>
  <first_name>sample string 9</first_name>
  <full_name>sample string 10 sample string 9</full_name>
  <function>sample string 5</function>
  <gender>
    <code>sample string 3</code>
    <id>1</id>
    <name>sample string 2</name>
  </gender>
  <id>f4312cfc-d9ac-4478-8433-fc2fd2e62183</id>
  <image_id>a241aeef-3031-4723-afc5-44cf4a6cc40e</image_id>
  <inactive>true</inactive>
  <last_name>sample string 10</last_name>
  <order_number>3</order_number>
  <people_soft_id>sample string 12</people_soft_id>
  <phone>sample string 19</phone>
  <position>sample string 4</position>
  <property_type>
    <code>sample string 3</code>
    <id>1</id>
    <name>sample string 2</name>
  </property_type>
  <rate>1</rate>
  <rate_date>2024-07-27T06:26:40.8896623+02:00</rate_date>
  <rate_description>sample string 17</rate_description>
  <skype>sample string 13</skype>
  <state_id>1</state_id>
  <subject>
    <deleted>true</deleted>
    <id>d00ae013-6bc4-4b32-a234-6fe9b332bb6a</id>
    <name>sample string 2</name>
    <system_information>
      <creation>
        <date>2024-07-27T06:26:40.8896623+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>5182c064-89eb-40b4-84e3-85446d4be025</id>
          <id_shift>8e7be304-aec4-4793-b417-471d51c007bc</id_shift>
          <id_user_work_position>4ec73656-2053-4009-aa5f-fe25f0ba83ba</id_user_work_position>
          <image_id>ab2c80d5-21b3-4a1d-8577-b96529d9cf4a</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-27T06:26:40.8896623+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>5182c064-89eb-40b4-84e3-85446d4be025</id>
          <id_shift>8e7be304-aec4-4793-b417-471d51c007bc</id_shift>
          <id_user_work_position>4ec73656-2053-4009-aa5f-fe25f0ba83ba</id_user_work_position>
          <image_id>ab2c80d5-21b3-4a1d-8577-b96529d9cf4a</image_id>
          <introduction>sample string 10</introduction>
          <last_name>sample string 12</last_name>
          <title>sample string 9</title>
        </user>
      </last_change>
    </system_information>
  </subject>
  <system_information>
    <creation>
      <date>2024-07-27T06:26:40.8896623+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>5182c064-89eb-40b4-84e3-85446d4be025</id>
        <id_shift>8e7be304-aec4-4793-b417-471d51c007bc</id_shift>
        <id_user_work_position>4ec73656-2053-4009-aa5f-fe25f0ba83ba</id_user_work_position>
        <image_id>ab2c80d5-21b3-4a1d-8577-b96529d9cf4a</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-27T06:26:40.8896623+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>5182c064-89eb-40b4-84e3-85446d4be025</id>
        <id_shift>8e7be304-aec4-4793-b417-471d51c007bc</id_shift>
        <id_user_work_position>4ec73656-2053-4009-aa5f-fe25f0ba83ba</id_user_work_position>
        <image_id>ab2c80d5-21b3-4a1d-8577-b96529d9cf4a</image_id>
        <introduction>sample string 10</introduction>
        <last_name>sample string 12</last_name>
        <title>sample string 9</title>
      </user>
    </last_change>
  </system_information>
  <teams>sample string 14</teams>
  <text>sample string 6</text>
  <text_cz>sample string 7</text_cz>
  <text_en>sample string 8</text_en>
  <timesheet>true</timesheet>
  <whatsup>sample string 15</whatsup>
</User>

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>