POST api/UserManagement/InsertShiftData
Request Information
URI Parameters
None.
Body Parameters
ShiftView| Name | Description | Type | Additional information |
|---|---|---|---|
| Shift_Code | integer |
None. |
|
| Sys_Code | string |
None. |
|
| ShiftTypeGroup_Code | integer |
None. |
|
| Plant_Code | integer |
None. |
|
| PlantName | string |
None. |
|
| Company_Code | integer |
None. |
|
| IsLabour | integer |
None. |
|
| Name | string |
None. |
|
| ShortName | string |
None. |
|
| ShortCode | string |
None. |
|
| ShiftColorCode | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ShiftInTime | string |
None. |
|
| ShiftOutTime | string |
None. |
|
| HalfDayHours | decimal number |
None. |
|
| BreakDeviationAllowed | integer |
None. |
|
| LunchIn | time interval |
None. |
|
| LunchOut | time interval |
None. |
|
| TeaInTime | time interval |
None. |
|
| TeaOutTime | time interval |
None. |
|
| LunchDuration | decimal number |
None. |
|
| TeaDuration | decimal number |
None. |
|
| Details | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreateBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
|
| IsSync | boolean |
None. |
|
| CompanyName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Shift_Code": 1,
"Sys_Code": "sample string 2",
"ShiftTypeGroup_Code": 1,
"Plant_Code": 1,
"PlantName": "sample string 3",
"Company_Code": 4,
"IsLabour": 5,
"Name": "sample string 6",
"ShortName": "sample string 7",
"ShortCode": "sample string 8",
"ShiftColorCode": "sample string 9",
"StartDate": "2025-12-28T06:18:52.8069642+00:00",
"EndDate": "2025-12-28T06:18:52.8069642+00:00",
"ShiftInTime": "sample string 10",
"ShiftOutTime": "sample string 11",
"HalfDayHours": 1.0,
"BreakDeviationAllowed": 1,
"LunchIn": "00:00:00.1234567",
"LunchOut": "00:00:00.1234567",
"TeaInTime": "00:00:00.1234567",
"TeaOutTime": "00:00:00.1234567",
"LunchDuration": 1.0,
"TeaDuration": 1.0,
"Details": "sample string 12",
"CreatedDate": "2025-12-28T06:18:52.8069642+00:00",
"CreateBy": 1,
"ModifiedDate": "2025-12-28T06:18:52.8069642+00:00",
"ModifiedBy": 1,
"IsActive": true,
"IsDelete": true,
"IsSync": true,
"CompanyName": "sample string 16"
}
application/xml, text/xml
Sample:
<ShiftView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS"> <BreakDeviationAllowed>1</BreakDeviationAllowed> <CompanyName>sample string 16</CompanyName> <Company_Code>4</Company_Code> <CreateBy>1</CreateBy> <CreatedDate>2025-12-28T06:18:52.8069642+00:00</CreatedDate> <Details>sample string 12</Details> <EndDate>2025-12-28T06:18:52.8069642+00:00</EndDate> <HalfDayHours>1</HalfDayHours> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <IsLabour>5</IsLabour> <IsSync>true</IsSync> <LunchDuration>1</LunchDuration> <LunchIn>PT0.1234567S</LunchIn> <LunchOut>PT0.1234567S</LunchOut> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-12-28T06:18:52.8069642+00:00</ModifiedDate> <Name>sample string 6</Name> <PlantName>sample string 3</PlantName> <Plant_Code>1</Plant_Code> <ShiftColorCode>sample string 9</ShiftColorCode> <ShiftInTime>sample string 10</ShiftInTime> <ShiftOutTime>sample string 11</ShiftOutTime> <ShiftTypeGroup_Code>1</ShiftTypeGroup_Code> <Shift_Code>1</Shift_Code> <ShortCode>sample string 8</ShortCode> <ShortName>sample string 7</ShortName> <StartDate>2025-12-28T06:18:52.8069642+00:00</StartDate> <Sys_Code>sample string 2</Sys_Code> <TeaDuration>1</TeaDuration> <TeaInTime>PT0.1234567S</TeaInTime> <TeaOutTime>PT0.1234567S</TeaOutTime> </ShiftView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>