PUT api/v1/users/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
UserName | Description | Type | Additional 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. |
|
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": "09ddbf49-22ba-4386-982f-4da8e37d6416", "image_id": "2adabc90-0557-41ad-b08d-8c9367e1f0cd", "order_number": 3, "subject": { "id": "724a3d49-425a-4010-8d18-688c14456417", "name": "sample string 2", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "a2705ab5-4475-47e8-9ea6-8cfec0119237", "image_id": "cf141ea2-80f2-4a70-b66f-e96d002adeb5", "id_user_work_position": "99735bf6-6ef3-4a81-a2ef-aadd8002921c", "id_shift": "df953a0d-231a-4c0b-ba6c-90100461a6f3", "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:57:18Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "a2705ab5-4475-47e8-9ea6-8cfec0119237", "image_id": "cf141ea2-80f2-4a70-b66f-e96d002adeb5", "id_user_work_position": "99735bf6-6ef3-4a81-a2ef-aadd8002921c", "id_shift": "df953a0d-231a-4c0b-ba6c-90100461a6f3", "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:57:18Z" } } }, "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-11-21T09:57:18Z", "rate_description": "sample string 17", "email": "sample string 18", "phone": "sample string 19", "birthdate": "2024-11-21T09:57:18Z", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "a2705ab5-4475-47e8-9ea6-8cfec0119237", "image_id": "cf141ea2-80f2-4a70-b66f-e96d002adeb5", "id_user_work_position": "99735bf6-6ef3-4a81-a2ef-aadd8002921c", "id_shift": "df953a0d-231a-4c0b-ba6c-90100461a6f3", "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:57:18Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "a2705ab5-4475-47e8-9ea6-8cfec0119237", "image_id": "cf141ea2-80f2-4a70-b66f-e96d002adeb5", "id_user_work_position": "99735bf6-6ef3-4a81-a2ef-aadd8002921c", "id_shift": "df953a0d-231a-4c0b-ba6c-90100461a6f3", "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:57:18Z" } }, "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-11-21T10:57:18.9666523+01: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>09ddbf49-22ba-4386-982f-4da8e37d6416</id> <image_id>2adabc90-0557-41ad-b08d-8c9367e1f0cd</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-11-21T10:57:18.9666523+01: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>724a3d49-425a-4010-8d18-688c14456417</id> <name>sample string 2</name> <system_information> <creation> <date>2024-11-21T10:57:18.9666523+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>a2705ab5-4475-47e8-9ea6-8cfec0119237</id> <id_shift>df953a0d-231a-4c0b-ba6c-90100461a6f3</id_shift> <id_user_work_position>99735bf6-6ef3-4a81-a2ef-aadd8002921c</id_user_work_position> <image_id>cf141ea2-80f2-4a70-b66f-e96d002adeb5</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:57:18.9666523+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>a2705ab5-4475-47e8-9ea6-8cfec0119237</id> <id_shift>df953a0d-231a-4c0b-ba6c-90100461a6f3</id_shift> <id_user_work_position>99735bf6-6ef3-4a81-a2ef-aadd8002921c</id_user_work_position> <image_id>cf141ea2-80f2-4a70-b66f-e96d002adeb5</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-11-21T10:57:18.9666523+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>a2705ab5-4475-47e8-9ea6-8cfec0119237</id> <id_shift>df953a0d-231a-4c0b-ba6c-90100461a6f3</id_shift> <id_user_work_position>99735bf6-6ef3-4a81-a2ef-aadd8002921c</id_user_work_position> <image_id>cf141ea2-80f2-4a70-b66f-e96d002adeb5</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:57:18.9666523+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>a2705ab5-4475-47e8-9ea6-8cfec0119237</id> <id_shift>df953a0d-231a-4c0b-ba6c-90100461a6f3</id_shift> <id_user_work_position>99735bf6-6ef3-4a81-a2ef-aadd8002921c</id_user_work_position> <image_id>cf141ea2-80f2-4a70-b66f-e96d002adeb5</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
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>