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_unavailability| Name | 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": "ee08101d-91dd-460e-bbf7-d70e7c0dc6ed",
"date_start": "2026-03-13T03:11:00.5609705+00:00",
"date_end": "2026-03-13T03:11:00.5609705+00:00",
"modified_dateutc": "2026-03-13T03:11:00.5609705+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "24e30969-6c9e-45f1-8a82-aec0fb13ae36",
"user_code": "sample string 8",
"user": {
"id": "7a159683-bcb3-42dd-96f4-599ce6f6f21f",
"db_language_id": "7a8d21a7-5957-479d-b533-9dfb68300363",
"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": "2026-03-13T03:11:00.5609705+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "1ca57f35-e715-48f6-97ee-aed035e42f2a",
"sales_organization": {
"id": "928c1596-931e-4bb6-b697-eef2e013b788",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a5fa8d17-474f-4da3-abef-1a1af87dd8d5",
"db_currency_id": "858d1c05-b99f-4107-960d-4c3578830b2f",
"db_language_id": "b5c9051f-fd2b-4a87-8d07-d5f2461b445f",
"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": "2026-03-13T03:11:00.5609705+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "2c28891c-6aa9-4a29-81e4-bace6154b788",
"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": "42ff9324-53f1-48c5-80c7-dc302d8e95e9",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-03-13T03:11:00.5609705+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "5f20c7ee-9421-4668-98a8-cffbb9b67925"
},
"user_unavailability_type_id": "c0c81a07-a16e-45ec-8c73-71dc5fe67b13",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "b6a7ffe2-24c8-43b4-86cf-fcb72e77534d",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "11397549-1b75-4dad-b2c5-94c9d2439bd4",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "928c1596-931e-4bb6-b697-eef2e013b788",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a5fa8d17-474f-4da3-abef-1a1af87dd8d5",
"db_currency_id": "858d1c05-b99f-4107-960d-4c3578830b2f",
"db_language_id": "b5c9051f-fd2b-4a87-8d07-d5f2461b445f",
"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": "2026-03-13T03:11:00.5609705+00:00"
},
"modified_dateutc": "2026-03-13T03:11:00.5609705+00:00"
}
}