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 |
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": "3b7f2133-6228-4466-84f6-07d9968a5c9f",
"date_start": "2026-06-16T21:19:22.0598958+00:00",
"date_end": "2026-06-16T21:19:22.0598958+00:00",
"user_unavailability_type_id": "48309440-8f38-488b-945f-752c6e93d786",
"user_unavailability_type_name": "sample string 5",
"description": "sample string 6",
"sys_logical_delete": true,
"user_id": "d83aa1db-0a9b-46d3-a4e6-55ec09cfb9bb",
"modified_dateutc": "2026-06-16T21:19:22.0598958+00:00",
"is_approved": true,
"user_week_approval_id": "9696e306-02e3-4ca8-867b-52dcc5603b7d",
"db_address_id": "fa351a0f-6883-48ec-8392-bfdcd3404b43",
"location": "sample string 13",
"holiday_id": "3dee09af-6891-4fca-960b-cb69ad62dd57",
"archive_reason": "sample string 15",
"recurrence_id": "5796a619-de39-4207-9348-4a5b6e319735",
"time_span": "sample string 17",
"dateutc_create": "2026-06-16T21:19:22.0598958+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-06-16T21:19:22.059Z</date_end> <date_start>2026-06-16T21:19:22.059Z</date_start> <dateutc_create>2026-06-16T21:19:22.059Z</dateutc_create> <db_address_id>fa351a0f-6883-48ec-8392-bfdcd3404b43</db_address_id> <description>sample string 6</description> <holiday_id>3dee09af-6891-4fca-960b-cb69ad62dd57</holiday_id> <id>3b7f2133-6228-4466-84f6-07d9968a5c9f</id> <is_approved>true</is_approved> <is_confirmed>true</is_confirmed> <location>sample string 13</location> <modified_dateutc>2026-06-16T21:19:22.059Z</modified_dateutc> <recurrence_id>5796a619-de39-4207-9348-4a5b6e319735</recurrence_id> <sys_logical_delete>true</sys_logical_delete> <time_span>sample string 17</time_span> <user_id>d83aa1db-0a9b-46d3-a4e6-55ec09cfb9bb</user_id> <user_unavailability_type_id>48309440-8f38-488b-945f-752c6e93d786</user_unavailability_type_id> <user_unavailability_type_name>sample string 5</user_unavailability_type_name> <user_week_approval_id>9696e306-02e3-4ca8-867b-52dcc5603b7d</user_week_approval_id> </user_unavailability>