POST api/Employee/AddShiftStoEmployee
Request Information
URI Parameters
None.
Body Parameters
RequestAddShifttoEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpNo | string |
None. |
|
| Monday | integer |
None. |
|
| Tuesday | integer |
None. |
|
| Wednesday | integer |
None. |
|
| Thursday | integer |
None. |
|
| Friday | integer |
None. |
|
| Saturday | integer |
None. |
|
| Sunday | integer |
None. |
|
| assignedby | integer |
None. |
|
| mondayfrom | date |
None. |
|
| mondayto | date |
None. |
|
| tuesdayfrom | date |
None. |
|
| tuesdayto | date |
None. |
|
| wednesdayfrom | date |
None. |
|
| wednesdayto | date |
None. |
|
| thursdayfrom | date |
None. |
|
| thursdayto | date |
None. |
|
| fridayfrom | date |
None. |
|
| fridayto | date |
None. |
|
| saturdayfrom | date |
None. |
|
| saturdayto | date |
None. |
|
| sundayfrom | date |
None. |
|
| sundayto | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpNo": "sample string 1",
"Monday": 2,
"Tuesday": 3,
"Wednesday": 4,
"Thursday": 5,
"Friday": 6,
"Saturday": 7,
"Sunday": 8,
"assignedby": 9,
"mondayfrom": "2026-09-14T10:17:50.5054941+04:00",
"mondayto": "2026-09-14T10:17:50.5054941+04:00",
"tuesdayfrom": "2026-09-14T10:17:50.5054941+04:00",
"tuesdayto": "2026-09-14T10:17:50.5054941+04:00",
"wednesdayfrom": "2026-09-14T10:17:50.5054941+04:00",
"wednesdayto": "2026-09-14T10:17:50.5054941+04:00",
"thursdayfrom": "2026-09-14T10:17:50.5054941+04:00",
"thursdayto": "2026-09-14T10:17:50.5054941+04:00",
"fridayfrom": "2026-09-14T10:17:50.5054941+04:00",
"fridayto": "2026-09-14T10:17:50.5054941+04:00",
"saturdayfrom": "2026-09-14T10:17:50.5054941+04:00",
"saturdayto": "2026-09-14T10:17:50.5054941+04:00",
"sundayfrom": "2026-09-14T10:17:50.5054941+04:00",
"sundayto": "2026-09-14T10:17:50.5054941+04:00"
}
application/xml, text/xml
Sample:
<RequestAddShifttoEmployee 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> <Friday>6</Friday> <Monday>2</Monday> <Saturday>7</Saturday> <Sunday>8</Sunday> <Thursday>5</Thursday> <Tuesday>3</Tuesday> <Wednesday>4</Wednesday> <assignedby>9</assignedby> <fridayfrom>2026-09-14T10:17:50.5054941+04:00</fridayfrom> <fridayto>2026-09-14T10:17:50.5054941+04:00</fridayto> <mondayfrom>2026-09-14T10:17:50.5054941+04:00</mondayfrom> <mondayto>2026-09-14T10:17:50.5054941+04:00</mondayto> <saturdayfrom>2026-09-14T10:17:50.5054941+04:00</saturdayfrom> <saturdayto>2026-09-14T10:17:50.5054941+04:00</saturdayto> <sundayfrom>2026-09-14T10:17:50.5054941+04:00</sundayfrom> <sundayto>2026-09-14T10:17:50.5054941+04:00</sundayto> <thursdayfrom>2026-09-14T10:17:50.5054941+04:00</thursdayfrom> <thursdayto>2026-09-14T10:17:50.5054941+04:00</thursdayto> <tuesdayfrom>2026-09-14T10:17:50.5054941+04:00</tuesdayfrom> <tuesdayto>2026-09-14T10:17:50.5054941+04:00</tuesdayto> <wednesdayfrom>2026-09-14T10:17:50.5054941+04:00</wednesdayfrom> <wednesdayto>2026-09-14T10:17:50.5054941+04:00</wednesdayto> </RequestAddShifttoEmployee>
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/" />