Retrieves all unavailabilities

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

user_unavailability
NameDescriptionTypeAdditional 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

Sample:
{
  "id": "0d42d47c-e103-462c-9e2a-98830b090c4e",
  "date_start": "2026-01-22T22:39:39.5062706+00:00",
  "date_end": "2026-01-22T22:39:39.5062706+00:00",
  "modified_dateutc": "2026-01-22T22:39:39.5062706+00:00",
  "description": "sample string 5",
  "is_approved": true,
  "user_id": "b606772b-137a-4c0c-a914-f9f488868c70",
  "user_code": "sample string 8",
  "user": {
    "id": "4910f97e-a830-461b-af45-3227e4dd78cc",
    "db_language_id": "1727b66d-9e7f-4206-a16c-8116b02f0996",
    "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-01-22T22:39:39.5062706+00:00",
    "skype": "sample string 16",
    "notes": "sample string 17",
    "sales_organization_id": "d34f90c2-38ca-43e8-ae91-afad78ff7c32",
    "sales_organization": {
      "id": "8f3938e4-18a1-4e13-900d-e773a6d0e7e3",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "57c87f64-a3d6-4800-ac2d-0ec253622ac8",
      "db_currency_id": "2820ddca-608a-45f4-814a-dcf6bdf97381",
      "db_language_id": "c929e5f3-7049-4590-a103-95bd5b72615e",
      "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-01-22T22:39:39.5062706+00:00"
    },
    "sales_organization_code": "sample string 19",
    "is_team_leader": true,
    "team_leader_user_id": "3fe72f8f-c0f6-4b4b-a28b-62a2a27e39e5",
    "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": "d907c5c2-5b17-4768-aa1b-7a08ea108a10",
    "private_db_country_code": "sample string 35",
    "modified_dateutc": "2026-01-22T22:39:39.5062706+00:00",
    "allow_hero_app": true,
    "allow_sales_app": true,
    "allow_service_app": true,
    "user_group_id": "cbedc79f-03d7-4978-a9ef-85e4f53b0d74"
  },
  "user_unavailability_type_id": "392c85fb-08f5-4b64-b9e3-018ca47d733a",
  "user_unavailability_type_code": "sample string 10",
  "user_unavailability_type": {
    "id": "a3389830-c33c-4111-bd98-6474eb3a98ef",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "sales_organization_id": "d565a39a-dacb-4545-a537-9688e8710446",
    "sales_organization_code": "sample string 6",
    "sales_organization": {
      "id": "8f3938e4-18a1-4e13-900d-e773a6d0e7e3",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "57c87f64-a3d6-4800-ac2d-0ec253622ac8",
      "db_currency_id": "2820ddca-608a-45f4-814a-dcf6bdf97381",
      "db_language_id": "c929e5f3-7049-4590-a103-95bd5b72615e",
      "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-01-22T22:39:39.5062706+00:00"
    },
    "modified_dateutc": "2026-01-22T22:39:39.5062706+00:00"
  }
}