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": "d76746a4-6068-411d-b071-782a219363aa",
"date_start": "2026-10-05T06:33:42.0048694+00:00",
"date_end": "2026-10-05T06:33:42.0048694+00:00",
"modified_dateutc": "2026-10-05T06:33:42.0048694+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "e55af602-75e0-42cd-b896-a2966b237645",
"user_code": "sample string 8",
"user": {
"id": "ba4a4d4c-f542-49ea-a146-42e640903fed",
"db_language_id": "a07ee88f-0367-4ecd-92ce-78c1d18fd21f",
"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-05T06:33:42.0048694+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "cb17787d-af5f-4885-8b1f-02f9adc4f292",
"sales_organization": {
"id": "73d07f53-59b5-481b-8088-2629039e01f2",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "20b4e12b-277d-431b-b40e-5aac8dfdc435",
"db_currency_id": "39ccd6e6-eec8-4abf-801f-d7a17c901617",
"db_language_id": "83deffd0-797f-44ef-84c6-94cd79dc4968",
"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-05T06:33:42.0048694+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "fea60ff6-c10b-40dc-a364-65a16c9ea8f2",
"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": "59e25e72-5967-44fb-bb9a-2cf7b66bc6e9",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2026-10-05T06:33:42.0048694+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "78498886-a3b2-4e84-a01a-cba1e97b2741"
},
"user_unavailability_type_id": "828019d1-921a-4448-8237-09dca59997aa",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "2e6c6e8b-0042-4a72-b983-31d6a0c9d07a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "eb32eada-2aaf-4237-bb61-c5fe596cbdc9",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "73d07f53-59b5-481b-8088-2629039e01f2",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "20b4e12b-277d-431b-b40e-5aac8dfdc435",
"db_currency_id": "39ccd6e6-eec8-4abf-801f-d7a17c901617",
"db_language_id": "83deffd0-797f-44ef-84c6-94cd79dc4968",
"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-05T06:33:42.0048694+00:00"
},
"modified_dateutc": "2026-10-05T06:33:42.0048694+00:00"
}
}