POST api/UserManagement/UpdateModule

Request Information

URI Parameters

None.

Body Parameters

ModuleView
NameDescriptionTypeAdditional information
Module_Code

integer

None.

Sys_Code

string

None.

Name

string

None.

ShortName

string

None.

ShortCode

string

None.

Company_Code

integer

None.

CreatedDate

date

None.

CreateBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

IsDelete

boolean

None.

IsSync

boolean

None.

Pagelist

string

None.

PageView

Collection of PageView

None.

Request Formats

application/json, text/json

Sample:
{
  "Module_Code": 1,
  "Sys_Code": "sample string 2",
  "Name": "sample string 3",
  "ShortName": "sample string 4",
  "ShortCode": "sample string 5",
  "Company_Code": 6,
  "CreatedDate": "2026-02-26T02:31:08.5301847+00:00",
  "CreateBy": 1,
  "ModifiedDate": "2026-02-26T02:31:08.5301847+00:00",
  "ModifiedBy": 1,
  "IsActive": true,
  "IsDelete": true,
  "IsSync": true,
  "Pagelist": "sample string 10",
  "PageView": [
    {
      "Page_Code": 1,
      "Sys_Code": "sample string 2",
      "Name": "sample string 3",
      "ShortCode": "sample string 4",
      "ShortName": "sample string 5",
      "Module_Code": 6,
      "CreatedDate": "2026-02-26T02:31:08.5301847+00:00",
      "CreateBy": 1,
      "ModifiedDate": "2026-02-26T02:31:08.5301847+00:00",
      "ModifiedBy": 1,
      "IsActive": true,
      "IsDelete": true,
      "IsSync": true,
      "selectedSabhyaIds": "sample string 10"
    },
    {
      "Page_Code": 1,
      "Sys_Code": "sample string 2",
      "Name": "sample string 3",
      "ShortCode": "sample string 4",
      "ShortName": "sample string 5",
      "Module_Code": 6,
      "CreatedDate": "2026-02-26T02:31:08.5301847+00:00",
      "CreateBy": 1,
      "ModifiedDate": "2026-02-26T02:31:08.5301847+00:00",
      "ModifiedBy": 1,
      "IsActive": true,
      "IsDelete": true,
      "IsSync": true,
      "selectedSabhyaIds": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<ModuleView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <Company_Code>6</Company_Code>
  <CreateBy>1</CreateBy>
  <CreatedDate>2026-02-26T02:31:08.5301847+00:00</CreatedDate>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <IsSync>true</IsSync>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2026-02-26T02:31:08.5301847+00:00</ModifiedDate>
  <Module_Code>1</Module_Code>
  <Name>sample string 3</Name>
  <PageView>
    <PageView>
      <CreateBy>1</CreateBy>
      <CreatedDate>2026-02-26T02:31:08.5301847+00:00</CreatedDate>
      <IsActive>true</IsActive>
      <IsDelete>true</IsDelete>
      <IsSync>true</IsSync>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2026-02-26T02:31:08.5301847+00:00</ModifiedDate>
      <Module_Code>6</Module_Code>
      <Name>sample string 3</Name>
      <Page_Code>1</Page_Code>
      <ShortCode>sample string 4</ShortCode>
      <ShortName>sample string 5</ShortName>
      <Sys_Code>sample string 2</Sys_Code>
      <selectedSabhyaIds>sample string 10</selectedSabhyaIds>
    </PageView>
    <PageView>
      <CreateBy>1</CreateBy>
      <CreatedDate>2026-02-26T02:31:08.5301847+00:00</CreatedDate>
      <IsActive>true</IsActive>
      <IsDelete>true</IsDelete>
      <IsSync>true</IsSync>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2026-02-26T02:31:08.5301847+00:00</ModifiedDate>
      <Module_Code>6</Module_Code>
      <Name>sample string 3</Name>
      <Page_Code>1</Page_Code>
      <ShortCode>sample string 4</ShortCode>
      <ShortName>sample string 5</ShortName>
      <Sys_Code>sample string 2</Sys_Code>
      <selectedSabhyaIds>sample string 10</selectedSabhyaIds>
    </PageView>
  </PageView>
  <Pagelist>sample string 10</Pagelist>
  <ShortCode>sample string 5</ShortCode>
  <ShortName>sample string 4</ShortName>
  <Sys_Code>sample string 2</Sys_Code>
</ModuleView>

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>