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": "aab0ed76-602c-49c0-9210-301e5a39af1e",
"date_start": "2026-07-14T20:41:48.2568352+00:00",
"date_end": "2026-07-14T20:41:48.2568352+00:00",
"modified_dateutc": "2026-07-14T20:41:48.2568352+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "0d50ea5a-822e-4b9f-9c80-fe5c74c34b34",
"user_code": "sample string 8",
"user": {
"id": "e10ccf09-e8c4-4d42-8710-97a867b6e83e",
"db_language_id": "b262da92-77d9-4186-9029-b004585495da",
"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-14T20:41:48.2568352+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "d2649e31-b65c-45d3-a9b8-8309ed65608d",
"sales_organization": {
"id": "47546839-0ff9-45bd-b9f8-6b3c94896b3f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "947e749e-6dbc-455a-b665-7275fa3d5b7e",
"db_currency_id": "5a70f14e-0542-41f2-8106-ef6cdb6285f8",
"db_language_id": "08ca78f6-5df3-448d-aba6-b99336e8c4c4",
"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-14T20:41:48.2568352+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "b8e61b3a-c6d8-4db1-89ea-8e0f8302f798",
"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": "df22a188-92af-47e2-83b1-96b6d11549a1",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-07-14T20:41:48.2568352+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "70b58774-5d44-4297-b36b-eb7ab5852dc8"
},
"user_unavailability_type_id": "6bd6d6a2-cd85-4279-9cba-83d55351e1a6",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "b617a958-4574-4cdd-805e-6f50a2ac68c0",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "ee2665ff-57f8-4cff-910d-1d3caa791d92",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "47546839-0ff9-45bd-b9f8-6b3c94896b3f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "947e749e-6dbc-455a-b665-7275fa3d5b7e",
"db_currency_id": "5a70f14e-0542-41f2-8106-ef6cdb6285f8",
"db_language_id": "08ca78f6-5df3-448d-aba6-b99336e8c4c4",
"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-14T20:41:48.2568352+00:00"
},
"modified_dateutc": "2026-07-14T20:41:48.2568352+00:00"
}
}