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": "8bc367f8-10e0-4780-8d1f-5e87c8e50049",
"date_start": "2026-10-11T08:37:25.8878477+00:00",
"date_end": "2026-10-11T08:37:25.8878477+00:00",
"modified_dateutc": "2026-10-11T08:37:25.8878477+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "5b347d9b-3e3e-4a10-b628-db69995025f5",
"user_code": "sample string 8",
"user": {
"id": "c5ac070e-1d36-499a-bcf4-10c86a94c3cf",
"db_language_id": "c9f5ff85-1256-45cf-bba8-731b2aaf49aa",
"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-10-11T08:37:25.8878477+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "4f1c57d2-1574-450a-bf15-d8df236a9496",
"sales_organization": {
"id": "085a785d-47ee-45e8-817b-d6825be30c3e",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6e9bceff-8def-4f9f-a47f-0894e84c6384",
"db_currency_id": "406a969c-4f2f-44c7-bd2b-755d9ee8e48d",
"db_language_id": "6fb1e0c7-0c33-435f-9a8c-826c40181375",
"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-10-11T08:37:25.8878477+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "c07dad34-cf54-4877-a8a7-5a0b049abc64",
"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": "80ca443f-6a5b-4bee-9c19-fe4f90ab7b99",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-10-11T08:37:25.8878477+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "9ed484d2-31c8-4b7e-ae40-574a40ab9285"
},
"user_unavailability_type_id": "4c9c4f17-4cb4-482e-8007-c7723135743b",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "0231a78c-cd8d-4c7a-94b8-c680bf561d39",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "7a963221-75d4-481e-845d-9fc9c7802be8",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "085a785d-47ee-45e8-817b-d6825be30c3e",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6e9bceff-8def-4f9f-a47f-0894e84c6384",
"db_currency_id": "406a969c-4f2f-44c7-bd2b-755d9ee8e48d",
"db_language_id": "6fb1e0c7-0c33-435f-9a8c-826c40181375",
"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-10-11T08:37:25.8878477+00:00"
},
"modified_dateutc": "2026-10-11T08:37:25.8878477+00:00"
}
}