POST api/UserManagement/UpdateSTG

Request Information

URI Parameters

None.

Body Parameters

ShiftTypeGroupView
NameDescriptionTypeAdditional information
ShiftTypeGroup_Code

integer

None.

Shift_Code

integer

None.

Plant_Code

integer

None.

Company_Code

integer

None.

CompanyName

string

None.

IsLabour

integer

None.

Name

string

None.

ShortCode

string

None.

ShortName

string

None.

CreatedDate

date

None.

CreateBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

IsDelete

boolean

None.

IsSync

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ShiftTypeGroup_Code": 1,
  "Shift_Code": 1,
  "Plant_Code": 1,
  "Company_Code": 2,
  "CompanyName": "sample string 3",
  "IsLabour": 4,
  "Name": "sample string 5",
  "ShortCode": "sample string 6",
  "ShortName": "sample string 7",
  "CreatedDate": "2026-06-19T07:47:29.4213342+00:00",
  "CreateBy": 1,
  "ModifiedDate": "2026-06-19T07:47:29.4213342+00:00",
  "ModifiedBy": 1,
  "IsActive": true,
  "IsDelete": true,
  "IsSync": true
}

application/xml, text/xml

Sample:
<ShiftTypeGroupView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <CompanyName>sample string 3</CompanyName>
  <Company_Code>2</Company_Code>
  <CreateBy>1</CreateBy>
  <CreatedDate>2026-06-19T07:47:29.4213342+00:00</CreatedDate>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <IsLabour>4</IsLabour>
  <IsSync>true</IsSync>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2026-06-19T07:47:29.4213342+00:00</ModifiedDate>
  <Name>sample string 5</Name>
  <Plant_Code>1</Plant_Code>
  <ShiftTypeGroup_Code>1</ShiftTypeGroup_Code>
  <Shift_Code>1</Shift_Code>
  <ShortCode>sample string 6</ShortCode>
  <ShortName>sample string 7</ShortName>
</ShiftTypeGroupView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response 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>