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": "e0c1b1ca-96f2-477d-969d-3c7b883522ba",
"date_start": "2026-08-10T02:46:20.0326717+00:00",
"date_end": "2026-08-10T02:46:20.0326717+00:00",
"modified_dateutc": "2026-08-10T02:46:20.0326717+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "b9a7fda8-05ad-4c55-801d-8dfe970d2f89",
"user_code": "sample string 8",
"user": {
"id": "c9fd4a87-bd64-4172-a0b3-586da9034c6f",
"db_language_id": "2f7fe02f-ae3c-41bb-8d11-c675a5168295",
"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-08-10T02:46:20.0326717+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "eb661858-f8ea-406c-b38c-0204e8d7a64e",
"sales_organization": {
"id": "9bc6524d-4334-4c0a-ba63-ee8cbebc883d",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "59a8dbca-78b3-46db-b1ff-564c2ec77acb",
"db_currency_id": "1597e054-d1bc-41af-9df4-39bc3940fb78",
"db_language_id": "88693486-c65c-4732-bebe-f518b6dec61d",
"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-08-10T02:46:20.0326717+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "8a98e22e-11de-4f4d-a672-6ef013b25d58",
"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": "a20205d0-6cd4-4a47-8070-0b93f7ac178b",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-08-10T02:46:20.0326717+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "5d35d481-c59a-40da-a465-ec13678d5018"
},
"user_unavailability_type_id": "b8947802-7976-4d6c-b7fc-6d25b78dbcb6",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "f8df4aa4-d98e-4eec-b658-59151894ce5a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "0212da1e-f946-491d-ae02-ca6d5c978d52",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "9bc6524d-4334-4c0a-ba63-ee8cbebc883d",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "59a8dbca-78b3-46db-b1ff-564c2ec77acb",
"db_currency_id": "1597e054-d1bc-41af-9df4-39bc3940fb78",
"db_language_id": "88693486-c65c-4732-bebe-f518b6dec61d",
"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-08-10T02:46:20.0326717+00:00"
},
"modified_dateutc": "2026-08-10T02:46:20.0326717+00:00"
}
}