GET api/timeoff

Get my Time Off

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TimeOff
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

TimeOffCategory

globally unique identifier

None.

Start

date

None.

End

date

None.

HoursPerDay

decimal number

None.

Notes

string

None.

Status

TimeOffStatusEnum

None.

Approver

globally unique identifier

None.

DateApproved

date

None.

HourTP

Dictionary of date [key] and decimal number [value]

None.

id

globally unique identifier

None.

ConfigId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": "2bcfbb61-6924-4c4a-877e-fb6cd5830d59",
    "TimeOffCategory": "ce7de55b-c1dd-4989-970a-980bbaea0216",
    "Start": "2024-12-18T19:43:57.4339145+00:00",
    "End": "2024-12-18T19:43:57.4339145+00:00",
    "HoursPerDay": 5.0,
    "Notes": "sample string 6",
    "Status": 0,
    "Approver": "41a00473-5002-43ae-aadd-c675c020915c",
    "DateApproved": "2024-12-18T19:43:57.4339145+00:00",
    "HourTP": {
      "2024-12-18T19:43:57.4339145+00:00": 2.0
    },
    "id": "69521a85-f7c1-4234-ba81-cf1045d5a845",
    "ConfigId": "4a9db6a2-5a68-439a-9767-cb10ce9ca373"
  },
  {
    "UserId": "2bcfbb61-6924-4c4a-877e-fb6cd5830d59",
    "TimeOffCategory": "ce7de55b-c1dd-4989-970a-980bbaea0216",
    "Start": "2024-12-18T19:43:57.4339145+00:00",
    "End": "2024-12-18T19:43:57.4339145+00:00",
    "HoursPerDay": 5.0,
    "Notes": "sample string 6",
    "Status": 0,
    "Approver": "41a00473-5002-43ae-aadd-c675c020915c",
    "DateApproved": "2024-12-18T19:43:57.4339145+00:00",
    "HourTP": {
      "2024-12-18T19:43:57.4339145+00:00": 2.0
    },
    "id": "69521a85-f7c1-4234-ba81-cf1045d5a845",
    "ConfigId": "4a9db6a2-5a68-439a-9767-cb10ce9ca373"
  }
]