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": "8a5b721d-b249-41c3-86eb-33dd244639ae",
"date_start": "2026-07-16T23:02:22.6300572+00:00",
"date_end": "2026-07-16T23:02:22.6300572+00:00",
"modified_dateutc": "2026-07-16T23:02:22.6300572+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "277e41f8-7710-480d-86c1-f70b4d5ebe6f",
"user_code": "sample string 8",
"user": {
"id": "9d5affbd-25a2-4ed0-9bb3-abccf27081fc",
"db_language_id": "d452a439-e68f-47c8-bb42-0aff4186adb3",
"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-07-16T23:02:22.6300572+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "d3c2a0ca-c7fd-412e-b3f9-92fd9e097863",
"sales_organization": {
"id": "64f65829-eed7-44d8-add0-6af2117e1209",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "34077502-8a8c-48e7-a87f-041f00789208",
"db_currency_id": "057e0fdf-146c-478a-b545-651e385158ac",
"db_language_id": "ff74d01c-9dec-4454-b42a-82f5a2c88a94",
"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-07-16T23:02:22.6300572+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "aa2072b2-2951-45d1-90e4-24f2e8412456",
"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": "c00cd7be-49ff-438d-add3-f2f8e378912a",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-07-16T23:02:22.6300572+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "14b90bd0-5e32-48d6-9fb5-61ffaa394b42"
},
"user_unavailability_type_id": "58feb9b8-4f6e-498e-9ff0-adbfea2e4828",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "4ea20285-6bae-43e0-8047-5048a3be84d2",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "ac1a13cf-fec7-4c90-a078-359fca017b43",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "64f65829-eed7-44d8-add0-6af2117e1209",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "34077502-8a8c-48e7-a87f-041f00789208",
"db_currency_id": "057e0fdf-146c-478a-b545-651e385158ac",
"db_language_id": "ff74d01c-9dec-4454-b42a-82f5a2c88a94",
"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-07-16T23:02:22.6300572+00:00"
},
"modified_dateutc": "2026-07-16T23:02:22.6300572+00:00"
}
}