POST api/Employee/AddShiftStoEmployeeAllWeek
Request Information
URI Parameters
None.
Body Parameters
RequestAddShiftAllWeek| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpNo | string |
None. |
|
| ShiftId | integer |
None. |
|
| assignedby | integer |
None. |
|
| ShiftFromDate | date |
None. |
|
| ShiftToDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpNo": "sample string 1",
"ShiftId": 2,
"assignedby": 3,
"ShiftFromDate": "2026-09-14T10:17:50.553282+04:00",
"ShiftToDate": "2026-09-14T10:17:50.553282+04:00"
}
application/xml, text/xml
Sample:
<RequestAddShiftAllWeek xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <EmpNo>sample string 1</EmpNo> <ShiftFromDate>2026-09-14T10:17:50.553282+04:00</ShiftFromDate> <ShiftId>2</ShiftId> <ShiftToDate>2026-09-14T10:17:50.553282+04:00</ShiftToDate> <assignedby>3</assignedby> </RequestAddShiftAllWeek>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />