Retrieves all user unavailability periods, optionally filtered via OData query options.
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the list of user unavailability periods.
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 |
Foreign key of the type of unavailability (see ). |
globally unique identifier | |
| user_unavailability_type_name |
Display name of the unavailability type (denormalized copy of the type record). |
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 |
Readonly system field: UTC date and time this unavailability record was created. |
date | |
| is_confirmed |
comfirmed by the user |
boolean |
Response Formats
application/json, text/json
{
"id": "7f6500e1-6896-4f72-931f-2661c47c54b8",
"date_start": "2026-09-16T10:11:48.996384+00:00",
"date_end": "2026-09-16T10:11:48.996384+00:00",
"user_unavailability_type_id": "24cd9744-47e5-4ce1-b795-097d6cfd0367",
"user_unavailability_type_name": "sample string 5",
"description": "sample string 6",
"sys_logical_delete": true,
"user_id": "fbdc9f87-1379-4858-9839-1e859b692d91",
"modified_dateutc": "2026-09-16T10:11:48.996384+00:00",
"is_approved": true,
"user_week_approval_id": "0aa69548-6e7f-463d-ad59-1187d9698eff",
"db_address_id": "ae09485b-4668-46b2-95dc-09a4d86d302f",
"location": "sample string 13",
"holiday_id": "67383ca3-6db9-4c68-92ec-5857016d302a",
"archive_reason": "sample string 15",
"recurrence_id": "521634e2-4aa3-462d-91fa-e94b353ddf8d",
"time_span": "sample string 17",
"dateutc_create": "2026-09-16T10:11:48.996384+00:00",
"is_confirmed": true
}
application/xml, text/xml
<user_unavailability xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <archive_reason>sample string 15</archive_reason> <date_end>2026-09-16T10:11:48.996Z</date_end> <date_start>2026-09-16T10:11:48.996Z</date_start> <dateutc_create>2026-09-16T10:11:48.996Z</dateutc_create> <db_address_id>ae09485b-4668-46b2-95dc-09a4d86d302f</db_address_id> <description>sample string 6</description> <holiday_id>67383ca3-6db9-4c68-92ec-5857016d302a</holiday_id> <id>7f6500e1-6896-4f72-931f-2661c47c54b8</id> <is_approved>true</is_approved> <is_confirmed>true</is_confirmed> <location>sample string 13</location> <modified_dateutc>2026-09-16T10:11:48.996Z</modified_dateutc> <recurrence_id>521634e2-4aa3-462d-91fa-e94b353ddf8d</recurrence_id> <sys_logical_delete>true</sys_logical_delete> <time_span>sample string 17</time_span> <user_id>fbdc9f87-1379-4858-9839-1e859b692d91</user_id> <user_unavailability_type_id>24cd9744-47e5-4ce1-b795-097d6cfd0367</user_unavailability_type_id> <user_unavailability_type_name>sample string 5</user_unavailability_type_name> <user_week_approval_id>0aa69548-6e7f-463d-ad59-1187d9698eff</user_week_approval_id> </user_unavailability>