Retrieves the unavailability with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

user_unavailability
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier

Required

date_start

Date+Time of the beginning

date

Required

date_end

Date+Time of the end

date

Required

user_unavailability_type_id

globally unique identifier
user_unavailability_type_name

string
description

Description

string

Max length: 255

sys_logical_delete

Logical delete

boolean
user_id

Assigned user

globally unique identifier
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date
is_approved

is_approved

boolean
user_week_approval_id

user_week_approval_id

globally unique identifier
db_address_id

db_address_id

globally unique identifier
location

location

string

Max length: 50

holiday_id

holiday_id

globally unique identifier
archive_reason

archive_reason

string

Max length: 4000

recurrence_id

recurrence_id

globally unique identifier
time_span

time_span

string

Max length: 255

dateutc_create

dateutc_create

date
is_confirmed

comfirmed by the user

boolean

Response Formats

application/json, text/json

Sample:
{
  "id": "092075e7-ad04-4a15-9ba9-3f40ed4b3959",
  "date_start": "2026-01-11T21:07:54.75568+00:00",
  "date_end": "2026-01-11T21:07:54.75568+00:00",
  "user_unavailability_type_id": "9f473c8e-e328-4697-949c-9420893a3731",
  "user_unavailability_type_name": "sample string 5",
  "description": "sample string 6",
  "sys_logical_delete": true,
  "user_id": "8d7e7068-7e51-4f33-8cad-5b167870aa8f",
  "modified_dateutc": "2026-01-11T21:07:54.75568+00:00",
  "is_approved": true,
  "user_week_approval_id": "644dc04d-face-445f-b1d6-d8ca8fa9b3ef",
  "db_address_id": "ba75d1a3-780f-48a0-bd54-1cd22c3bd8d0",
  "location": "sample string 13",
  "holiday_id": "7611d3a0-078e-4321-ad2e-db8488d92301",
  "archive_reason": "sample string 15",
  "recurrence_id": "cfa1199b-dad3-486a-9a50-d1c43418554d",
  "time_span": "sample string 17",
  "dateutc_create": "2026-01-11T21:07:54.75568+00:00",
  "is_confirmed": true
}

application/xml, text/xml

Sample:
<user_unavailability xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <archive_reason>sample string 15</archive_reason>
  <date_end>2026-01-11T21:07:54.755Z</date_end>
  <date_start>2026-01-11T21:07:54.755Z</date_start>
  <dateutc_create>2026-01-11T21:07:54.755Z</dateutc_create>
  <db_address_id>ba75d1a3-780f-48a0-bd54-1cd22c3bd8d0</db_address_id>
  <description>sample string 6</description>
  <holiday_id>7611d3a0-078e-4321-ad2e-db8488d92301</holiday_id>
  <id>092075e7-ad04-4a15-9ba9-3f40ed4b3959</id>
  <is_approved>true</is_approved>
  <is_confirmed>true</is_confirmed>
  <location>sample string 13</location>
  <modified_dateutc>2026-01-11T21:07:54.755Z</modified_dateutc>
  <recurrence_id>cfa1199b-dad3-486a-9a50-d1c43418554d</recurrence_id>
  <sys_logical_delete>true</sys_logical_delete>
  <time_span>sample string 17</time_span>
  <user_id>8d7e7068-7e51-4f33-8cad-5b167870aa8f</user_id>
  <user_unavailability_type_id>9f473c8e-e328-4697-949c-9420893a3731</user_unavailability_type_id>
  <user_unavailability_type_name>sample string 5</user_unavailability_type_name>
  <user_week_approval_id>644dc04d-face-445f-b1d6-d8ca8fa9b3ef</user_week_approval_id>
</user_unavailability>