POST api/UserManagement/InsertSectionData

Request Information

URI Parameters

None.

Body Parameters

SectionView
NameDescriptionTypeAdditional information
Section_Code

integer

None.

Sys_Code

string

None.

Name

string

None.

ShortName

string

None.

ShortCode

string

None.

Department_Code

integer

None.

Plants

Collection of integer

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:
{
  "Section_Code": 1,
  "Sys_Code": "sample string 2",
  "Name": "sample string 3",
  "ShortName": "sample string 4",
  "ShortCode": "sample string 5",
  "Department_Code": 6,
  "Plants": [
    1,
    1
  ],
  "CreatedDate": "2025-12-28T06:18:54.7508754+00:00",
  "CreateBy": 1,
  "ModifiedDate": "2025-12-28T06:18:54.7508754+00:00",
  "ModifiedBy": 1,
  "IsActive": true,
  "IsDelete": true,
  "IsSync": true
}

application/xml, text/xml

Sample:
<SectionView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <CreateBy>1</CreateBy>
  <CreatedDate>2025-12-28T06:18:54.7508754+00:00</CreatedDate>
  <Department_Code>6</Department_Code>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <IsSync>true</IsSync>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2025-12-28T06:18:54.7508754+00:00</ModifiedDate>
  <Name>sample string 3</Name>
  <Plants xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>1</d2p1:long>
  </Plants>
  <Section_Code>1</Section_Code>
  <ShortCode>sample string 5</ShortCode>
  <ShortName>sample string 4</ShortName>
  <Sys_Code>sample string 2</Sys_Code>
</SectionView>

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>