GET api/UserManagement/GetShiftGroupDataForEdit?shiftgroupCode={shiftgroupCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shiftgroupCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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. |
Response 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:18:44.9189033+00:00",
"EndDate": "2025-12-28T06:18:44.9189033+00:00",
"IsLabour": 6,
"CreatedDate": "2025-12-28T06:18:44.9189033+00:00",
"CreateBy": 1,
"ModifiedDate": "2025-12-28T06:18:44.9189033+00:00",
"ModifiedBy": 1,
"IsActive": true,
"IsDelete": true,
"IsSync": true,
"Shift": [
1,
2
],
"Shifts": [
1,
1
],
"CompanyName": "sample string 10"
},
{
"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:18:44.9189033+00:00",
"EndDate": "2025-12-28T06:18:44.9189033+00:00",
"IsLabour": 6,
"CreatedDate": "2025-12-28T06:18:44.9189033+00:00",
"CreateBy": 1,
"ModifiedDate": "2025-12-28T06:18:44.9189033+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:
<ArrayOfShiftGroupView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
<ShiftGroupView>
<CompanyName>sample string 10</CompanyName>
<Company_Code>2</Company_Code>
<CreateBy>1</CreateBy>
<CreatedDate>2025-12-28T06:18:44.9189033+00:00</CreatedDate>
<EndDate>2025-12-28T06:18:44.9189033+00:00</EndDate>
<IsActive>true</IsActive>
<IsDelete>true</IsDelete>
<IsLabour>6</IsLabour>
<IsSync>true</IsSync>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-28T06:18:44.9189033+00:00</ModifiedDate>
<Name>sample string 3</Name>
<Plant_Code>1</Plant_Code>
<Shift xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</Shift>
<ShiftGroup_Code>1</ShiftGroup_Code>
<Shifts xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:long>1</d3p1:long>
<d3p1:long>1</d3p1:long>
</Shifts>
<ShortCode>sample string 4</ShortCode>
<ShortName>sample string 5</ShortName>
<StartDate>2025-12-28T06:18:44.9189033+00:00</StartDate>
</ShiftGroupView>
<ShiftGroupView>
<CompanyName>sample string 10</CompanyName>
<Company_Code>2</Company_Code>
<CreateBy>1</CreateBy>
<CreatedDate>2025-12-28T06:18:44.9189033+00:00</CreatedDate>
<EndDate>2025-12-28T06:18:44.9189033+00:00</EndDate>
<IsActive>true</IsActive>
<IsDelete>true</IsDelete>
<IsLabour>6</IsLabour>
<IsSync>true</IsSync>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-28T06:18:44.9189033+00:00</ModifiedDate>
<Name>sample string 3</Name>
<Plant_Code>1</Plant_Code>
<Shift xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</Shift>
<ShiftGroup_Code>1</ShiftGroup_Code>
<Shifts xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:long>1</d3p1:long>
<d3p1:long>1</d3p1:long>
</Shifts>
<ShortCode>sample string 4</ShortCode>
<ShortName>sample string 5</ShortName>
<StartDate>2025-12-28T06:18:44.9189033+00:00</StartDate>
</ShiftGroupView>
</ArrayOfShiftGroupView>