POST api/SaveUserMenuRights

Request Information

URI Parameters

None.

Body Parameters

Collection of clsUserMenuRights
NameDescriptionTypeAdditional information
intId

integer

None.

intMenuId

integer

None.

intUserId

integer

None.

intSequanceId

integer

None.

strMenuName

string

None.

ErrorCode

integer

None.

AutoID

integer

None.

ErrorMsg

string

None.

Type

string

None.

bisalive

boolean

None.

strAction

string

None.

intCreatedBy

integer

None.

intcompany_id

integer

None.

dteCreatedDate

date

None.

intModifyBy

integer

None.

dteModifyDate

date

None.

PageNo

integer

None.

PageSize

integer

None.

TotalRecord

integer

None.

strSearchText

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "intId": 1,
    "intMenuId": 2,
    "intUserId": 3,
    "intSequanceId": 4,
    "strMenuName": "sample string 5",
    "ErrorCode": 6,
    "AutoID": 7,
    "ErrorMsg": "sample string 8",
    "Type": "sample string 9",
    "bisalive": true,
    "strAction": "sample string 11",
    "intCreatedBy": 1,
    "intcompany_id": 1,
    "dteCreatedDate": "2025-12-11T11:00:49.519271+00:00",
    "intModifyBy": 1,
    "dteModifyDate": "2025-12-11T11:00:49.519271+00:00",
    "PageNo": 12,
    "PageSize": 13,
    "TotalRecord": 14,
    "strSearchText": "sample string 15"
  },
  {
    "intId": 1,
    "intMenuId": 2,
    "intUserId": 3,
    "intSequanceId": 4,
    "strMenuName": "sample string 5",
    "ErrorCode": 6,
    "AutoID": 7,
    "ErrorMsg": "sample string 8",
    "Type": "sample string 9",
    "bisalive": true,
    "strAction": "sample string 11",
    "intCreatedBy": 1,
    "intcompany_id": 1,
    "dteCreatedDate": "2025-12-11T11:00:49.519271+00:00",
    "intModifyBy": 1,
    "dteModifyDate": "2025-12-11T11:00:49.519271+00:00",
    "PageNo": 12,
    "PageSize": 13,
    "TotalRecord": 14,
    "strSearchText": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsUserMenuRights xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity.Model">
  <clsUserMenuRights>
    <AutoID xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">7</AutoID>
    <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">6</ErrorCode>
    <ErrorMsg xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 8</ErrorMsg>
    <PageNo xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">12</PageNo>
    <PageSize xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">13</PageSize>
    <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">14</TotalRecord>
    <Type xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 9</Type>
    <bisalive xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">true</bisalive>
    <dteCreatedDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:00:49.519271+00:00</dteCreatedDate>
    <dteModifyDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:00:49.519271+00:00</dteModifyDate>
    <intCreatedBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intCreatedBy>
    <intModifyBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intModifyBy>
    <intcompany_id xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intcompany_id>
    <strAction xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 11</strAction>
    <strSearchText xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 15</strSearchText>
    <intId>1</intId>
    <intMenuId>2</intMenuId>
    <intSequanceId>4</intSequanceId>
    <intUserId>3</intUserId>
    <strMenuName>sample string 5</strMenuName>
  </clsUserMenuRights>
  <clsUserMenuRights>
    <AutoID xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">7</AutoID>
    <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">6</ErrorCode>
    <ErrorMsg xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 8</ErrorMsg>
    <PageNo xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">12</PageNo>
    <PageSize xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">13</PageSize>
    <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">14</TotalRecord>
    <Type xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 9</Type>
    <bisalive xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">true</bisalive>
    <dteCreatedDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:00:49.519271+00:00</dteCreatedDate>
    <dteModifyDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:00:49.519271+00:00</dteModifyDate>
    <intCreatedBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intCreatedBy>
    <intModifyBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intModifyBy>
    <intcompany_id xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intcompany_id>
    <strAction xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 11</strAction>
    <strSearchText xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 15</strSearchText>
    <intId>1</intId>
    <intMenuId>2</intMenuId>
    <intSequanceId>4</intSequanceId>
    <intUserId>3</intUserId>
    <strMenuName>sample string 5</strMenuName>
  </clsUserMenuRights>
</ArrayOfclsUserMenuRights>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.