POST api/UserManagement/InsertShiftGroupData
Request Information
URI Parameters
None.
Body Parameters
ShiftGroupView| Name | Description | Type | Additional information |
|---|---|---|---|
| ShiftGroup_Code | integer |
None. |
|
| Plant_Code | integer |
None. |
|
| Company_Code | integer |
None. |
|
| Name | string |
None. |
|
| ShortCode | string |
None. |
|
| ShortName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| IsLabour | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreateBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
|
| IsSync | boolean |
None. |
|
| Shift | Collection of integer |
None. |
|
| Shifts | Collection of integer |
None. |
|
| CompanyName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShiftGroup_Code": 1,
"Plant_Code": 1,
"Company_Code": 2,
"Name": "sample string 3",
"ShortCode": "sample string 4",
"ShortName": "sample string 5",
"StartDate": "2025-12-28T06:19:23.070185+00:00",
"EndDate": "2025-12-28T06:19:23.070185+00:00",
"IsLabour": 6,
"CreatedDate": "2025-12-28T06:19:23.070185+00:00",
"CreateBy": 1,
"ModifiedDate": "2025-12-28T06:19:23.070185+00:00",
"ModifiedBy": 1,
"IsActive": true,
"IsDelete": true,
"IsSync": true,
"Shift": [
1,
2
],
"Shifts": [
1,
1
],
"CompanyName": "sample string 10"
}
application/xml, text/xml
Sample:
<ShiftGroupView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
<CompanyName>sample string 10</CompanyName>
<Company_Code>2</Company_Code>
<CreateBy>1</CreateBy>
<CreatedDate>2025-12-28T06:19:23.070185+00:00</CreatedDate>
<EndDate>2025-12-28T06:19:23.070185+00:00</EndDate>
<IsActive>true</IsActive>
<IsDelete>true</IsDelete>
<IsLabour>6</IsLabour>
<IsSync>true</IsSync>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-28T06:19:23.070185+00:00</ModifiedDate>
<Name>sample string 3</Name>
<Plant_Code>1</Plant_Code>
<Shift xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Shift>
<ShiftGroup_Code>1</ShiftGroup_Code>
<Shifts xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</Shifts>
<ShortCode>sample string 4</ShortCode>
<ShortName>sample string 5</ShortName>
<StartDate>2025-12-28T06:19:23.070185+00:00</StartDate>
</ShiftGroupView>
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>