POST api/LeaveRequest

Request Information

URI Parameters

None.

Body Parameters

EmployeeLeaveRequestParam
NameDescriptionTypeAdditional information
EmployeeLeaveId

integer

None.

Status

integer

None.

StartDate

string

None.

EndDate

string

None.

UserId

integer

None.

Duration

decimal number

None.

Notes

string

None.

PayRateId

integer

None.

Durations

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeLeaveId": 1,
  "Status": 2,
  "StartDate": "sample string 3",
  "EndDate": "sample string 4",
  "UserId": 5,
  "Duration": 6.0,
  "Notes": "sample string 7",
  "PayRateId": 8,
  "Durations": [
    "sample string 1",
    "sample string 2"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.