POST api/ChangeRequest
Request Information
URI Parameters
None.
Body Parameters
ChangeRequestNewVm| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| TypeId | integer |
None. |
|
| SwitchingShiftsEmployeeId | integer |
None. |
|
| OtherSwitchingShiftID | integer |
None. |
|
| OtherEmployeeId | integer |
None. |
|
| RequestTypeNo | integer |
None. |
|
| Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"startDate": "2026-05-06T00:15:01.3132335+02:00",
"endDate": "2026-05-06T00:15:01.3132335+02:00",
"typeId": 1,
"switchingShiftsEmployeeId": 1,
"otherSwitchingShiftID": 1,
"otherEmployeeId": 1,
"requestTypeNo": 1,
"reason": "sample string 3"
}
text/html
Sample:
{"startDate":"2026-05-06T00:15:01.3132335+02:00","endDate":"2026-05-06T00:15:01.3132335+02:00","typeId":1,"switchingShiftsEmployeeId":1,"otherSwitchingShiftID":1,"otherEmployeeId":1,"requestTypeNo":1,"reason":"sample string 3"}
application/xml, text/xml
Sample:
<ChangeRequestNewVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.HR"> <EndDate>2026-05-06T00:15:01.3132335+02:00</EndDate> <OtherEmployeeId>1</OtherEmployeeId> <OtherSwitchingShiftID>1</OtherSwitchingShiftID> <Reason>sample string 3</Reason> <RequestTypeNo>1</RequestTypeNo> <StartDate>2026-05-06T00:15:01.3132335+02:00</StartDate> <SwitchingShiftsEmployeeId>1</SwitchingShiftsEmployeeId> <TypeId>1</TypeId> </ChangeRequestNewVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.