PATCH api/timeoff/{Id}/ApproveReject?Approval={Approval}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Approval

TimeOffStatusEnum

Required

Body Parameters

None.

Response Information

Resource Description

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": "d9a4b8bf-1f84-4dbb-b965-1974e83b587e",
  "TimeOffCategory": "8ac576d2-13d1-4014-b9ef-ab048c32e304",
  "Start": "2024-10-18T08:34:24.2160574+00:00",
  "End": "2024-10-18T08:34:24.2160574+00:00",
  "HoursPerDay": 5.0,
  "Notes": "sample string 6",
  "Status": 0,
  "Approver": "3ccc353a-f2da-421a-81d9-f9512f3b6929",
  "DateApproved": "2024-10-18T08:34:24.2160574+00:00",
  "HourTP": {
    "2024-10-18T08:34:24.2160574+00:00": 2.0
  },
  "id": "548a9c41-220a-45e6-ad58-476322b339d9",
  "ConfigId": "3c775b95-8a0d-4379-833e-4c81a4eea497"
}