POST api/genSection/Save

Request Information

URI Parameters

None.

Body Parameters

genSection
NameDescriptionTypeAdditional information
SectionId

integer

None.

DepartmentId

integer

None.

ShortName

string

None.

SectionName

string

None.

SectionCode

string

None.

SectionSeqNo

integer

None.

CreatedById

integer

None.

CreatedOn

date

None.

AlteredById

integer

None.

AlteredOn

date

None.

ActionTypeId

integer

None.

UserLogId

integer

None.

OrganizationId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SectionId": 1,
  "DepartmentId": 2,
  "ShortName": "sample string 3",
  "SectionName": "sample string 4",
  "SectionCode": "sample string 5",
  "SectionSeqNo": 6,
  "CreatedById": 7,
  "CreatedOn": "2025-10-29T13:11:06.6457785+05:00",
  "AlteredById": 8,
  "AlteredOn": "2025-10-29T13:11:06.6457785+05:00",
  "ActionTypeId": 9,
  "UserLogId": 10,
  "OrganizationId": 11,
  "CompanyId": 12
}

application/xml, text/xml

Sample:
<genSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.ProfileManagement">
  <ActionTypeId>9</ActionTypeId>
  <AlteredById>8</AlteredById>
  <AlteredOn>2025-10-29T13:11:06.6457785+05:00</AlteredOn>
  <CompanyId>12</CompanyId>
  <CreatedById>7</CreatedById>
  <CreatedOn>2025-10-29T13:11:06.6457785+05:00</CreatedOn>
  <DepartmentId>2</DepartmentId>
  <OrganizationId>11</OrganizationId>
  <SectionCode>sample string 5</SectionCode>
  <SectionId>1</SectionId>
  <SectionName>sample string 4</SectionName>
  <SectionSeqNo>6</SectionSeqNo>
  <ShortName>sample string 3</ShortName>
  <UserLogId>10</UserLogId>
</genSection>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'genSection'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.