Retrieves all unavailabilities
Request Information
URI Parameters :
None.
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": "ca982ecf-bc71-4a24-a380-b0b1f322ea57",
"date_start": "2025-11-29T02:34:24.5754606+00:00",
"date_end": "2025-11-29T02:34:24.5754606+00:00",
"modified_dateutc": "2025-11-29T02:34:24.5754606+00:00",
"description": "sample string 5",
"is_approved": true,
"user_id": "258876fb-0751-4d13-b4f2-eb7b0ac42bae",
"user_code": "sample string 8",
"user": {
"id": "4071c897-a8b1-451e-a09c-1e38081b9945",
"db_language_id": "2d88c1bd-f9f8-42d3-9702-9b1bc1d995cf",
"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": "2025-11-29T02:34:24.5754606+00:00",
"skype": "sample string 16",
"notes": "sample string 17",
"sales_organization_id": "69e70620-362f-421f-91f9-60933791f191",
"sales_organization": {
"id": "fd4b22f4-e587-4457-9081-48a86efd9187",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "d16f6db3-71e4-4880-b1c6-8b571b4030cf",
"db_currency_id": "87f37bcc-639c-4f83-afaf-e4eb7f66a247",
"db_language_id": "f32aa058-16a2-4d9d-96b4-a2932a78f3fc",
"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": "2025-11-29T02:34:24.5754606+00:00"
},
"sales_organization_code": "sample string 19",
"is_team_leader": true,
"team_leader_user_id": "fcaf0e69-eb42-4304-b14f-302c792f8290",
"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": "0db5c7ed-43ad-4b80-b884-8688f9206646",
"private_db_country_code": "sample string 35",
"modified_dateutc": "2025-11-29T02:34:24.5754606+00:00",
"allow_hero_app": true,
"allow_sales_app": true,
"allow_service_app": true,
"user_group_id": "e88e0387-7965-4a2d-a159-87b3fb0f2e49"
},
"user_unavailability_type_id": "9b7c8ed7-5b60-4246-a4b6-69eed24573b7",
"user_unavailability_type_code": "sample string 10",
"user_unavailability_type": {
"id": "ae3dcb92-aa09-4085-89e1-965d7bfa37c0",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"sales_organization_id": "ee50ef17-6a69-4d93-b3cd-e15d214a8878",
"sales_organization_code": "sample string 6",
"sales_organization": {
"id": "fd4b22f4-e587-4457-9081-48a86efd9187",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "d16f6db3-71e4-4880-b1c6-8b571b4030cf",
"db_currency_id": "87f37bcc-639c-4f83-afaf-e4eb7f66a247",
"db_language_id": "f32aa058-16a2-4d9d-96b4-a2932a78f3fc",
"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": "2025-11-29T02:34:24.5754606+00:00"
},
"modified_dateutc": "2025-11-29T02:34:24.5754606+00:00"
}
}