Retrieves the unavailability with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
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 |
Response Formats
application/json, text/json
{ "id": "cd00cd82-cf9c-4919-b920-11769264fab1", "date_start": "2024-10-30T03:59:08.5270486+00:00", "date_end": "2024-10-30T03:59:08.5270486+00:00", "modified_dateutc": "2024-10-30T03:59:08.5270486+00:00", "description": "sample string 5", "is_approved": true, "user_id": "57ba8d2c-2190-4405-bc03-801da09ad06e", "user_code": "sample string 8", "user": { "id": "82bf7e81-bcbb-47c8-902c-860267fc21da", "db_language_id": "7f714275-054f-4a5e-88af-65c3c88ffe66", "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": "2024-10-30T03:59:08.5270486+00:00", "skype": "sample string 16", "notes": "sample string 17", "sales_organization_id": "2723bb33-b19c-4759-a0a6-27d885c9785d", "sales_organization": { "id": "e16e1f36-581d-452c-8ee1-18be71dcdeee", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "fccd64a4-095a-4d70-b93c-65a0477ec3f3", "db_currency_id": "cc99d3fc-b178-4c6f-9dfe-a4953aa67e44", "db_language_id": "7f696019-124d-4d94-a504-30152c5ca842", "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": "2024-10-30T03:59:08.5270486+00:00" }, "sales_organization_code": "sample string 19", "is_team_leader": true, "team_leader_user_id": "ef82c22a-8785-4a0b-bf8c-74a785d42b29", "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": "f7778a3b-bef3-4b12-a92d-c8a2cabebf58", "private_db_country_code": "sample string 35", "modified_dateutc": "2024-10-30T03:59:08.5270486+00:00", "allow_hero_app": true, "allow_sales_app": true, "allow_service_app": true, "user_group_id": "aef9ba21-feb9-4c82-bbb3-4da9266215a1" }, "user_unavailability_type_id": "8f84dab1-c086-4ab2-9794-c038e3a82c3c", "user_unavailability_type_code": "sample string 10", "user_unavailability_type": { "id": "06dfbcca-d152-4fc5-a6f8-a889c1102eae", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "sales_organization_id": "7428e381-6e21-4c9a-859e-efeae1e9e0c9", "sales_organization_code": "sample string 6", "sales_organization": { "id": "e16e1f36-581d-452c-8ee1-18be71dcdeee", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "fccd64a4-095a-4d70-b93c-65a0477ec3f3", "db_currency_id": "cc99d3fc-b178-4c6f-9dfe-a4953aa67e44", "db_language_id": "7f696019-124d-4d94-a504-30152c5ca842", "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": "2024-10-30T03:59:08.5270486+00:00" }, "modified_dateutc": "2024-10-30T03:59:08.5270486+00:00" } }