POST api/shiftSchedule/Addemployeeshift
Request Information
URI Parameters
None.
Body Parameters
shiftmaindata| Name | Description | Type | Additional information |
|---|---|---|---|
| fromdate | date |
None. |
|
| todate | date |
None. |
|
| assignby | integer |
None. |
|
| futurecheck | boolean |
None. |
|
| shiftdatas | Collection of shiftdata |
None. |
|
| action | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"fromdate": "2026-09-14T12:30:17.3001099+04:00",
"todate": "2026-09-14T12:30:17.3001099+04:00",
"assignby": 1,
"futurecheck": true,
"shiftdatas": [
{
"empno": "sample string 1",
"shiftid": "sample string 2",
"date": "sample string 3"
},
{
"empno": "sample string 1",
"shiftid": "sample string 2",
"date": "sample string 3"
}
],
"action": "sample string 1"
}
application/xml, text/xml
Sample:
<shiftScheduleController.shiftmaindata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Controllers">
<action>sample string 1</action>
<assignby>1</assignby>
<fromdate>2026-09-14T12:30:17.3001099+04:00</fromdate>
<futurecheck>true</futurecheck>
<shiftdatas>
<shiftScheduleController.shiftdata>
<date>sample string 3</date>
<empno>sample string 1</empno>
<shiftid>sample string 2</shiftid>
</shiftScheduleController.shiftdata>
<shiftScheduleController.shiftdata>
<date>sample string 3</date>
<empno>sample string 1</empno>
<shiftid>sample string 2</shiftid>
</shiftScheduleController.shiftdata>
</shiftdatas>
<todate>2026-09-14T12:30:17.3001099+04:00</todate>
</shiftScheduleController.shiftmaindata>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |