Updates the unavailability with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
user_unavailabilityName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
date_start |
Date+Time of the beginning |
date |
Required |
date_end |
Date+Time of the end |
date |
Required |
modified_dateutc |
Date+Time of the modified |
date |
Required |
description |
Description of the unavailability |
string |
Max length: 255 |
is_approved |
Indicate if this object has been approved using a User Week Approval |
boolean | |
user_id |
User owner of this unavailability |
globally unique identifier |
Optionally required : user_id, user_code or user must be provided |
user_code |
Embedded entity "user" using ERP PK when adding/updating user_unavailability |
string |
Optionally required : user_id, user_code or user must be provided |
user |
Embedded entity "user" using node when adding/updating user_unavailability |
user |
Optionally required : user_id, user_code or user must be provided |
user_unavailability_type_id |
Type of the unavailability, cf model user_unavailability_type |
globally unique identifier |
Required Optionally required : user_unavailability_type_id, user_unavailability_type_code or user_unavailability_type must be provided |
user_unavailability_type_code |
Embedded entity "user_unavailability_type" using ERP PK when adding/updating user_unavailability |
string |
Optionally required : user_unavailability_type_id, user_unavailability_type_code or user_unavailability_type must be provided |
user_unavailability_type |
Embedded entity "user_unavailability_type" using node when adding/updating user_unavailability |
user_unavailability_type |
Optionally required : user_unavailability_type_id, user_unavailability_type_code or user_unavailability_type must be provided |
Request Formats :
application/json, text/json
{ "id": "c05ac953-cc81-4ab1-8c5d-649565865478", "date_start": "2025-01-18T11:01:59.6521015+00:00", "date_end": "2025-01-18T11:01:59.6521015+00:00", "modified_dateutc": "2025-01-18T11:01:59.6521015+00:00", "description": "sample string 5", "is_approved": true, "user_id": "f3222f38-ad02-4c72-afbf-b00f2a5ad3cc", "user_code": "sample string 8", "user": { "id": "bb54a680-f396-4dba-90c1-a5e4e65cce40", "db_language_id": "e1911b7b-e125-44a9-a50a-2fde3da70ab6", "username": "sample string 3", "firstname": "sample string 4", "lastname": "sample string 5", "code": "sample string 6", "archived": true, "disabled": true, "emergency_contact": "sample string 9", "bankaccount": "sample string 10", "social_security": "sample string 11", "place_of_birth": "sample string 12", "nationality": "sample string 13", "functions": "sample string 14", "birthdate": "2025-01-18T11:01:59.6521015+00:00", "skype": "sample string 16", "notes": "sample string 17", "sales_organization_id": "a44bfe3d-fd94-4037-9547-998fd253402d", "sales_organization": { "id": "feeaf04b-ff70-411d-8d12-92837c0f00e6", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "07d5a0db-56f8-4c0a-b579-8bf4c3496e6e", "db_currency_id": "8ee67905-fde0-4377-9721-99b8790fd2fd", "db_language_id": "46b78508-4931-4922-9d96-c6cb369d638a", "accountancy_code": "sample string 8", "archived": true, "default_unit_of_measure_system_type": "sample string 10", "street": "sample string 11", "street2": "sample string 12", "street_number": "sample string 13", "zip": "sample string 14", "city": "sample string 15", "email": "sample string 16", "phone": "sample string 17", "fax": "sample string 18", "url": "sample string 19", "vat_reg_code": "sample string 20", "modified_dateutc": "2025-01-18T11:01:59.6521015+00:00" }, "sales_organization_code": "sample string 19", "is_team_leader": true, "team_leader_user_id": "e7e4add4-a173-44d0-b3e2-18f4da674877", "email": "sample string 22", "phone": "sample string 23", "fax": "sample string 24", "mobile": "sample string 25", "private_email": "sample string 26", "private_phone": "sample string 27", "private_fax": "sample string 28", "private_mobile": "sample string 29", "private_street": "sample string 30", "private_street_number": "sample string 31", "private_city": "sample string 32", "private_zip": "sample string 33", "private_db_country_id": "04b7e55d-cd8c-4727-9633-e6cf6022dae7", "private_db_country_code": "sample string 35", "modified_dateutc": "2025-01-18T11:01:59.6521015+00:00", "allow_hero_app": true, "allow_sales_app": true, "allow_service_app": true, "user_group_id": "4d344ebc-14ff-4b98-b1da-a052cfb7a3c4", "udf1": "sample string 41", "udf2": "sample string 42", "udf3": "sample string 43", "udf4": "sample string 44", "udf5": "sample string 45", "udf6": "sample string 46", "udf7": "sample string 47", "udf8": "sample string 48", "udf9": "sample string 49", "udf10": "sample string 50", "udf11": "sample string 51", "udf12": "sample string 52", "udf13": "sample string 53", "udf14": "sample string 54", "udf15": "sample string 55", "udf16": "sample string 56", "udf17": "sample string 57", "udf18": "sample string 58", "udf19": "sample string 59", "udf20": "sample string 60", "udf21": "sample string 61", "udf22": "sample string 62", "udf23": "sample string 63", "udf24": "sample string 64", "udf25": "sample string 65", "udf26": "sample string 66", "udf27": "sample string 67", "udf28": "sample string 68", "udf29": "sample string 69", "udf30": "sample string 70", "udf31": "sample string 71", "udf32": "sample string 72", "udf33": "sample string 73", "udf34": "sample string 74", "udf35": "sample string 75", "udf36": "sample string 76", "udf37": "sample string 77", "udf38": "sample string 78", "udf39": "sample string 79", "udf40": "sample string 80", "udf41": "sample string 81", "udf42": "sample string 82", "udf43": "sample string 83", "udf44": "sample string 84", "udf45": "sample string 85", "udf46": "sample string 86", "udf47": "sample string 87", "udf48": "sample string 88", "udf49": "sample string 89", "udf50": "sample string 90", "udf51": "sample string 91", "udf52": "sample string 92", "udf53": "sample string 93", "udf54": "sample string 94", "udf55": "sample string 95", "udf56": "sample string 96", "udf57": "sample string 97", "udf58": "sample string 98", "udf59": "sample string 99", "udf60": "sample string 100", "udf61": "sample string 101", "udf62": "sample string 102", "udf63": "sample string 103", "udf64": "sample string 104", "udf65": "sample string 105", "udf66": "sample string 106", "udf67": "sample string 107", "udf68": "sample string 108", "udf69": "sample string 109", "udf70": "sample string 110", "udf71": "sample string 111", "udf72": "sample string 112", "udf73": "sample string 113", "udf74": "sample string 114", "udf75": "sample string 115", "udf76": "sample string 116", "udf77": "sample string 117", "udf78": "sample string 118", "udf79": "sample string 119", "udf80": "sample string 120", "udf81": "sample string 121", "udf82": "sample string 122", "udf83": "sample string 123", "udf84": "sample string 124", "udf85": "sample string 125", "udf86": "sample string 126", "udf87": "sample string 127", "udf88": "sample string 128", "udf89": "sample string 129", "udf90": "sample string 130", "udf91": "sample string 131", "udf92": "sample string 132", "udf93": "sample string 133", "udf94": "sample string 134", "udf95": "sample string 135", "udf96": "sample string 136", "udf97": "sample string 137", "udf98": "sample string 138", "udf99": "sample string 139", "udf100": "sample string 140" }, "user_unavailability_type_id": "7334b010-edd1-4581-b1ea-a47603caa35c", "user_unavailability_type_code": "sample string 10", "user_unavailability_type": { "id": "79117a17-63dc-4c66-966e-407b132e99a7", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "sales_organization_id": "00433769-f52d-46b7-b433-acbd149de8c7", "sales_organization_code": "sample string 6", "sales_organization": { "id": "feeaf04b-ff70-411d-8d12-92837c0f00e6", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "07d5a0db-56f8-4c0a-b579-8bf4c3496e6e", "db_currency_id": "8ee67905-fde0-4377-9721-99b8790fd2fd", "db_language_id": "46b78508-4931-4922-9d96-c6cb369d638a", "accountancy_code": "sample string 8", "archived": true, "default_unit_of_measure_system_type": "sample string 10", "street": "sample string 11", "street2": "sample string 12", "street_number": "sample string 13", "zip": "sample string 14", "city": "sample string 15", "email": "sample string 16", "phone": "sample string 17", "fax": "sample string 18", "url": "sample string 19", "vat_reg_code": "sample string 20", "modified_dateutc": "2025-01-18T11:01:59.6521015+00:00" }, "modified_dateutc": "2025-01-18T11:01:59.6521015+00:00" } }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.