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": "b34229f2-065b-424a-9a9d-2487d3ca1c4c",
"date_start": "2026-09-21T06:11:06.5897469+00:00",
"date_end": "2026-09-21T06:11:06.5897469+00:00",
"modified_dateutc": "2026-09-21T06:11:06.5897469+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "cb0716c5-0646-40f6-b440-ba6b9cee7373",
"user_code": "sample string 8",
"user": {
"id": "7b78085a-fa83-463d-8c9b-68b1f648542e",
"db_language_id": "2cf98ebb-a8ca-434e-80f5-d237fc606b7b",
"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-09-21T06:11:06.5897469+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "b68630c9-d29c-4a6f-b23f-c23ce65d5fac",
"sales_organization": {
"id": "a4948ff2-ed2b-4f78-9384-cc64d04c78d6",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e380ce86-ecba-4740-8e0f-875d1799285f",
"db_currency_id": "5ca13f9a-f1a0-4bae-9fca-9f495a20260c",
"db_language_id": "3c14ebbc-5159-491b-8445-d25e4f09ad90",
"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-09-21T06:11:06.5897469+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "f1cf7135-aec4-4eab-bdde-c9c495b6da6f",
"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": "e630ad0b-3e20-4cda-9da2-b5728f8ab1e3",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-09-21T06:11:06.5897469+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "48e73efe-6413-48c3-9d41-8e773f643161"
},
"user_unavailability_type_id": "c1ed9d8c-d544-4b89-9c7f-4a811887c25a",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "212a345e-375c-4c20-b00a-50d4a1bf27f8",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "750e4049-3309-4788-8350-98ce3a241725",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "a4948ff2-ed2b-4f78-9384-cc64d04c78d6",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e380ce86-ecba-4740-8e0f-875d1799285f",
"db_currency_id": "5ca13f9a-f1a0-4bae-9fca-9f495a20260c",
"db_language_id": "3c14ebbc-5159-491b-8445-d25e4f09ad90",
"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-09-21T06:11:06.5897469+00:00"
},
"modified_dateutc": "2026-09-21T06:11:06.5897469+00:00"
}
}